On 2007-August-14 , at 18:19 , bulia byak wrote:
On 8/14/07, jiho <jo.irisson@...400...> wrote:
> One other glitch which the tweak tool revealed: undoing looses
> selection.
Yes, this has been discussed before. The fix is not really trivial but
relatively straightforward: we need to add to each undo record an
object holding the ids of the selected objects, and reselect them by
these ids on undo/redo. This should be a good project for anyone
learning Inkscape programming :) If there are volunteers, please
contact me or Mental for details.
Yes I imagine that the problem is not new. What you propose would
definitely solve my "concern" for the tweak tool (and for a few other
operations such as adding a new line at the end of an existing path
and have them automatically join in a new path).
However, if I understand it well, it means it attaches objects IDs to
existing undo records. So, it won't provide a complete selection
history as in:
open a document with several objects, select obj 1, select obj 2,
undo = only obj 1 is selected
Indeed, if you try this currently you'll see that these selection
event are not undoable now, so they probably won't be when this is
implemented either.
A true selection history (which would allow what is described above)
would have been useful to me in several occasions (see my previous
email for an example) ... however I don't know how annoying it could
have been the rest of the time. Does anyone have experience with a
software that does this (graphical or not)? Is it annoying or useful?
As for implementing it, I am afraid I'll have to leave it to someone
else for now. I'll be glad to help Inkscape as much as I can but
currently is not exactly the best time for me to start learning C++ ;)
> - there was a way to select objects directly from the tweak
tool.
> this would, in addition, allow to avoid constant switches between the
> select tool and the tweak tool (not that s and and w are far apart on
> the keyboard but still). ALT is not already used as a modifier in the
> Tweak tool ;) Of course the selection behavior won't be as powerful
> as the select tool (since the select tool modifiers is already very
> complex and its modifiers are all full) but just ALT+click/drag =
> selects and SHIFT+ALT+click/drag = adds to selection would be nice.
Maybe just enable Alt to do touch selection, as in Selector? Then it
would be consistent across tools which is a plus.
As always, you found the best solution ;)
JiHO
---
http://jo.irisson.free.fr/