Bug 417553 - Scrollbar length and position jumps around if item has very long content
Summary: Scrollbar length and position jumps around if item has very long content
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.17.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-13 11:33 UTC by postix
Modified: 2022-01-07 14:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.24
Sentry Crash Report:


Attachments
Screenrecording; Flickering due to compositor. (2.03 MB, video/mp4)
2020-02-13 11:33 UTC, postix
Details
Recording #2 (2.60 MB, video/mp4)
2020-02-16 10:49 UTC, postix
Details
Simple bash script to create long and short notifications (4.55 KB, application/x-shellscript)
2020-02-16 10:51 UTC, postix
Details
Example script to trigger the bug (v2) (4.62 KB, application/x-shellscript)
2020-02-16 12:46 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2020-02-13 11:33:11 UTC
Created attachment 125937 [details]
Screenrecording; Flickering due to compositor.

SUMMARY

I had several notification messages in the history, including a very long quoted mail content, which was synchronized via KDEConnect.
While scrolling through the notification messages (by holding the mouse key down and moving the mouse rather then using the scrollwheel) the scrollbar handle length changed and its position started to jump, making navigating very hard.

Please see the recording. Sorry about the flickering and the blurring. If it's not clear enough, I will try to reproduce it again with some artificial content.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Kernel Version: 5.5.2-1-MANJARO

ADDITIONAL INFORMATION
Scaling: 1.5
Comment 1 Nate Graham 2020-02-15 22:11:58 UTC
Can you reproduce this issue with a standalone Notifications widget on the desktop, and not in the system tray? Does it happen anywhere else you've noticed? Does it happen if you reset the scale factor to 1? Does it happen on Plasma 5.18?
Comment 2 postix 2020-02-16 10:49:49 UTC
Created attachment 126071 [details]
Recording #2

(In reply to Nate Graham from comment #1)
> Can you reproduce this issue with a standalone Notifications widget on the
> desktop, and not in the system tray?
Yes, please see the recording.

> Does it happen anywhere else you've noticed?
Nope.

> Does it happen if you reset the scale factor to 1? 
Not tested yet.

> Does it happen on Plasma 5.18?
I can test that currently first when 5.18 found its way to Manjaro stable.
Comment 3 postix 2020-02-16 10:51:33 UTC
Created attachment 126072 [details]
Simple bash script to create long and short notifications

I attached the awesome script I used to create a long and a short notification, which you can see in the last recording. You may try it yourself and see if you can reproduce it with that, too.
Comment 4 postix 2020-02-16 12:46:48 UTC
Created attachment 126075 [details]
Example script to trigger the bug (v2)

Executes notify-send, creating a long and two short notifications.
Comment 5 Nate Graham 2020-02-16 20:59:33 UTC
Thank you so much for that! Super helpful. Can confirm now.
Comment 6 Nate Graham 2022-01-07 14:10:06 UTC
This has been fixed by Carl Schwan with https://invent.kde.org/plasma/plasma-workspace/-/commit/37bf7e5d73f03b258bd7bf57ae87d95f72fb2a59 in Plasma 5.24!