Clicking middle mouse on background Tiled window causes drag to become 'stuck'
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
OS: Mac OS X Yosemite 10.10.5
Tiled version 0.13.0
**Expected Result**
When I middle-click-drag in the background Tiled window, the operation should register as a drag operation, and scroll around the map area according to my mouse position, then release the drag when the mouse button is released.
**Actual Result**
When Tiled is in the background, and I middle-click-drag into the main tile-display area to drag it around, Tiled does not register the middle-mouse click as a drag operation but rather a "jump to clicked location" action. At this point, the application stays in the background.
Further, if I left-click anywhere in the Tiled window at this point, Tiled becomes the active window, and the cursor becomes a permanent 'drag' icon that cannot be de-selected. The only way to get around this is to close and reopen the application.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Mac OS X Yosemite with Tiled 0.13.0 by middle-click-dragging into the main tile-display area while the window is in the background. Start by tracing the middle-mouse handling for that area; done means the background drag scrolls the map, releases normally, and does not leave a permanent drag cursor.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100