processing / processing/processing4
Horizontal scrolling causes both horizontal and vertical scrollbars to scroll
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Java
- Sterne
- 494
- Forks
- 183
- Ø Merge
- 4 Std. 39 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Problem in Processing 4.0b5 unter Windows 10 im Python Mode zu reproduzieren, und verwende genügend Text, um sowohl horizontale als auch vertikale Bildlaufleisten zu erzeugen. Vergleiche das Scrollen mit gedrückter Umschalttaste im Python Mode mit dem Java Mode und überprüfe, dass das horizontale Scrollen nur die horizontale Bildlaufleiste bewegt, während das vertikale Scrollen unbeeinflusst bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, python
- Bereich
- desktop
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 35/100