flxzt / rnote

Sketch and take handwritten notes.
https://rnote.flxzt.net
GNU General Public License v3.0
8.4k stars 294 forks source link

Touch inputs not always registered - broken accounting of active state for widget #1093

Open arturopitu opened 7 months ago

arturopitu commented 7 months ago

Describe the bug
When you touch some buttons, eg three dots on documents, save button, etc, the press wont execute and maybe if you press elsewhere inside the app, it will open. Terminal will spit errors like this:

(rnote:2): Gtk-WARNING **: 17:08:50.250: Broken accounting of active state for widget 0x5ba5b156e610(GtkButton)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b14b15c0(GtkBox)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b149f600(GtkBox)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b1453f60(AdwGizmo)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b14a9960(GtkCenterBox)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b1547810(GtkWindowHandle)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b14ee6b0(AdwHeaderBar)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b1487760(GtkBox)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b151a9b0(GtkWindowHandle)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b14fcac0(GtkRevealer)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b142ac10(AdwToolbarView)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b14fc920(RnSidebar)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b1f6b860(AdwBin)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b1f67010(AdwOverlaySplitView)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b1531ca0(AdwBreakpointBin)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b14f3f80(AdwBin)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b151ed70(AdwDialogHost)

(rnote:2): Gtk-WARNING **: 17:08:50.251: Broken accounting of active state for widget 0x5ba5b150a710(RnAppWindow)

Desktop (please complete the following information):

ApaxPhoenix commented 3 weeks ago

Like someone said in the gnome discussions: "In other words, gtk4 “accounting” assumes that the button press position is associated with the popover parent widget, which is not necessarily true".