Mouse wheel and position slider, [was: extragear/multimedia/amarok/src]
Mark Kretschmann
markey at web.de
Tue Nov 21 10:11:42 UTC 2006
I've just compared the old and new behavior. I agree with Alex. IMHO the new
behavior is consistent and feels natural. I'm used to the relation "Up =
Forward/More".
On Tuesday 21 November 2006 10:38, Martin Aumueller wrote:
> This is unintuitive in my opinion: when I want to continue in a text file,
> I have to scroll down. Thus, I also try to scroll down when I want to
> advance in an audio file.
>
> The volume slider is different: you turn up (scroll up) the volume. That it
> progresses from left to right when doing this, is just coincidence.
>
> On Tue November 21 2006 03:14, Alexandre Pereira de Oliveira wrote:
> > SVN commit 606613 by aoliveira:
> >
> > Make Mouse Wheel behavior on time slider consistent with the volume
> > slider, and with the systray use as well. (Meaning: up = move ahead, down
> > = move back)
> >
> >
> > M +2 -2 sliderwidget.cpp
> >
> >
> > --- trunk/extragear/multimedia/amarok/src/sliderwidget.cpp #606612:606613
> > @@ -61,10 +61,10 @@
> >
> > // Position Slider (horizontal)
> > int step = e->delta() * 1500 / 18;
> > - int nval = QSlider::value() - step;
> > + int nval = QSlider::value() + step;
> > nval = QMAX(nval, minValue());
> > nval = QMIN(nval, maxValue());
> > -
> > +
> > QSlider::setValue( nval );
> >
> > emit sliderReleased( value() );
--
Mark
More information about the Amarok
mailing list