mouse wheel grabs focus

Teo Fonrouge fedora-list at windtelsoft.com
Fri Feb 9 18:05:37 UTC 2007


On Friday 09 February 2007 09:55, Anne Wilson wrote:
> On Friday 09 February 2007 15:34, Tony Nelson wrote:
> > At 3:52 PM +0100 2/9/07, Henry Ritzlmayr wrote:
> > >Am Freitag, den 09.02.2007, 09:08 -0500 schrieb Tony Nelson:
> > >> At 5:22 PM +0800 2/9/07, Ed Greshko wrote:
> > >> >Henry Ritzlmayr wrote:
> > >> >> Hi List,
> > >> >>
> > >> >> whenever I am using the mouse wheel in an non active window this
> > >> >> window automatically gets the focus. Can this be disabled?
> > >> >>
> > >> >> Scenario:
> > >> >> I am typing in kwrite while having firefox opened. Now I want to
> > >> >> scroll within firefox not loosing the focus in kwrite.
> > >> >
> > >> >The simple answer is "AFAIK, no".
> > >> >
> > >> >When you want to scroll within firefox you need to move your cursor
> > >> > over firefox for firefox to react to the wheel.  If firefox does not
> > >> > become the window with focus then the wheel and buttons of the mouse
> > >> > remain
> > >>
> > >>attached to
> > >>
> > >> >the active (kwrite) window.
> > >>
> > >> Using Gnome, GEdit, and Firefox, I can type in GEdit and scroll
> > >> Firefox with the wheel without losing focus in GEdit.  In case it
> > >> matters, I disbled the middle mouse button as I used to get middle
> > >> clicks when scrolling.
> > >
> > >I can confirm that - just testet Gnome - it works here as well.
> > >
> > >Then let me precise my question:
> > >Does anybody know how this behavior can be configured within KDE?
> >
> > No, but come to think of it, I have Kwrite and it also lets me scroll
> > Firefox in the background without losing focus while typing.  Of course,
> > I'm running Gnome/Metacity and not KDE.
>
> Just tried, in KDE.  Focus followed the mouse to FF - I scrolled without
> clicking on FF - but followed the mouse back to KMail, so perhaps the
> answer for Henry is that he should scroll FF then move the mouse back over
> kwrite - no click required - before starting to type.  I did have to
> slightly scroll over KMail to get the focus back.
>
> Anne

Better yet, you can configure KDE (under "Window Behavior -> Focus" in the 
Control Center) to make the current focused window follow the mouse. So you 
just need to move the mouse over that window again.


best regards

Teo




More information about the users mailing list