Keyboard shortcut for the "edit object"functionality
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Wishlist
|
Unassigned |
Bug Description
I can invoke the "edit object" functionality by double clicking on an object. I would like to bind a key to this functionality.
About the "Edit object" functionality :
For paths, double clicking switches to Node tool; for shapes, to corresponding shape tool; for text, to Text tool. For groups, double
clicking performs the "Enter group" command. ( As described in section "Selector > Select (mouse) > click + click : edit the object" in http://
Note:
F2 can be a substitute (workaround) for this. It can be replicate "edit the object" functionality for the shape nodes (like rectangle) but it does not replicate the behavior for text nodes. For instance, on double clicking a text node, I can edit the text, but pressing F2 on a text node does not allow me to edit the text in the node.
tags: | added: shape-editing |
Changed in inkscape: | |
importance: | Undecided → Wishlist |
Current status: by_item( ) by_item( ) requires a coordinate (Geom::Point) of where the double-click occurred (used to position the text cursor when double-clicking a text object); such a point does not exist if this command is called via keyboard shortcuts
- no verbs exists which calls tools_switch_
- tools_switch_
- the relevant verb context already provides the center of the bbox; one could consider to pass the top left or bottom right corner point of the bbox to the new verb to position text cursor at start / end of the text (if the current selection is a text)
- to be discussed: what happens if the current selection contains multiple different objects? Switch to the corresponding tool of the first (last, bottom-most, top-most) item in the selection list? Don't attempt to switch tool at all?
Double-click is handled here: bazaar. launchpad. net/~inkscape. dev/inkscape/ trunk/view/ head:/src/ ui/tools/ select- tool.cpp# L473 by_item( ): bazaar. launchpad. net/~inkscape. dev/inkscape/ trunk/view/ head:/src/ tools-switch. cpp#L159 bazaar. launchpad. net/~inkscape. dev/inkscape/ trunk/view/ head:/src/ verbs.cpp# L1485
http://
Definition of tools_switch_
http://
Verb context:
http://