Pan with spacebar blocks main window
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
When the user holds the spacebar to perform a map scrolling/pan, and, if the user move the focus to another program and returns to tiled, the mouse is hijacked by the pan function and user cannot use any other button or menu. The only alternative is to force the process to stop via Task Manager. All work not saved is lost.
To reproduce:
- Open a map in Tiled
- Open another program that uses the same key/mouse combination, like Photoshop.
- It's best to try using 2 video monitores, each aplication on a full screen.
- Press SPACEBAR to pan and move the map around
- Quickly change to the other application
- Release mouse and SPACEBAR. Then press it again to use the same function on the other application.
-Return to Tiled. The mouse shall now be hijacked with the pan function
Using Tiled 0.9
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
Start by reproducing the spacebar pan behavior in Tiled 0.9 while switching to another application, then trace how pan input and focus changes are handled. Done means returning to Tiled after releasing the key and mouse no longer leaves the pointer, buttons, or menus hijacked.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100