processing / processing/processing4
Horizontal scrolling causes both horizontal and vertical scrollbars to scroll
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 494
- Forks
- 183
- Avg merge
- 4h 39m
- Merged PRs (30d)
- 3
Description
Created by: Tiger-The-Cat
Description
Horizontal scrolling (shift+scroll) in Python Mode causes both the horizontal scrollbar and the vertical scroll bar to scroll.
Expected Behavior
Upon horizontal scrolling (holding down shift and then scrolling) in any mode, the text should scroll horizontally.
Current Behavior
Upon horizontal scrolling (holding down shift and then scrolling) in Python Mode, both the horizontal and vertical scrollbars scroll.
Steps to Reproduce
- Open the editor in Python Mode. (This bug does not occur in Java Mode, which does not let you horizontally scroll at all)
- Paste in a vast amount of text that "spills" off of the screen horizontally and vertically (this should be enough text).
- Hold down the shift key and then scroll normally.
- Observe how both horizontal and vertical scrollbars scroll, when only the horizontal one should.
Your Environment
- Processing version: 4.0b5
- Operating System and OS version: Windows 10
- Other information: Make sure you are using Python Mode and are pasting enough text to make both horizontal and vertically scrollbars appear
Possible Causes / Solutions
Simple IF-Check: check to make sure shift key is not held down before scrolling vertically.
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 issue in Processing 4.0b5 on Windows 10 using Python Mode, with enough text to create both horizontal and vertical scrollbars. Compare shift-scrolling in Python Mode with Java Mode and verify that horizontal scrolling moves only the horizontal scrollbar while vertical scrolling remains unaffected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100