Bug 372050

Summary: No scroll in the window of hidden tray entries
Product: [Plasma] plasmashell Reporter: Alex Dănilă <alex.danila.web>
Component: System Tray widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.8.2   
Target Milestone: 1.0   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alex Dănilă 2016-11-03 23:24:54 UTC
The hidden tray entries (title "Status and Notifications") doesn't react to scroll over its elements, although it is a scrollable view and shows a scroollbar.

This happens with both mouse and touchpad. The scrollbar works correctly if dragged.

Reproduce:
-start lots of programs with tray entries
-select those entries to be hidden
-press the small upwards triangle to trigger the hidden entries window
-move cursor over entries and scroll.
Comment 1 Marco Martin 2016-11-04 14:26:26 UTC
Git commit ae658c33c8a68067da9a583135cf60fa07a6556a by Marco Martin.
Committed on 04/11/2016 at 14:26.
Pushed by mart into branch 'master'.

fix behavior of scrollable systray popups

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)

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

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D3263

M  +1    -0    applets/systemtray/package/contents/ui/HiddenItemsView.qml
M  +6    -1    applets/systemtray/package/contents/ui/items/AbstractItem.qml

http://commits.kde.org/plasma-workspace/ae658c33c8a68067da9a583135cf60fa07a6556a
Comment 2 Marco Martin 2016-11-04 14:27:17 UTC
Git commit 95a8a620248d96ca089c222689605042e27e8fb5 by Marco Martin.
Committed on 04/11/2016 at 14:27.
Pushed by mart into branch 'Plasma/5.8'.

fix behavior of scrollable systray popups

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)

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

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D3263

M  +1    -0    applets/systemtray/package/contents/ui/HiddenItemsView.qml
M  +6    -1    applets/systemtray/package/contents/ui/items/AbstractItem.qml

http://commits.kde.org/plasma-workspace/95a8a620248d96ca089c222689605042e27e8fb5