send dbus signal when object moves
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
joakim@verona.se |
Bug Description
There is a proposal in the DBus extension to send a dbus signal when
an object is moved in Inkscape.
I made a first attempt to implement this in my dbus branch.
This works atm:
- Dragging an object with the mouse. When the mouse button is released
a signal with the object id is sent.
- the event was verified to arrive in a subscribed Dbus listener,
Emacs.
This doesn't work:
- sending from more than 1 window. (Because I made a sloppy global
variable hack to test)
- sending a signal when the object moves by any other means than
dragging. (because I haven't found the right place to send the
signal yet)
Anyway, I'm pleased, and I think signals will open up interesting
posibilities. My use-case is interactive round-trip graph editing.
Related branches
- jazzynico (community): Approve
-
Diff: 692 lines (+387/-61)11 files modifiedsrc/2geom/transforms.h (+4/-0)
src/2geom/utils.h (+1/-0)
src/desktop.h (+2/-1)
src/extension/dbus/dbus-init.cpp (+1/-1)
src/extension/dbus/document-interface.cpp (+178/-3)
src/extension/dbus/document-interface.h (+26/-0)
src/extension/dbus/document-interface.xml (+163/-2)
src/extension/dbus/proposed-interface.xml (+0/-50)
src/file.cpp (+3/-3)
src/file.h (+1/-1)
src/select-context.cpp (+8/-0)
Changed in inkscape: | |
importance: | Undecided → Wishlist |
tags: |
added: dbus transformations removed: wishlist |
Changed in inkscape: | |
assignee: | nobody → joakim@verona.se (joakim-verona) |
tags: |
added: dbusapi removed: dbus |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
The dbus branch (r10032, AFAICT) was merged into trunk in r10559.
Are the debug messages ("moved!", "Ping!") from the merged branch still required/useful in trunk, or could they be commented out in trunk, or made depend on a configure variable (for debugging purposes)?
(Attached diff comments them out)
@joakim - can this and the other two open feature requests linked to your branch be closed as 'Fix Committed'?
* Bug #793412: view area control via dbus
* Bug #795014: dbus get_parent and get_children