Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GTK] Popovers are blocking input to other apps #119

Open
Mat931 opened this issue Feb 18, 2022 · 3 comments
Open

[GTK] Popovers are blocking input to other apps #119

Mat931 opened this issue Feb 18, 2022 · 3 comments
Labels
bug Something isn't working gtk4 Related to Gtk4

Comments

@Mat931
Copy link
Contributor

Mat931 commented Feb 18, 2022

There are multiple symptoms and ways to reproduce it but i think this is just one bug

To Reproduce
Steps to reproduce the behavior:

  1. Select xorg when logging in (this bug does not affect wayland)
  2. Open some other programs
  3. Open rnote
  4. Open any popover menu in rnote
  5. 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

  1. Close the menu by clicking anywhere inside of rnote or pressing Esc
  2. Try to add a new color by using 'Pick a color from the screen'
  3. Click anywhere to pick a color (this doesn't work)
  4. Close the color selector menu

Now the mouse and keyboard inputs to all other programs are blocked even if no popover menu is open

  1. Close rnote
  2. Inputs to some other programs are working again but you can't click anything in the ubuntu dock or the gnome panel
  3. 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
@flxzt
Copy link
Owner

flxzt commented Feb 18, 2022

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

@flxzt flxzt changed the title Popover menus are broken on X.Org [GTK4 bug] Popover menus are broken on X.Org Feb 18, 2022
@flxzt flxzt added the bug Something isn't working label Feb 18, 2022
@flxzt flxzt changed the title [GTK4 bug] Popover menus are broken on X.Org [GTK4 bug] Popovers are blocking input to other apps Jan 16, 2023
@flxzt flxzt changed the title [GTK4 bug] Popovers are blocking input to other apps [GTK] Popovers are blocking input to other apps Feb 28, 2023
@flxzt flxzt added the gtk4 Related to Gtk4 label Feb 28, 2023
@PhilDevProg
Copy link
Contributor

PhilDevProg commented Mar 15, 2023

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?

Bildschirmaufzeichnung.vom.2023-03-15.17-02-56.webm

@PhilDevProg
Copy link
Contributor

Also, see https://gitlab.gnome.org/GNOME/gtk/-/issues/5666 for Wayland.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gtk4 Related to Gtk4
Projects
None yet
Development

No branches or pull requests

3 participants