Skip to content

[Bug]: Draw tool resetting while drawing a rectangle #1112

Open

Description

@grallewellyn

Checked for duplicates

Yes - I've already checked

Describe the bug

When I was using the draw tool to draw a rectangle (did not see the problem with any other shapes), once I started drawing the rectangle, the cursor would switch between a plus and a hand. When the cursor was a plus, and I tried to end the drawing, it would just start a new rectangle. When the cursor is a hand and you try to end the drawing, the drawing actually ends have you have created your bounding box
Note that most of the time, the cursor is a hand and this works. Some of the time, especially when you go slow, it stops on a plus and you just restart the rectangle drawing with your second click

What did you expect?

I expected the second click when drawing a rectangle to always end the rectangle

Reproducible steps

1. Log into the admin page and add the draw tool from the tools page
2. Go back to main MMGIS and launch the draw tool.
3. Create a new file to be able to use the draw tool
4. Click on a rectangle to draw
5. Start the first click of drawing the rectangle 
6. For the second click, drag the cursor really slow until the hand changes to a plus sign then click. You would think this should finish the rectangle, but instead it starts a new rectangle

Environment

- Version of this software 5.2.24
- Operating System: M1 Mac 
- Chrome browser (problem also happens in FireFox but less frequently)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions