KNotificationAreaItem

Lubos Lunak l.lunak at suse.cz
Tue Apr 28 16:13:16 BST 2009


On Friday 24 of April 2009, Aaron J. Seigo wrote:
> On Friday 24 April 2009, Aurélien Gâteau wrote:
> > I do not understand what you mean. For me using the mouse wheel on x11
> > (as on other os) means getting a page to scroll while my mouse is over
> > the page, not over the scrollbar.
>
> yes, it's about scrolling when it isn't over the scrollbar; however, on
> some other systems (at least last time i tried) you have to click the
> window to give it wheel focus first. in x you just hover and wheel and the
> wheel event goes to whatever is hovered, not necessarily focused.
>
> whether that's a smart thing or not depends on your POV :) personally i'd
> love an option somewhere for this if it doesn't already exist.

 If you have a magic solution. Mouse wheel events are just mouse clicks, 
that's why wheel up/down is mouse button 4/5. So you are trying to solve the 
problem of mouse clicks working in Plasma only when it is the active window. 
Which is not quite the usual case for Plasma.

 As for normal windows, it should be simple to handle this in the toolkit. 
Maybe you can ask your sponsor to receive part of your next salary paid in 
features ;).

> > >> if the browser suddenly switches between tabs, or if the wm switches
> > >> to another window/desktop. This is because mouse-wheel is expected to
> > >> be a very easy-to-undo operation: if you roll a bit too low, just roll
> > >> it a bit up to get where you want. Magical pagers and taskbars break
> > >> this.
> > >
> > > "magical" pagers and taskbars behave identically; roll up a bit and
> > > you're back to where you were.
> >
> > True for pagers and taskbars, false for desktop background.
>
> i'm pretty agnostic on the desktop background, btw. i'd be fine with an
> option for it and default it to off now that we have that corona config
> box. the only reason why that feature is there is i got really tired of
> getting email about it not being there and in a moment of exasperated
> weakness implemented it (it was a 1-2 liner)

 I think that option should apply to all scrollwheeling in Plasma and should 
default to off. Accidental scroll over e.g. the pager is not that difficult 
to achieve (mouse the cursor out of the way, forget about it, scroll to read 
further) and it is much more disruptive than an errorneous scroll elsewhere, 
as it completely changes the desktop (even I get confused when it happens to 
me).

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http://www.suse.cz




More information about the kde-core-devel mailing list