Skip to content

Limit to visible com Ports #6397

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
Argus- opened this issue Jun 19, 2017 · 6 comments
Closed

Limit to visible com Ports #6397

Argus- opened this issue Jun 19, 2017 · 6 comments
Labels
libListSerial Java native library used in the Arduino IDE's source code to find serial ports on the computer Type: Bug

Comments

@Argus-
Copy link

Argus- commented Jun 19, 2017

I use Nport Administrator to map com ports for remote Moxa port, 48 addition com ports not including local com ports.
When opening the Arduino software I only see 46 com ports and cannot scroll to see anymore, unfortunately none are the com port I'm looking for. If I remove a 8port Moxa port I can see the local com ports.
It seems as if there is a hard limit to the number of com ports the Arduino software will show.

@facchinm
Copy link
Member

Hi @Argus- ,
this is one of the strangest bugs ever reported 🙂 First of all, is the serial port submenu scrollable (or at least shows the little arrow at the bottom)? There is no hard limit on the list itself but probably the menu is rendered as non-scrollable so when you reach the bottom of the screen it stops displaying stuff. Could you provide a screenshot (or a screencast) of the superlong list? Thanks!

@facchinm facchinm added libListSerial Java native library used in the Arduino IDE's source code to find serial ports on the computer Type: Bug labels Jun 20, 2017
@Argus-
Copy link
Author

Argus- commented Jun 21, 2017

Hi @facchinm

I have added a screen shot, it looks like there is more to the list, but as you scroll to the bottom is immediately circles to the top of the list.

The list expands to the full size of my screen but will not scroll to anymore Serial ports and no down arrow to show more either.

arduino serial port select

@facchinm
Copy link
Member

Oh I see, the problem really looks related with the absence of the little arrow at the bottom of the list. I'm preparing a pull request so you can test it with that massive number of serial ports 😄

facchinm added a commit to facchinm/Arduino that referenced this issue Jun 22, 2017
@facchinm
Copy link
Member

Hi @Argus- ,
could you test PR #6411 in your setup and report if the list is scrollable? Thanks!

@Argus-
Copy link
Author

Argus- commented Jun 23, 2017

Hi @facchinm

It works, but sometimes it has an issue displaying the full list or scrolling full list, I've
re-added 8 addition ports and so I have approximately 55 total mapped com ports.

arduino serial port select fix
arduino serial port select fix2
arduino serial port select fix full list

@facchinm
Copy link
Member

Argh, I think I understand what the problem is... When the list gets updated the arrows are being added anyway, despite the fact that they are already there. I'm modifying the PR a bit to try to fix this problem. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libListSerial Java native library used in the Arduino IDE's source code to find serial ports on the computer Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants