> On Oct. 13, 2015, 1:08 a.m., David Edmundson wrote: > > src/kcm/package/contents/ui/VolumeSlider.qml, line 86 > > <https://git.reviewboard.kde.org/r/125088/diff/2/?file=410693#file410693line86> > > > > I don't understand what this line is doing > > > > if we do block wheel events changing the slider's value, how will > > PulseObject.volume change?
It doesn't change the volume. This is a try to implement what I wrote as a comment above, so it tries to block the wheel events. But I think this doesn't work as expected because the wheel events don't get passed to the list. So the volume doesn't change once a slider gets focus but nevertheless the scrolling is interrupted. The only way I see (maybe there's a better way, don't know..) is the qt patch https://codereview.qt-project.org/#/c/124669/. - David ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/125088/#review86769 ----------------------------------------------------------- On Oct. 12, 2015, 7:06 p.m., David Rosca wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/125088/ > ----------------------------------------------------------- > > (Updated Oct. 12, 2015, 7:06 p.m.) > > > Review request for Plasma and Harald Sitter. > > > Repository: plasma-pa > > > Description > ------- > > Implement changing volume on mouse wheel. > Also block wheel events on sliders in applet. > > Without this patch, the value of slider gets changed but it won't change the > actual volume. > > > Diffs > ----- > > applet/contents/ui/ListItemBase.qml 8993b16 > src/kcm/package/contents/ui/VolumeSlider.qml c36dd33 > > Diff: https://git.reviewboard.kde.org/r/125088/diff/ > > > Testing > ------- > > Changing volume with wheel works in kcm. Trying to use wheel on sliders in > applet does nothing. > > > Thanks, > > David Rosca > >
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel