gtk-demo "Menu": context menu not usable with scrolling window
Steps to reproduce
- Run gtk-demo
- Open demo "Menu"
- Scroll down to the bottom of the flower image
- Right-click
Current behavior
The flower scrolls back to the top. The context menu is very briefly visible, before it scrolls away, and the window doesn't respond to events (until you press escape, or click again), so I think the menu is present, but scrolled off the bottom of the window.
Occasionally it will display the context menu without scrolling, but I haven't yet discovered a pattern to when this happens.
Expected outcome
On right-click, no scrolling should occur. The context menu should pop up at the current position, and be visible and usable.
Version information
GTK 4.8.3, in Debian ("bookworm" prerelease). Xorg, with amdgpu driver.