Skip to content

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

Closed

Description

@scottyanke

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.

Activity

  1. sudar commented on Oct 2, 2013

    @sudar

    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.

  2. added a commit that references this issue on Oct 17, 2013
    49a0512
  3. TerryKing commented on Dec 1, 2013

    @TerryKing

    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]

  4. Lauszus commented on Dec 1, 2013

    @Lauszus
    Contributor

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

  5. TerryKing commented on Dec 4, 2013

    @TerryKing

    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)

  6. ElectricRCAircraftGuy commented on Apr 29, 2014

    @ElectricRCAircraftGuy
    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/

  7. added
    Type: Duplicate
    on Jul 1, 2017
  8. DavidAntliff commented on Apr 8, 2019

    @DavidAntliff

    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.

  9. facchinm commented on Apr 9, 2019

    @facchinm
    Member

    @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.

  10. DavidAntliff commented on Apr 11, 2019

    @DavidAntliff

    @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.

  11. Dreded commented on Jun 1, 2019

    @Dreded

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: IDEType: Duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions