Skip to content

Arduino IDE issues with scrolling through examples, libraries and boards #1548

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

Closed
scottyanke opened this issue Aug 22, 2013 · 9 comments
Closed
Labels
Component: IDE The Arduino IDE Type: Duplicate Another item already exists for this topic

Comments

@scottyanke
Copy link

In the current IDE version (1.0.3 on up) there are issues with scrolling through the Sketch/Import Library and Tools/Board options. If there are more options than can vertically fit on the screen, the latest versions of the IDE do not allow for scrolling to view the remaining options. This started in 1.0.3 with the Import Library, and continued in 1.5.2. The File/Examples scrolling works in both of those versions, but not in the latest on GIT.

The issue is related to the removal of the MenuScroller class. By comparing the differences in the IDE versions I was able to identify that this class was being removed in the latest versions of the IDE. Using a copy from an older version, I was able to add that class back into a local copy of the IDE, and update the Editor.java file to make use of it. When I did that, the scrolling functions returned to the IDE.

I am running Arduino on a Linux Fedora 19 box with Java 1.7. This problem is reproducible every time, when the number of libraries and/or boards is greater than what will appear on a vertical menu. The problem can be avoided by altering the source code from GIT to add the MenuScroller source file back, and alter Editor.java to include the line MenuScroller.setScrollerFor(importMenu); in the appropriate locations.

The issue can also be created by removing the MenuScroller references from the source of the older code I have for the IDE.

@sudar
Copy link

sudar commented Oct 2, 2013

This is fixed in v1.5.x and may not be back ported to v1.0.x. See #1177 and #1440

Duplicate of #1177. I guess we can close this issue.

ffissore pushed a commit that referenced this issue Oct 17, 2013
@TerryKing
Copy link

I am running 1.0.5 downloaded from the regular page and I STILL can not scroll libraries or Sketchbook.

Win7 64bit

What am I missing? IsThere an update?? THANKS!
Regards, Terry King
...In The Woods in Vermont, USA
[email protected]

@Lauszus
Copy link
Contributor

Lauszus commented Dec 1, 2013

@TerryKing it is available in Arduino 1.5.x. I don't believe there is plans to back port it to 1.0.x.

@TerryKing
Copy link

Hello,

OK, went to 1.5.5 and that problem is solved.

Here's an interesting one: I am very involved with Arduino and I didn't
realize that 1.5 is not only for DUE etc.. but also the path for longterm
Arduino ATMEL products.. So I had not switched!

Regards, Terry King
...In The Woods in Vermont, USA
[email protected]

@TerryKing it is available in Arduino 1.5.x. I don't believe there is
plans to back port it to 1.0.x.


Reply to this email directly or view it on GitHub:
#1548 (comment)

@ElectricRCAircraftGuy
Copy link
Contributor

Terry King,

I'm glad I'm not the only one who didn't realize Arduino was moving on with a new IDE without me! :) I appreciate your comments above. I have been ignoring the annoyance of libraries & menus not scrolling for many months, and finally today decided to look more into it. After a couple hrs searching around I finally realized I too need to move to the 1.5.x Beta version of Arduino to get what I'd like.

On a side note: I really appreciate your RF24 tutorials & examples on your website! (http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo) They are super helpful!

Sincerely,
Gabriel Staples
http://electricrcaircraftguy.blogspot.com/

@per1234 per1234 added the Type: Duplicate Another item already exists for this topic label Jul 1, 2017
@DavidAntliff
Copy link

DavidAntliff commented Apr 8, 2019

Well, it's 2019 and I've just downloaded Arduino 1.8.9. I'm using it with Ubuntu 16.04 and the i3 window manager. In my case, the board list is too long and there's no way I can see to scroll down to the boards I can't see, and therefore I can't select them. Is there a workaround?

EDIT: turns out the up/down arrows can be used to move the selected board in the list, but it behaves very erratically. But if I repeatedly hit up/down over and over, the bottom of the list is gradually exposed and after about 10 seconds of this I'm able to select the boards near the bottom of the list. Clearly there's still a problem here, at least on my system.

@facchinm
Copy link
Member

facchinm commented Apr 9, 2019

@DavidAntliff scrolling on mousewheel/arrow keys was added to all the dropdowns long time ago, and it behaves well on all systems I tested it in (not tiled window managers though).
Maybe the dropdown component is not recognizing the "window" size and extends indefinitely, not showing the graphical scroll arrows.

@DavidAntliff
Copy link

@facchinm ah, one issue I had was that I didn't have a mouse or scrollwheel (using a track pad). After connecting a mouse the menu is much easier to navigate.

With up/down cursor keys though, it behaves very strangely. I have to move the highlight to the bottom row, then one press down, then up, then down again, to get the entire menu to scroll and make the next item available. Repeating this multiple times eventually moves through the entire list.

Actually I've just worked out what I need to do - I need to leave the bottom item selected and then wait - the menu then automatically scrolls without needing any key-presses. This wasn't obvious to me before because the bottom of the menu had disappeared off the bottom of my screen. With this information I am able to access the entire menu from a touchpad, provided I guess correctly where the bottom of the list is when it's off the display.

@Dreded
Copy link

Dreded commented Jun 1, 2019

as of 1.8.9 in manjaro KDE Plasma I have the same issue my examples,libraries and boards are all off screen and I can select them with the arrows if I can guess which is the correct one.

its not an issue with the flatpak version of 1.8.5 the main difference being the menu doesnt go past the bottom of the arduino IDE(so if minimized its still within the IDE area at the bottom but goes to the top of screen) where as 1.8.9 goes to the bottom and top of screen with the slide arrow thing off screen.

ok, just also tested the tar.gz(zip) of 1.8.8 and 1.8.5 same issue.. so seems its a KDE issue as GNOME is whats used for flatpaks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

10 participants