processing / processing/processing4

Horizontal scrolling causes both horizontal and vertical scrollbars to scroll

オープン
#430 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug pde
主要言語
Java
スター
494
フォーク
183
平均マージ
4時間 39分
マージ済み PR(30日)
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

  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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、Windows 10 上で Python Mode を使用して Processing 4.0b5 の問題を再現します。その際、水平スクロールバーと垂直スクロールバーの両方が表示されるのに十分な量のテキストを用意します。Python Mode での Shift キーを押しながらのスクロールを Java Mode と比較し、水平スクロールでは水平スクロールバーだけが動き、垂直スクロールには影響がないことを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, python
領域
desktop
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。