[dbus] get_desktop_list returns nothing

Bug #569238 reported by joakim@verona.se
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Medium
Unassigned

Bug Description

the following dbus call returns nil:

  (dbus-call-method
   :session "org.inkscape" "/org/inkscape/application"
   "org.inkscape.application" "get_desktop_list")

in the dbus branch of inkscape. Its elisp code, but readable i think.

Tags: crash dbusapi
su_v (suv-lp)
tags: added: gsoc2009-api
Revision history for this message
joakim@verona.se (joakim-verona) wrote :

also affects trunk.

desktop_new no longer returns nil, it now times out.

light testing with rectangle crashes inkscape:

(dbus-call-method
               :session "org.inkscape" desktop
               "org.inkscape.document" "rectangle" :int32 100 :int32 100 :int32 100 :int32 100)

which used to work in the gsoc branch.

su_v (suv-lp)
summary: - get_desktop_new returns nothing
+ [dbus] get_desktop_new returns nothing
su_v (suv-lp)
tags: added: crash
Revision history for this message
su_v (suv-lp) wrote : Re: [dbus] get_desktop_new returns nothing

see follow-up report for details and backtrace of the crash:
Bug #615712 “[dbus] simple example drawing rect crashes”
<https://bugs.launchpad.net/inkscape/+bug/615712>

Revision history for this message
joakim@verona.se (joakim-verona) wrote :

The problem is that the method implementations in
application-interface.cpp are just stubs.

About seven methods need to be implemented. I can probably do a couple.

su_v (suv-lp)
tags: removed: gsoc2009-api
su_v (suv-lp)
tags: added: dbusapi
removed: dbus
su_v (suv-lp)
Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
summary: - [dbus] get_desktop_new returns nothing
+ [dbus] get_desktop_list returns nothing
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.