[squeak-dev] Re: text selection broken

Bert Freudenberg bert at freudenbergs.de
Tue May 17 14:18:39 UTC 2016


On 17.05.2016, at 10:45, marcel.taeumel <Marcel.Taeumel at hpi.de> wrote:
> 
>  I see the following options here:
> 
> 1) Make C only behave differently to B when the focus does not follow the
> mouse cursor. Either way, make C behave like B when facing a one-line text
> morph such as our search bar.
> 2) Always make C behave like B and ignore the issue with the method
> template.
> 3) Keep it as it is now, meaning C is always different to B.
> 
> You votes?

IMHO it shouldn’t matter if you click in A, B, or C. And I’m not sure what the special issue with the template is. 

When focus-follows-mouse is disabled, the first click should only set the focus and not change the selection no matter where you click. When focus-follows-mouse is enabled, the field is already focused. In both cases, clicking in a focused text field will then change the selection.

Wouldn’t that be the simplest option? AFAICT that’s how text fields work in general (outside Squeak).

- Bert -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4207 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160517/e8476c8a/smime.bin


More information about the Squeak-dev mailing list