Wayland: docks "Add tab" submenu broken
GIMP Version: master
Operating System: Wayland/Linux
Issue Description
Opening the Docks menu (small triangle)'s submenu "Add tab" doesn't work the second time.
Steps
- Click the small triangle, then "Add Tab" submenu. The list of possible dockables appear.
- Hit Esc. The docks menu exits.
- Re-click the small triangle, menu appears.
- Hover or hit the "Add Tab" submenu
Expected result: the list of dockables should appear again.
Actual: nothing happens. The submenu is broken the second time.
Terminal output
Though I can reproduce the bug every time, I don't always have terminal output.
Sometimes I have these CRITICAL/WARNING on output (yet sometimes not, and I still reproduce the bug). Though I was not sure I got these exactly when I encounter the bug, the error contents seems to match the issue, so probably related:
(gimp-2.99:225310): Gdk-CRITICAL **: 14:50:50.230: gdk_wayland_window_handle_configure_popup: assertion 'impl->transient_for' failed
Gdk-Message: 14:52:35.600: Window 0x6a515b0 is a temporary window without parent, application will not be able to position it on screen.
(gimp-2.99:225310): Gdk-CRITICAL **: 14:52:35.650: gdk_wayland_window_handle_configure_popup: assertion 'impl->transient_for' failed
(gimp-2.99:225310): Gdk-WARNING **: 14:59:49.918: Tried to map a popup with a non-top most parent
Gdk-Message: 14:59:55.683: Window 0x6a515b0 is a temporary window without parent, application will not be able to position it on screen.