rnote
rnote copied to clipboard
[GTK4 bug] Popover menus are broken on X.Org
There are multiple symptoms and ways to reproduce it but i think this is just one bug
To Reproduce Steps to reproduce the behavior:
- Select xorg when logging in (this bug does not affect wayland)
- Open some other programs
- Open rnote
- Open any popover menu in rnote
- Try to click another program outside of rnote
The popover menu stays open and all mouse and keyboard inputs to other programs are blocked until you close the menu in rnote If you have rnote on another monitor you might think your system is frozen
- Close the menu by clicking anywhere inside of rnote or pressing Esc
- Try to add a new color by using 'Pick a color from the screen'
- Click anywhere to pick a color (this doesn't work)
- Close the color selector menu
Now the mouse and keyboard inputs to all other programs are blocked even if no popover menu is open
- Close rnote
- Inputs to some other programs are working again but you can't click anything in the ubuntu dock or the gnome panel
- Restart gnome with Alt+F2, r
After the restart everything is working again
Expected behavior
- The popover menu should close when clicking anywhere outside of rnote and you should be able to click things in other programs
- Pressing Esc should abort the color picker
- Closing rnote should not leave gnome in a broken state
Console Output No new console output while testing the bug
Desktop (please complete the following information):
- OS: Ubuntu 20.04
- Installation source: Flatpak
- Desktop Environment: GNOME Shell 3.36.9
I can reproduce, but this seems to be the behaviour of all GTK4 apps (tested with spot
and notejot
). (see this issue). Can't do much on Rnote's side, unfortunately.
There is also the nested popover bug, which can be observed when changing the probability distribution of textured brush strokes. Its issue is this
The renaming popover has this issue too which makes it unusable on touchscreens. Would it be possible to switch to something like what Portfolio does?
Also, see https://gitlab.gnome.org/GNOME/gtk/-/issues/5666 for Wayland.