-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
list are longer than screen height, and impossible to scroll down #11416
Comments
@fpistm the fix should be very similar to https://github.com/arduino/Arduino/pull/6411/files (only applied to the right menu). Is it possibile to test a fix using the actual (or git) version of STM32 core? |
@facchinm That's what I thought, but when I tried that, it makes the menus show up empty. I suspect that maybe the menu scroller does not handle hidden items (since that's I think what the board menus use?) properly, or maybe the board menu code adds/removes items from the menus at the wrong time (i.e. after the scroller modifies the menu to hide the extra items when the menu is displayed, and before the scroller restore the menu when it is closed again). I haven't dug in further than this, though. |
Note that Arduino IDE 2 Beta4 manages properly the menu. About this comment from @matthijskooijman
I would love not using the board options. If the boards.txt syntax could allow to specify at least one submenu it could ease several things and end users would have a better menu comprehension because they often do not understand they need to first select a "category" then in the option select a board in the "Board part number": This would also ease arduino-cli usage when list all the boards:
But it would be fine to have: anyway I guess this requires to update also arduino-cli. One other way could be to be able to split the boards.txt. 1 per submenu this would avoid to add a new syntax to the boards.txt. Only parse each boards_submenu_name.txt. If only one files same then before else several submenu. Just an idea 😉 |
You could use this PR: stm32duino/Arduino_Core_STM32#1091 Note that with this PR we will support more than 500 boards entry. |
Fixes arduino#11416 The patch on MenuScroller.java is needed to avoid a clash between custom menus with the same label. This behaviour artificially increases the amount of objects that the scroller will calculate. Eg. if two boards share the same custom menu, that menu will contain the properties for both the boards (since it's parsed twice).
Hi,
![image](https://user-images.githubusercontent.com/20641798/114223312-f1ad0600-996f-11eb-8ec7-b88b38df3720.png)
![image](https://user-images.githubusercontent.com/20641798/114223375-09848a00-9970-11eb-9e47-c471e0eeed0e.png)
I have a similar issue than #11069
Arduino IDE 1.8.13 on Windows 10. Examples menu has the correct behavior but not in Tools menu.
The new STM32duino core release will provide more boards support but now list are longer than screen height, and impossible to scroll down the list like in the example menu.
I need to find a workaround for this else release is compromised.
/cc @matthijskooijman FYI
Originally posted by @fpistm in #11069 (comment)
The text was updated successfully, but these errors were encountered: