Bug 443173 - Horizontal scrollbar overlaps with media controls in tooltip
Summary: Horizontal scrollbar overlaps with media controls in tooltip
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.22.90
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-30 22:00 UTC by doncbugs
Modified: 2021-10-07 15:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.23


Attachments
a scrollbar covering content in tooltips (82.10 KB, image/png)
2021-09-30 22:00 UTC, doncbugs
Details
VLC Reproduced (68.32 KB, image/png)
2021-09-30 23:57 UTC, Fushan Wen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description doncbugs 2021-09-30 22:00:16 UTC
Created attachment 142045 [details]
a scrollbar covering content in tooltips

SUMMARY
This may be intentional, but it is less than easy on the eyes.

STEPS TO REPRODUCE
1. Open multiple instances of an application with media controls (gwenview)
2. Once they extend off screen, scrollbar should appear and cover controls and text
3. 

OBSERVED RESULT
The horizontal scrollbar is rendered on top of text and buttons.

EXPECTED RESULT
The horizontal scrollbar should have its own space.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
This may become much worse with themes with opaque or thicker scrollbars. Text and buttons may be completely obscured.
Comment 1 Fushan Wen 2021-09-30 23:57:33 UTC
Created attachment 142052 [details]
VLC Reproduced

Reproduced by multiple VLC windows.
Comment 2 Bug Janitor Service 2021-10-01 01:51:02 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/341
Comment 3 Bug Janitor Service 2021-10-01 01:56:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/579
Comment 4 Fushan Wen 2021-10-07 01:29:21 UTC
Git commit 9bd657ce5618411f4a088c07f6bf894878b58940 by Fushan Wen.
Committed on 07/10/2021 at 01:24.
Pushed by ndavis into branch 'master'.

ScrollView: Do not overlay scrollbars over contents

This ensures the scrollbar of a ScrollView do not overlap the ScrollView's
contents. It effectively makes ScrollView's behaviour the same as all
widget views, which also do not overlap the contents.

It also removes the need for a lot of workarounds in applications and other
places to fix the overlapping problem.

M  +3    -3    src/declarativeimports/plasmacomponents3/ScrollBar.qml
M  +3    -0    src/declarativeimports/plasmacomponents3/ScrollView.qml

https://invent.kde.org/frameworks/plasma-framework/commit/9bd657ce5618411f4a088c07f6bf894878b58940
Comment 5 Noah Davis 2021-10-07 07:16:39 UTC
Git commit 578a5db6006430ad29e16e3e671bb86a531f7c98 by Noah Davis, on behalf of Fushan Wen.
Committed on 07/10/2021 at 07:16.
Pushed by ndavis into branch 'master'.

[applets/taskmanger] Do not overlay scrollbars over contents

The scrollbar should have its own space instead of overlapping
the thumbnail or the media controller.
Related: bug 439522

M  +9    -3    applets/taskmanager/package/contents/ui/ToolTipDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/commit/578a5db6006430ad29e16e3e671bb86a531f7c98
Comment 6 Noah Davis 2021-10-07 07:19:38 UTC
Git commit 32439d71f5ff7b1d10b214df39658561e025d747 by Noah Davis, on behalf of Fushan Wen.
Committed on 07/10/2021 at 07:17.
Pushed by ndavis into branch 'Plasma/5.23'.

[applets/taskmanger] Do not overlay scrollbars over contents

The scrollbar should have its own space instead of overlapping
the thumbnail or the media controller.
Related: bug 439522
(cherry picked from commit 578a5db6006430ad29e16e3e671bb86a531f7c98)

M  +9    -3    applets/taskmanager/package/contents/ui/ToolTipDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/commit/32439d71f5ff7b1d10b214df39658561e025d747