Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sketchbook view scroll position reverts if selected item off screen #1766

Closed
3 tasks done
Jeff-Haas opened this issue Dec 12, 2022 · 0 comments · Fixed by #1922
Closed
3 tasks done

Sketchbook view scroll position reverts if selected item off screen #1766

Jeff-Haas opened this issue Dec 12, 2022 · 0 comments · Fixed by #1922
Assignees
Labels
conclusion: resolved Issue was resolved priority: medium Resolution is a medium priority topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@Jeff-Haas
Copy link

Jeff-Haas commented Dec 12, 2022

Describe the problem

If an item is selected in the "Sketchbook view and the view is scrolled until that item goes off screen, the scroll jumps back to bring the selected item into visibility if the mouse pointer is over the view.

To reproduce

  1. If you don't already, create enough sketches in the sketchbook to make the "Sketchbook" view scrollable.
    You can reduce the necessary number of sketches by resizing the IDE window to the minimum vertical size.
  2. Click the folder icon on the Activity Bar to open the Sketchbook view.
  3. Click on any item in the view that can be scrolled off screen.
    image
  4. Drag the scroll bar until the selected item is off screen.
  5. Move the mouse pointer over the Sketchbook view.
    🐛 The view jumps pack to the scroll position that makes the selected item visible.
  6. Use the mouse wheel to scroll the Sketchbook view until the selected item is off screen.
    🐛 The view jumps pack to the scroll position that makes the selected item visible.

Expected behavior

You are able to scroll farther down the list and then click what you are interested in. You should be able to scroll what you selected up out of sight.

Arduino IDE version

76f9f63

Operating system

Windows

Operating system version

10

Additional context

This behavior is not obvious and you can keep scrolling for a few moments until you realize you are getting nowhere.


You can scroll using the arrow keys, but this moves the highlight down the list of files, which is different behavior.


The Boards Manager and Library Manager views do not have this problem (possibly because their contents are not selectable in the same way as the Sketchbook view.


Additional reports:

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@Jeff-Haas Jeff-Haas added the type: imperfection Perceived defect in any part of project label Dec 12, 2022
@per1234 per1234 added the topic: code Related to content of the project itself label Dec 12, 2022
@per1234 per1234 changed the title Sketchbook panel does not scroll the same as Boards Manager or Library Manager Sketchbook view scroll position reverts if selected item off screen Dec 23, 2022
@davegarthsimpson davegarthsimpson added the priority: medium Resolution is a medium priority label Jan 18, 2023
@kittaakos kittaakos self-assigned this Feb 27, 2023
kittaakos pushed a commit that referenced this issue Feb 27, 2023
kittaakos pushed a commit that referenced this issue Mar 2, 2023
@per1234 per1234 added the conclusion: resolved Issue was resolved label Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved priority: medium Resolution is a medium priority topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants