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

Waybar crashing due to [KDE] Connect notification #3893

Open
HarshNarayanJha opened this issue Jan 18, 2025 · 0 comments
Open

Waybar crashing due to [KDE] Connect notification #3893

HarshNarayanJha opened this issue Jan 18, 2025 · 0 comments

Comments

@HarshNarayanJha
Copy link

HarshNarayanJha commented Jan 18, 2025

Whenever I receive a notification from my android on my laptop through KDE Connect, It does appear, but waybar crashes immediately.

This happens everytime something KDE happens, even with some Dolphin prompts...
For example, when using the context menu converters, and when it asks whether to overwrite or not, waybar crashes.

I am using Waybar v0.11.0 from Arch extra repo. I am using the latest Hyprland WM, along with the latest KDE Plasma (both options in login session)

Waybar Logs
[2025-01-18 14:10:50.812] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/config
[2025-01-18 14:10:50.812] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/config.jsonc
[2025-01-18 14:10:50.812] [debug] Try expanding: $HOME/.config/waybar/config
[2025-01-18 14:10:50.812] [debug] Found config file: $HOME/.config/waybar/config
[2025-01-18 14:10:50.812] [info] Using configuration file /home/harshnj/.config/waybar/config
[2025-01-18 14:10:50.815] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[2025-01-18 14:10:50.815] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/style.css
[2025-01-18 14:10:50.815] [debug] Try expanding: $HOME/.config/waybar/style.css
[2025-01-18 14:10:50.815] [debug] Found config file: $HOME/.config/waybar/style.css
[2025-01-18 14:10:50.815] [info] Using CSS file /home/harshnj/.config/waybar/style.css
[2025-01-18 14:10:50.816] [debug] Parsing imports for file: /home/harshnj/.config/waybar/style.css
[2025-01-18 14:10:50.816] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/themes/theme.css
[2025-01-18 14:10:50.816] [debug] Try expanding: $HOME/.config/waybar/themes/theme.css
[2025-01-18 14:10:50.816] [debug] Found config file: $HOME/.config/waybar/themes/theme.css
[2025-01-18 14:10:50.816] [debug] Adding file to watch list: Catppuccin-Mocha.css
[2025-01-18 14:10:50.816] [debug] Adding file to watch list: /home/harshnj/.config/waybar/style.css
[2025-01-18 14:10:50.820] [debug] Output detection done: eDP-1 (AU Optronics 0x229E )
[2025-01-18 14:10:50.823] [info] Hyprland IPC starting
[2025-01-18 14:10:50.823] [debug] Initializing workspaces
[2025-01-18 14:10:50.824] [debug] Initializing persistent workspaces
[2025-01-18 14:10:50.824] [info] Loading persistent workspaces from Waybar config
[2025-01-18 14:10:50.824] [info] Loading persistent workspaces from Hyprland workspace rules
[2025-01-18 14:10:50.824] [info] Registering for Hyprland's 'windowtitle' events because a user-defined window rewrite rule uses the 'title' field.
[2025-01-18 14:10:50.839] [debug] network: new default route via 192.168.77.166 on if4 metric 600
[2025-01-18 14:10:50.839] [debug] network: wlan0, new addr 192.168.77.94/24
[2025-01-18 14:10:50.839] [debug] network: wlan0, new addr 192.168.77.94/24
[2025-01-18 14:10:50.870] [debug] Cmd exited with code 0
[2025-01-18 14:10:50.870] [debug] Received SIGCHLD in signalThread
[2025-01-18 14:10:50.874] [debug] Received SIGCHLD in signalThread
[2025-01-18 14:10:50.874] [debug] Cmd exited with code 0
[2025-01-18 14:10:51.241] [debug] GTK widget tree:
window#waybar.background.top.eDP-1..mode-default.solo.org.kde.konsole:dir(ltr)
  decoration:dir(ltr)
  box.horizontal:dir(ltr)
    box.horizontal.modules-left:dir(ltr)
      widget:dir(ltr)
        label#custom-l_end.module:dir(ltr)
      widget:dir(ltr)
        box#workspaces.horizontal.module:dir(ltr)
      widget:dir(ltr)
        box#window.horizontal.module:dir(ltr)
          image:dir(ltr)
          label:dir(ltr)
      widget:dir(ltr)
        label#custom-r_end.module:dir(ltr)
      widget:dir(ltr)
        label#custom-padd.module:dir(ltr)
    box.horizontal.modules-center:dir(ltr)
      widget:dir(ltr)
        label#custom-padd.module:dir(ltr)
      widget:dir(ltr)
        label#custom-l_end.module:dir(ltr)
      widget:dir(ltr)
        label#custom-weather.module:dir(ltr)
      widget:dir(ltr)
        label#custom-r_end.module:dir(ltr)
      widget:dir(ltr)
        label#custom-padd.module:dir(ltr)
    box.horizontal.modules-right:dir(ltr)
      widget:dir(ltr)
        label#custom-padd.module:dir(ltr)
      widget:dir(ltr)
        label#custom-l_end.module:dir(ltr)
      widget:dir(ltr)
        box#hardware.horizontal:dir(ltr)
          revealer.drawer:dir(ltr)
            box.horizontal:dir(ltr)
              widget.drawer-child:dir(ltr)
                label#cpu.module:dir(ltr)
              widget.drawer-child:dir(ltr)
                label#temperature.module:dir(ltr)
              widget.drawer-child:dir(ltr)
                label#submap.module:dir(ltr)
          widget:dir(ltr)
            label#memory.module:dir(ltr)
      widget:dir(ltr)
        label#custom-r_end.module:dir(ltr)
      widget:dir(ltr)
        label#custom-l_end.module:dir(ltr)
      widget:dir(ltr)
        label#mpris.module:dir(ltr)
      widget:dir(ltr)
        label#backlight.module:dir(ltr)
      widget:dir(ltr)
        label#network.module:dir(ltr)
      widget:dir(ltr)
        label#pulseaudio.module:dir(ltr)
      widget:dir(ltr)
        label#pulseaudio.module.microphone:dir(ltr)
      widget:dir(ltr)
        label#custom-r_end.module:dir(ltr)
      widget:dir(ltr)
        label#custom-l_end.module:dir(ltr)
      widget:dir(ltr)
        box#privacy.horizontal:dir(ltr)
          revealer:dir(ltr)
            box#privacy-item.horizontal.screenshare:dir(ltr)
              image:dir(ltr)
          revealer:dir(ltr)
            box#privacy-item.horizontal.audio-out:dir(ltr)
              image:dir(ltr)
          revealer:dir(ltr)
            box#privacy-item.horizontal.audio-in:dir(ltr)
              image:dir(ltr)
      widget:dir(ltr)
        box#gamemode.horizontal:dir(ltr)
          image:dir(ltr)
          label:dir(ltr)
      widget:dir(ltr)
        box#tray.horizontal.module:dir(ltr)
      widget:dir(ltr)
        label#battery.module:dir(ltr)
      widget:dir(ltr)
        label#custom-r_end.module:dir(ltr)
      widget:dir(ltr)
        label#custom-l_end.module:dir(ltr)
      widget:dir(ltr)
        label#custom-notification.module:dir(ltr)
      widget:dir(ltr)
        label#idle_inhibitor.module:dir(ltr)
      widget:dir(ltr)
        label#clock.module:dir(ltr)
      widget:dir(ltr)
        label#custom-r_end.module:dir(ltr)
      widget:dir(ltr)
        label#custom-l_end.module:dir(ltr)
      widget:dir(ltr)
        box#user.horizontal.module:dir(ltr)
          image:dir(ltr)
          label:dir(ltr)
      widget:dir(ltr)
        label#custom-power.module:dir(ltr)
      widget:dir(ltr)
        label#custom-r_end.module:dir(ltr)

