Public bug reported:

[ Impact ]

GNOME shell when using this indicator should export the
org.kde.StatusNotifierWatcher dbus interface, although some methods and
properties are missing or invalid


[ Test case ]


Run:
 gdbus call --session --dest org.gnome.Shell --object-path 
/StatusNotifierWatcher \
 --method org.freedesktop.DBus.Properties.Get "org.kde.StatusNotifierWatcher" 
ProtocolVersion

-> Should return (<0>,)

In particular, the API should contain

 gdbus introspect --session --dest org.gnome.Shell --object-path 
/StatusNotifierWatcher
node /StatusNotifierWatcher {
 
  .... Default fdo properties stuff ....

  interface org.kde.StatusNotifierWatcher {
    interface org.kde.StatusNotifierWatcher {
    methods:
      RegisterStatusNotifierItem(in  s service);
      RegisterStatusNotifierHost(in  s service);
    signals:
      StatusNotifierItemRegistered(s arg_0);
      StatusNotifierItemUnregistered(s arg_0);
      StatusNotifierHostRegistered();
      StatusNotifierHostUnregistered();
    properties:
      @org.qtproject.QtDBus.QtTypeName.Out0("QStringList")
      readonly as RegisteredStatusNotifierItems = [ ... list of indicators 
path/obj-names ... ];
      readonly b IsStatusNotifierHostRegistered = true;
      readonly i ProtocolVersion = 0;
  };
};


In the old version we had an invalid "RegisterNotificationHost" method (not 
specified by specs nor used)
We didn't expose the ProtocolVersion

** Affects: gnome-shell-extension-appindicator (Ubuntu)
     Importance: Medium
     Assignee: Marco Trevisan (Treviño) (3v1n0)
         Status: Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell-extension-appindicator in
Ubuntu.
https://bugs.launchpad.net/bugs/1896785

Title:
  Exported DBus interface is missing info or using wrong names

Status in gnome-shell-extension-appindicator package in Ubuntu:
  Fix Released

Bug description:
  [ Impact ]

  GNOME shell when using this indicator should export the
  org.kde.StatusNotifierWatcher dbus interface, although some methods
  and properties are missing or invalid

  
  [ Test case ]

  
  Run:
   gdbus call --session --dest org.gnome.Shell --object-path 
/StatusNotifierWatcher \
   --method org.freedesktop.DBus.Properties.Get "org.kde.StatusNotifierWatcher" 
ProtocolVersion

  -> Should return (<0>,)

  In particular, the API should contain

   gdbus introspect --session --dest org.gnome.Shell --object-path 
/StatusNotifierWatcher
  node /StatusNotifierWatcher {
   
    .... Default fdo properties stuff ....

    interface org.kde.StatusNotifierWatcher {
      interface org.kde.StatusNotifierWatcher {
      methods:
        RegisterStatusNotifierItem(in  s service);
        RegisterStatusNotifierHost(in  s service);
      signals:
        StatusNotifierItemRegistered(s arg_0);
        StatusNotifierItemUnregistered(s arg_0);
        StatusNotifierHostRegistered();
        StatusNotifierHostUnregistered();
      properties:
        @org.qtproject.QtDBus.QtTypeName.Out0("QStringList")
        readonly as RegisteredStatusNotifierItems = [ ... list of indicators 
path/obj-names ... ];
        readonly b IsStatusNotifierHostRegistered = true;
        readonly i ProtocolVersion = 0;
    };
  };

  
  In the old version we had an invalid "RegisterNotificationHost" method (not 
specified by specs nor used)
  We didn't expose the ProtocolVersion

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to