Bug?: Scrolling the mouse wheel while a drop down menu is open = strange zooming behavior

I’ve just run across something that I guess is undefined behavior. In the PCB editor, I clicked on the trace width drop down menu, but before clicking on a predefined trace width, I started scrolling the mouse wheel. The result is that the board zooms without warping the mouse, and behaves strangely. It doesn’t seem to cause any trouble, but it’s definitely not what I would expect to happen. It seems to affect each drop down menu, but the results are not identical despite being similar. The zoom level drop down menu seems to scroll the selection while doing the strange zoom behavior at the same time. The rest mostly ignore the menu and just zoom strangely.

Either the selection of the drop down menu should scroll through the list, so that pressing enter or clicking would select that menu option, or it should close the drop down menu and zoom normally.

To recreate this behavior, simply open the pcb editor (I’ve only tried this while a project is loaded, but I imagine it will work with an empty design), click on any of the drop down menus at the top of the window, and without selecting an option or closing the menu, begin scrolling your mouse. That’s it.

What KiCad version are you using (Post full version from: Help / About / Copy Version Info) I tried this, but I do not see any strange behavior. For me, when I click on one of the drop down menu lists, the list opens, and the scroll wheel has no effect at all. (When I hover over one of those lists in the top toolbar (without clicking!) then the scroll wheel scrolls through the options. (Which is nice).

Bugs like this are related to the GUI / Operating system, which is also stated in the version info. My version info looks like:

Application: KiCad x86_64 on x86_64

Version: 8.0.4-8.0.4-0~ubuntu20.04.1, release build

Libraries:
	wxWidgets 3.2.2
	FreeType 2.10.1
	HarfBuzz 2.6.4
	FontConfig 2.13.1
	libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Platform: Linux Mint 20.3, 64 bit, Little endian, wxGTK, X11, xfce, x11
OpenGL: AMD, AMD RENOIR (DRM 3.42.0, 5.15.0-113-generic, LLVM 12.0.0), 4.6 (Compatibility Profile) Mesa 21.2.6

Build Info:
	Date: Jul 17 2024 01:37:21
	wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.71.0
	OCC: 7.6.3
	Curl: 7.68.0
	ngspice: 42
	Compiler: GCC 9.4.0 with C++ ABI 1013

Build settings:

Thanks for the reply, Paul, and sorry for forgetting about the build info:

Application: KiCad x64 on x64

Version: 8.0.4, release build

Libraries:
	wxWidgets 3.2.5
	FreeType 2.12.1
	HarfBuzz 8.3.0
	FontConfig 2.14.2
	libcurl/8.5.0-DEV Schannel zlib/1.3

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Jul 17 2024 03:26:47
	wxWidgets: 3.2.5 (wchar_t,wx containers)
	Boost: 1.83.0
	OCC: 7.8.1
	Curl: 8.5.0-DEV
	ngspice: 42
	Compiler: Visual C++ 1939 without C++ ABI

Build settings:
(Nothing here)

Does anyone have any idea why the version difference for HarfBuzz is so big? I have 2.6.4 (Released in 2019 while 8.3.0 pretty recent.

Would this be intentional, or just forgotten to update?
Maybe KiCad just uses whatever comes with my Linux distribution?

Yeah, I think it’s a shared library and your distro is from 2020.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.