Hi Hans, Could you single-click drag to move and double-click to edit text?
It's a bit weird to change the interaction depending on if the object is selected or not. Cheers, Joe On 15 September 2011 20:21, Hans-Christoph Steiner <[email protected]> wrote: > > One thing that often bugs me when editing is the click-n-drag behavior > of objects. Here's the outline: > > click and release unselected object > -------------------------------- > * mouse down selects the object > * mouse up selects the text > > click and release selected object > -------------------------------- > * mouse down drags the cursor in the text > * mouse up does nothing > > click and drag unselected object > -------------------------------- > > * mouse down moves the object > * mouse up releases the drag and selects the text > > click and drag selected object > -------------------------------- > > * mouse down moves the cursor in the text > * mouse up stops that > > > I think that a better behavior would be this. When an unselected object > is click-n-dragged, mouseup doesn't select the text or the object. Then > you can move an object, then immediately move it again without having to > click to deselect it first. > > This can be done with a 'moved' flag. But I can't really find where to > put it, that code is pretty hard to follow (g_rtext.c, g_text.c, and the > widgetbehavior). I attached my log of the pd-gui messages of the four > cases above. > > .hc > > > > _______________________________________________ > Pd-dev mailing list > [email protected] > http://lists.puredata.info/listinfo/pd-dev > >
_______________________________________________ Pd-dev mailing list [email protected] http://lists.puredata.info/listinfo/pd-dev
