DockManager incompatibility

Bug #840845 reported by Jiří Janoušek
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
DockManager
Confirmed
Low
Unassigned

Bug Description

Docky 2.1.4 bzr docky r1810 from ppa:docky-core/stable

There are wrong signatures in interface net.launchpad.DockItem:
 * method AddMenuItem
 * method RemoveMenuItem
 * signal MenuItemActivated

Docky uses uint32 type for menu item id, however, DockManager API descriptions [1][2] specifies int32 type.

[1] http://wiki.awn-project.org/Dbus_Backend_API
[2] http://wiki.go-docky.com/index.php?title=Writing_Helpers#DBus_Interface_Specification

Revision history for this message
Robert Dyer (psybers) wrote :

I don't think this causes any problems. And most likely, the spec is just wrong. I think menu ids should be unsigned.

Changed in docky:
importance: Undecided → Low
Revision history for this message
Robert Dyer (psybers) wrote :

Ok so, Michal and I discussed and decided that yes the spec is wrong and should be unsigned. So in v2 of the spec, this should be fixed.

As such, Docky will just remain using the unsigned.

affects: docky → dockmanager
Revision history for this message
Jiří Janoušek (fenryxo) wrote :

> I don't think this causes any problems.

In Vala language I had to create two DBus interfaces for DockItem - the first one for Docky (with uint32) and the second one for AWN and DockBarX (with int32) - and switch between them according to running dock. Otherwise I'll get DBus errors that method with this signature has not been found.

> So in v2 of the spec, this should be fixed.

Great :-) I hope there will be a way how to determine which version of specification is used by currently running dock. Thanks.

raies ali (raiesnas)
Changed in dockmanager:
status: New → Incomplete
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.