fix behavior of scrollable systray popups
ClosedPublic

Authored by mart on Nov 4 2016, 1:45 PM.

Details

Summary

it's very rare that the icon list in the hidden area
of the systray is long enough to get a scrollbar, but
when it does it had a couple of issues:
sometimes it gets an horizontal scrollbar too and
the wheel events gets eaten:
always disable the horizontal scrollbar and
ignore wheel events over the label.
wheel events over the icon are still managed by
the applet (so still possible to for instance
adjusting the volume on pa applet)

BUG:372050

Test Plan

hidden all the cions to enable scrollbar: wheel over
the text scrolls the view, over the icon adjusts the volume

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mart updated this revision to Diff 7903.Nov 4 2016, 1:45 PM
mart retitled this revision from to fix behavior of scrollable systray popups.
mart updated this object.
mart edited the test plan for this revision. (Show Details)
mart added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptNov 4 2016, 1:45 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Nov 4 2016, 2:03 PM
davidedmundson added a reviewer: davidedmundson.
davidedmundson added a subscriber: davidedmundson.

add some comment in AbstractItem.

This revision is now accepted and ready to land.Nov 4 2016, 2:03 PM
This revision was automatically updated to reflect the committed changes.