processing / processing/processing4

Horizontal scrolling causes both horizontal and vertical scrollbars to scroll

Ouverte
#430 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

bug pde
Langage dominant
Java
Étoiles
494
Forks
183
Merge moyen
4 h 39 min
PR mergées (30 j)
3

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par reproduire le problème dans Processing 4.0b5 sous Windows 10 en utilisant Python Mode, avec suffisamment de texte pour créer des barres de défilement horizontale et verticale. Comparez le défilement avec la touche Maj dans Python Mode avec Java Mode et vérifiez que le défilement horizontal déplace uniquement la barre de défilement horizontale, tandis que le défilement vertical reste inchangé.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java, python
Domaine
desktop
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.