[2025-01-18 14:10:51.242] [debug] Creating workspace 1
[2025-01-18 14:10:51.244] [debug] Creating workspace 4
[2025-01-18 14:10:51.244] [debug] Creating workspace 5
[2025-01-18 14:10:51.245] [debug] Creating workspace 6
[2025-01-18 14:10:51.245] [debug] Creating workspace 7
[2025-01-18 14:10:51.360] [error] Host: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/StatusNotifierWatcher'
[2025-01-18 14:10:51.399] [info] Bar configured (width: 1916, height: 40) for output: eDP-1
[2025-01-18 14:10:51.431] [debug] hyprland IPC received openlayer>>waybar
[2025-01-18 14:10:52.443] [debug] Cmd exited with code 0
[2025-01-18 14:10:52.443] [debug] Received SIGCHLD in signalThread
[2025-01-18 14:10:52.486] [debug] hyprland IPC received activewindow>>org.kde.konsole,~ — Konsole
[2025-01-18 14:10:52.494] [debug] hyprland IPC received activewindowv2>>56ae47cca4d0
[2025-01-18 14:10:52.495] [debug] hyprland IPC received workspace>>5
[2025-01-18 14:10:52.496] [debug] hyprland IPC received workspacev2>>5,5
[2025-01-18 14:10:54.688] [debug] hyprland IPC received windowtitle>>56ae47cca4d0
[2025-01-18 14:10:54.693] [debug] hyprland IPC received windowtitlev2>>56ae47cca4d0,ntfy publish --click ~ — Konsole
[2025-01-18 14:10:54.694] [debug] hyprland IPC received activewindow>>org.kde.konsole,ntfy publish --click ~ — Konsole
[2025-01-18 14:10:54.697] [debug] hyprland IPC received activewindowv2>>56ae47cca4d0
[2025-01-18 14:10:55.095] [debug] hyprland IPC received activewindow>>org.kde.konsole,waybar -l debug > /t ~ — Konsole
[2025-01-18 14:10:55.103] [debug] hyprland IPC received activewindowv2>>56ae47e1d910
[2025-01-18 14:10:55.104] [debug] hyprland IPC received workspace>>6
[2025-01-18 14:10:55.105] [debug] hyprland IPC received workspacev2>>6,6
[2025-01-18 14:10:55.950] [debug] hyprland IPC received openlayer>>notifications
[2025-01-18 14:10:55.983] [debug] hyprland IPC received windowtitle>>56ae47cca4d0
[2025-01-18 14:10:55.986] [debug] hyprland IPC received windowtitlev2>>56ae47cca4d0,~ — Konsole
[2025-01-18 14:11:00.948] [debug] hyprland IPC received closelayer>>notifications
[2025-01-18 14:11:01.246] [debug] hyprland IPC received activewindow>>org.kde.konsole,~ — Konsole
[2025-01-18 14:11:01.255] [debug] hyprland IPC received activewindowv2>>56ae47cca4d0
[2025-01-18 14:11:01.256] [debug] hyprland IPC received workspace>>5
[2025-01-18 14:11:01.257] [debug] hyprland IPC received workspacev2>>5,5
[2025-01-18 14:11:02.604] [debug] hyprland IPC received windowtitle>>56ae47cca4d0
[2025-01-18 14:11:02.607] [debug] hyprland IPC received windowtitlev2>>56ae47cca4d0,ntfy publish --click ~ — Konsole
[2025-01-18 14:11:02.608] [debug] hyprland IPC received activewindow>>org.kde.konsole,ntfy publish --click ~ — Konsole
[2025-01-18 14:11:02.610] [debug] hyprland IPC received activewindowv2>>56ae47cca4d0
[2025-01-18 14:11:03.705] [debug] hyprland IPC received activewindow>>org.kde.konsole,waybar -l debug > /t ~ — Konsole
[2025-01-18 14:11:03.711] [debug] hyprland IPC received activewindowv2>>56ae47e1d910
[2025-01-18 14:11:03.712] [debug] hyprland IPC received workspace>>6
[2025-01-18 14:11:03.713] [debug] hyprland IPC received workspacev2>>6,6
[2025-01-18 14:11:04.136] [debug] hyprland IPC received openlayer>>notifications
[2025-01-18 14:11:04.276] [debug] hyprland IPC received windowtitle>>56ae47cca4d0
[2025-01-18 14:11:04.279] [debug] hyprland IPC received windowtitlev2>>56ae47cca4d0,~ — Konsole

This gets printed to the console I am running waybar in, even after redirection to the log file

(waybar:182651): Gdk-WARNING **: 14:10:50.749: Failed to read portal settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop

(waybar:182651): Gtk-WARNING **: 14:10:51.401: Theme directory categories@2x/22 of theme Colloid-Dark has no size field

fish: Job 1, 'waybar -l debug > /tmp/waybar.l…' terminated by signal SIGSEGV (Address boundary error)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant