Just to make clear... Polymorph introduced a MouseWheelEvent class, instances of which are generated from the HandMorph if the key combination matches what the VM currently passes (ctrl+up/down). These new events are handled based on mouse pointer location and not keyboard focus so providing mouse scrolling without disturbing the keyboard focus.
Of course, should the VM's change to generate "proper" wheel events, much of Morphic handling is now already in place. So, with mouseClickForKeyboardFocus enabled the Gnome behaviour should apply, barring morphs deliberately changing keyboard focus without regard for that setting ;-) (which is where this all started...) Regards, Gary ----- Original Message ----- From: "Schwab,Wilhelm K" <[email protected]> To: <[email protected]> Sent: Saturday, February 21, 2009 1:20 PM Subject: Re: [Pharo-project] Automatic focus on column upon moose enter > Gary, > > Of course :) You guys are doing a great job! I just replied to Sig, > emphasizing the Gnome/Windows split on scrolling based on cursor position > while leaving the focus alone. Gnome has it right. However, I would give > priority to consistent focus before worrying about sending the wheel input > where it belongs. Sounds like we need to add wheel events to the VM; then > it should be easy to handle both (control-up/down for older vms, and wheel > events doing exactly what is desired by the user). > > Bill > > > ---- > Wilhelm K. Schwab, Ph.D. > bschwab AT anest DOT ufl DOT edu > > ________________________________________ > From: [email protected] > [[email protected]] On Behalf Of Gary Chambers > [[email protected]] > Sent: Saturday, February 21, 2009 8:02 AM > To: [email protected] > Subject: Re: [Pharo-project] Automatic focus on column upon moose enter > > Which is handled in Polymorph of course. > > Regards, Gary > > ----- Original Message ----- > From: "Igor Stasenko" <[email protected]> > To: <[email protected]> > Sent: Saturday, February 21, 2009 3:59 AM > Subject: Re: [Pharo-project] Automatic focus on column upon moose enter > > >> Concerning keyboard focus and mouse scroll. >> (sorry, if it was already noted in this discussion, i didn't read it >> fully). >> >> VM does not have a mouse wheel events. Instead, it generates ctrl-up / >> ctrl-down key combinations. >> I think that this hack is the root of all problems: >> - if focus doesn't following the mouse, you need additional hacks in >> image to treat ctrl-up / ctrl-down keys to generate scroll events for >> morph which is currently under the mouse, not the morph which is >> currently having an active keyboard input focus. >> >> >> >> -- >> Best regards, >> Igor Stasenko AKA sig. >> >> _______________________________________________ >> Pharo-project mailing list >> [email protected] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
