popup click-and-drag works in Xorg, but not in Wayland
Steps to reproduce
- Launch a GTK application (for example Transmission-GTK) on Wayland
- Try to open the preferences by clicking and holding the Edit menu button, moving the cursor to Preferences, and releasing the mouse button.
- Observe that GTK did not actually select Preferences. Try the same with the X backend and notice that it does work in this case.
- The same happens with the dropdown menus in the preferences, as well as e.g. the ComboBoxEntry in gtk3-widget-factory.
Current behavior
The item that is at the original location of the cursor stays selected, as if the cursor has not moved at all.
Expected outcome
The selection follows the cursor, in the same way as if the button is not held down.
Version information
Arch Linux gtk3 package, version 3.24.25-1
Additional information
In gtk4-widget-factory, I noticed that the comboboxes will not open at all until the mouse cursor is released. I realize this would be a separate issue, but I am not sure if this is deliberate design (although in my personal opinion, being able to select something without lifting the mouse button would be nice, so I hope that possibility will be kept in mind),