Public bug reported:

[ Impact ]

When adding and removing signals the indicators extension should emit signals 
following the protocol
  
https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierWatcher/

So we should emit the service name by default when known

[ Test case ]

Run
 dbus-monitor --session "interface='org.kde.StatusNotifierWatcher'"

When an indicator is added, signals such as should be emitted:

signal time=1616029764.911986 sender=:1.34490 -> destination=(null destination) 
serial=3905 path=/StatusNotifierWatcher; 
interface=org.kde.StatusNotifierWatcher; member=StatusNotifierItemRegistered
   string ":1.109/org/ayatana/NotificationItem/psensor"
signal time=1616029764.928864 sender=:1.34490 -> destination=(null destination) 
serial=3991 path=/StatusNotifierWatcher; 
interface=org.kde.StatusNotifierWatcher; member=StatusNotifierItemRegistered
   string ":1.34459/StatusNotifierItem"
 
When removed:
signal time=1616033768.529066 sender=:1.34490 -> destination=(null destination) 
serial=8711 path=/StatusNotifierWatcher; 
interface=org.kde.StatusNotifierWatcher; member=StatusNotifierItemUnregistered
   string ":1.34649/StatusNotifierItem"

Removed events should be also emitted when the extension is disabled via
gnome-shell-extension-prefs

[ Regression potential ]

Some clients won't interpret the events correctly causing the indicator
not to work as expected

** Affects: gnome-shell-extension-appindicator (Ubuntu)
     Importance: Low
     Assignee: Marco Trevisan (Treviño) (3v1n0)
         Status: In Progress

** Affects: gnome-shell-extension-appindicator (Ubuntu Focal)
     Importance: Low
     Assignee: Marco Trevisan (Treviño) (3v1n0)
         Status: In Progress

** Also affects: gnome-shell-extension-appindicator (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: gnome-shell-extension-appindicator (Ubuntu Focal)
   Importance: Undecided => Low

** Changed in: gnome-shell-extension-appindicator (Ubuntu Focal)
       Status: New => In Progress

** Changed in: gnome-shell-extension-appindicator (Ubuntu Focal)
     Assignee: (unassigned) => Marco Trevisan (Treviño) (3v1n0)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1919927

Title:
  Wrong (or no) signals are emitted when icons are added / removed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-appindicator/+bug/1919927/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to