Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.81k stars 716 forks source link

Warning and Gtk-Critical messages from waybar #1373

Open tigerjack opened 2 years ago

tigerjack commented 2 years ago

I've sway and waybar installed and the latter is polluting the log file with a lot of lines like these

** (waybar:9013): WARNING **: 17:13:27.691: Status Notifier Item with bus name ':1.86' and object path '/org/ayatana/NotificationItem/nm_applet' is already registered
** (waybar:9013): WARNING **: 17:13:28.472: Status Notifier Item with bus name ':1.99' and object path '/org/ayatana/NotificationItem/blueman' is already registered
(waybar:9013): Gtk-CRITICAL **: 17:13:57.974: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

I have just three applications on the tray: copyq (which is not giving problems apparently), blueman-applet and nm-applet (both involved in the previous lines). Does anybody have an idea on what is happening?

DemiMarie commented 1 year ago

I think this is a problem with libdbusmenu-gtk3. That library is unmaintained so I recommend using a different implementation, possibly one used by KDE.

DemiMarie commented 1 year ago

GDB indicates that accel_group is 0x0 aka NULL.

guttermonk commented 4 weeks ago

I have the error above, plus an additional error - and they're repeated twice (shown once below). No warnings though.

(waybar:69262): Gtk-CRITICAL **: 21:37:19.341: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(waybar:69262): Gtk-CRITICAL **: 21:37:19.341: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

Running NixOS 24.05 and Waybar v0.10.3, which is the newest version of Waybar in the 24.05 repo.