arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.33k stars 394 forks source link

Scrolling the boards menu (Tools -> Board -> esp32 ->) with touchpad scrolls and selects from the Tools menu #2521

Open emilfihlman opened 1 month ago

emilfihlman commented 1 month ago

Describe the problem

Scrolling the boards menu (Tools -> Board -> esp32 ->) with touchpad scrolls and selects from the Tools menu

To reproduce

Open IDE (latest 2.3.3 or latest nightly arduino-ide_nightly-20240928_Linux_64bit), attempt to scroll the boards menu with touchpad (NOT scrollwheel on a mouse).

Expected behavior

Boards are scrolled (and possibly selection not changed), not the Tools menu

Arduino IDE version

Latest 2.3.3 or arduino-ide_nightly-20240928_Linux_64bit

Operating system

Linux

Operating system version

Debian 12.7 Linux hostname 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux

Additional context

Desktop environment: Gnome

Issue checklist

emilfihlman commented 1 month ago

Also happens with other menus where the scrolled menu is not the top level menu like with the Examples menu, where File menu is scrolled instead of the examples.

This makes navigating the menus extremely painful as one has to mouse over the dedicated scroll button at the top and bottom to scroll at all, and accidental scrolling with the touchpad closes the current menu, requiring starting again.