Skip to content

tray: RegisterStatusNotifierItem rejected outright when the service string embeds a / (Signal Desktop, Electron 43.4.1) #5271

Description

@foolnotion

Signal Desktop's tray registration call:

method call ... member=RegisterStatusNotifierItem
   string "org.freedesktop.StatusNotifierItem-280753-1/StatusNotifierItem/1"

This doesn't start with /, so handleRegisterItem() takes it whole as bus_name. g_dbus_is_name() rejects it (contains /), the error goes straight back to Signal over DBus. No Item is ever created. Nothing lands in waybar's log.

Different from #5240: there, bus name and object path arrive split cleanly and registration succeeds; the bug is in property caching afterward. Here registration itself fails.

Patch splits the argument on the first / when it doesn't start with one. Verified against a live Signal Desktop instance. PR to follow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsni

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions