processing / processing/processing4
Horizontal scrolling causes both horizontal and vertical scrollbars to scroll
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 494
- 派生
- 183
- 平均合并
- 4 小时 39 分钟
- 30 天内合并 PR
- 3
描述
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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在 Windows 10 上使用 Python Mode 于 Processing 4.0b5 中重现该问题,并输入足够的文本以创建水平和垂直滚动条。将 Python Mode 中按住 Shift 键滚动的行为与 Java Mode 进行比较,并验证水平滚动只会移动水平滚动条,而垂直滚动不受影响。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, python
- 领域
- desktop
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 35/100