wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
5.77k stars 1.7k forks source link

Dropdowns showing half a screen away from where they were clicked (on linux wayland and ultrawide screen) #24473

Open JacekP1 opened 1 month ago

JacekP1 commented 1 month ago

When hovering over the main dropdown dialogs while using wayland, the dropdown menu will not be under the menu item.

Recording: Screencast_20240413_213139.webm

Steps to reproduce:

1.Run linux and wayland (in my case fedora KDE wayland) 2.Have an ultrawide screen (works fine on my second normal screen) 3.Move the window so that the dropdowns should show up on the left half of the screen 4.Hover over the dropdown menu

Tested apps:

KiCad (wxWidgets 3.2.4) Audacity

vadz commented 3 weeks ago

This really looks like a kwin bug to me, there is absolutely no reason for it to show menus on an ultrawide display differently than on a normal one.

Can you run GTK demo example on your system? You should see the same thing with its menus.