Skip to content

Horizontal scrolling causes both horizontal and vertical scrollbars to scroll #430

Open
@processing-bot

Description

@processing-bot

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

  1. Open the editor in Python Mode. (This bug does not occur in Java Mode, which does not let you horizontally scroll at all)
  2. Paste in a vast amount of text that "spills" off of the screen horizontally and vertically (this should be enough text).
  3. Hold down the shift key and then scroll normally.
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpdeProcessing Development Environment

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions