[squeak-dev] The Inbox: Morphic-kfr.722.mcz

karl ramberg karlramberg at gmail.com
Wed Jun 25 09:56:01 UTC 2014


Hi,
When the preference is false the scrollpane should not activate or
deactivate keyboard fokus.

Best regards,
Karl



On Wed, Jun 25, 2014 at 3:01 AM, Javier Diaz-Reinoso <javier_diaz_r at mac.com>
wrote:

> On 24/06/2014, at 19:27, Javier Diaz-Reinoso <javier_diaz_r at MAC.COM>
> wrote:
>
> > On 24/06/2014, at 01:19, Marcel Taeumel <
> marcel.taeumel at student.hpi.uni-potsdam.de> wrote:
> >
> >> Well, I think it basically is a good idea to respect that preference
> >> "mouseOverForKeyboardFocus". However, you cannot simply access this
> >> preference in ScrollPane>>handlesMouseOver: because scroll panes may
> handle
> >> mouse over in other cases than keyboard focus change. In
> >> PluggableListMorph>>mouseUp:, this seems to be more appropriate because
> here
> >> you have the code that can actually set the keyboard focus.
> >>
> >> Please, adapt your modification and check for the preference in, e.g.,
> >> PluggableListMorph>>mouseUp:. #mouseEnter: should grab the keyboard if
> this
> >> preference is true. #mouseUp: could ensure it if that preference is
> false.
> >>
> >> Best,
> >> Marcel
> >
> > What about this modification of PluggableTextMorph>>mouseEnter: ?
> > <PluggableTextMorph-mouseEnter.st.gz>
>
> Sorry, the condition is reversed:
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140625/be53b607/attachment.htm


More information about the Squeak-dev mailing list