[squeak-dev] Cuis updated to #0250
K. K. Subramaniam
subbukk at gmail.com
Sun Aug 2 09:54:46 UTC 2009
On Sunday 02 Aug 2009 7:52:57 am Juan Vuletich wrote:
> > Nice feature. But a hold (tap and wait) is different from a click.
> > Shouldn't the event be handled in TextEditor>>mouseUp: where the waiting
> > time can be checked?
> It could, I guess. What's the problem with how I did it (in
> ##waitForSimulatedYellow:event:)?
I couldn't reset the cursor position using a click on the selection (imagine
the whole text is selected. How do I cancel it?). I couldn't reselect a
subtext within selection using a drag. If the word "thisisalongword" is
selected and you try dragging "long", the selection shortens to "thisisalong".
I traced this annoyance to TextEditor>>mouseDown:
(oldInterval includes: b stringIndex) ifTrue: [ ^self ].
If the gesture is detected at mouseUp time, then there is no ambiguity between
quick click, long click and double-click.
Press-to-popup menu violates principle of least astonishment. If the mouse is
moved slightly during a slow click, the menu popups, an item gets picked and
the popup disappears in flash leaving no time to see which item got picked.
BTW, when you eliminated scroll bars for fully visible lists and texts, you
also eliminated the context menu button at the top :-(.
Subbu
More information about the Squeak-dev
mailing list
|