processing / processing/processing4
Horizontal scrolling causes both horizontal and vertical scrollbars to scroll
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 494
- Fork
- 183
- Merge trung bình
- 4 giờ 39 phút
- Pull request đã merge (30 ngày)
- 3
Mô tả
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện sự cố trong Processing 4.0b5 trên Windows 10 bằng Python Mode, với đủ văn bản để tạo cả thanh cuộn ngang và dọc. So sánh thao tác cuộn bằng phím Shift trong Python Mode với Java Mode và xác minh rằng cuộn ngang chỉ di chuyển thanh cuộn ngang, trong khi cuộn dọc không bị ảnh hưởng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java, python
- Lĩnh vực
- desktop
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 35/100