Skip to content

Tray module not visible after some time. No such object path '/StatusNotifierWatcher' #3468

Open
@HarshNarayanJha

Description

@HarshNarayanJha

After a few hours of logging into hyprland, the Tray Module does now show up after killing and launching waybar.

This does not happen before that point, I can kill waybar and start it again (via a keybind) and the tray and all its icons are still there. But after some time has passed, reloading waybar no longer shows the Tray Module, no matter how many times I reload.
But if I log out and login again, it immediately fixes the issue and the tray stays visible until the issue happens again.
Note that it never disappears automatically, only if I restart waybar.

Running waybar in terminal reveals the issue

...
[2024-07-23 19:38:36.383] [debug] Creating workspace 1
[2024-07-23 19:38:36.383] [debug] Creating workspace 2
[2024-07-23 19:38:36.496] [error] Host: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/StatusNotifierWatcher'
[2024-07-23 19:38:36.613] [info] Bar configured (width: 1920, height: 40) for output: 
...

EDIT: Following issue #3040, I have downgraded libappindicator-gtk3 to v12.10.0.r296-1 with no success

Full Log
[2024-07-23 19:38:58.575] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/config
[2024-07-23 19:38:58.575] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/config.jsonc
[2024-07-23 19:38:58.576] [debug] Try expanding: $HOME/.config/waybar/config
[2024-07-23 19:38:58.576] [debug] Found config file: $HOME/.config/waybar/config
[2024-07-23 19:38:58.576] [info] Using configuration file /home/harshnj/.config/waybar/config
[2024-07-23 19:38:58.579] [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
[2024-07-23 19:38:58.579] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/style.css
[2024-07-23 19:38:58.579] [debug] Try expanding: $HOME/.config/waybar/style.css
[2024-07-23 19:38:58.579] [debug] Found config file: $HOME/.config/waybar/style.css
[2024-07-23 19:38:58.579] [info] Using CSS file /home/harshnj/.config/waybar/style.css
[2024-07-23 19:38:58.580] [debug] Parsing imports for file: /home/harshnj/.config/waybar/style.css
[2024-07-23 19:38:58.580] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/themes/theme.css
[2024-07-23 19:38:58.580] [debug] Try expanding: $HOME/.config/waybar/themes/theme.css
[2024-07-23 19:38:58.580] [debug] Found config file: $HOME/.config/waybar/themes/theme.css
[2024-07-23 19:38:58.580] [debug] Adding file to watch list: Catppuccin-Mocha.css
[2024-07-23 19:38:58.580] [debug] Adding file to watch list: /home/harshnj/.config/waybar/style.css
[2024-07-23 19:38:58.587] [debug] Output detection done: eDP-1 (AU Optronics 0x229E)
[2024-07-23 19:38:58.592] [info] Hyprland IPC starting
[2024-07-23 19:38:58.594] [debug] Initializing workspaces
[2024-07-23 19:38:58.595] [debug] Initializing persistent workspaces
[2024-07-23 19:38:58.595] [info] Loading persistent workspaces from Waybar config
[2024-07-23 19:38:58.595] [info] Loading persistent workspaces from Hyprland workspace rules
[2024-07-23 19:38:58.596] [info] Registering for Hyprland's 'windowtitle' events because a user-defined window rewrite rule uses the 'title' field.
[2024-07-23 19:38:58.616] [debug] network: new default route via 192.168.250.102 on if4 metric 600
[2024-07-23 19:38:58.616] [debug] network: wlan0, new addr 192.168.250.94/24
[2024-07-23 19:38:58.616] [debug] network: wlan0, new addr 192.168.250.94/24
[2024-07-23 19:38:58.641] [debug] Received SIGCHLD in signalThread
[2024-07-23 19:38:58.641] [debug] Cmd exited with code 0
[2024-07-23 19:38:58.987] [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: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)

[2024-07-23 19:38:58.989] [debug] Creating workspace 1
[2024-07-23 19:38:58.990] [debug] Creating workspace 2
[2024-07-23 19:38:59.103] [error] Host: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/StatusNotifierWatcher'
[2024-07-23 19:38:59.196] [info] Bar configured (width: 1920, height: 40) for output: eDP-1
[2024-07-23 19:38:59.221] [debug] hyprland IPC received openlayer>>waybar
[2024-07-23 19:38:59.869] [debug] Received SIGCHLD in signalThread
[2024-07-23 19:38:59.869] [debug] Cmd exited with code 0

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions