Can auto scrolling be implemented?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
I just downloaded Qt and plan on playing around with the code, so I may be able to solve this myself. However, it is such a common feature that I am wondering why it isn't currently implemented? By auto scrolling, I am talking about any time where the mouse is dragged outside of the window, the map should scroll. I do know that I can use the arrow keys, but this seems like a hack.
Is the lack of this feature due to a limitation of Qt or is it just an oversight? It has been a couple of years since I even tried messing with Qt and I really didn't like it when compared to straight C/C++, so my experience with it is greatly limited. I would hate to waste my time with something that cannot be done.
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 from the map editor's mouse-drag behavior and review how Qt reports dragging beyond the window. The requested behavior is automatic map scrolling while the mouse remains outside during a drag; it is done when this works without relying on the arrow keys.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100