GTK3 Cursor behaves oddly on macOS
The handling of set cursors across mouse-in events appears inconsistent on macOS 14.03. If I set a custom cursor on a window and mouse-out of the window, sometimes the custom cursor is re-displayed on mouse-in, other times it is not. I'm seeing this behavior whether or not the GTK window is focused. I do not see this inconsistency using Ubuntu 22.04. I can reproduce this using the "Cursors" demo of the gtk3-demo application as shown below.
Steps to reproduce
- Build GTK3 (tag 3.24.43)
- Run
_build/demos/gtk-demo/gtk3-demo
- Click "Cursors" on the left then "Run" in the upper left
- Click the "wait" cursor under "Link & Status" to set your cursor
- Move the mouse in and out of the Cursors window
Current behavior
MacOS 14.03
Note the video above displays blue lines for the macOS busy cursor. This is an artifact of the screen capture. On my system, this actually displays as a blue spinning circle.
Expected outcome
Ubuntu 22.04
Version information
- GTK 3, tag 3.24.43
- MacOS 14.03
- Ubuntu 22.04
meson _build && ninja -C _build
Edited by awm129