Created attachment 130373 [details] Screenshot SUMMARY The scrollbar's width has doubled, cf. screenshot. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.19.3 KDE Frameworks Version: 5.73.0 Qt Version: 5.15.0
Cannot reproduce. Did you restart both plasmashell and KWin? Also try clearing the plasma SVG cache with `rm ~/.cache/plasma*` and then restarting plasmashell and KWin again.
(In reply to Nate Graham from comment #1) > Cannot reproduce. Did you restart both plasmashell and KWin? Also try > clearing the plasma SVG cache with `rm ~/.cache/plasma*` and then restarting > plasmashell and KWin again. Flushing the cache alone solved it. :)
Cool. We should probably do that automatically. I had similar issues when changing the scale on Wayland where scrollbars were too wide after going rom one scale factor to another until I cleared the cache, so it doesn't even seem specific to X11 but rather to the use of Qt scaling (which is always used on Wayland). Re-opening the bug and making it about that!
Before you hold your breath, I really forgot to mention that I locked the screen (Ctrl+L) and unlocked it again, before I confirmed the solution. If that was kind of cheating, I may try to reproduce it again... O:-)
Not cheating, I don't think that's related. :)
>Re-opening the bug and making it about that! Why do we need to flush the cache? Isn't the DPR encoded into the key?
No idea. However it seems to be the case that when you change the scale factor, various things in the cache don't get marked dirty properly so it needs to be cleared.
*** Bug 424587 has been marked as a duplicate of this bug. ***
According to your WIP patch in https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/50, it is encoded into the ID incorrectly, which seems to match up with the symptoms of this bug.
> which seems to match up with the symptoms of this bug. Not a coincidence :) If that fixes it, great. If it doesn't then we have more work to do on finding the remaining bugs. Flushing the cache is hiding a problem not fixing a problem, which is why I don't want the bug specifically about that to be open. It would also break wayland where we support multiple at once.
David's patch landed and now this is fixed!
Seems like it did not fully fix it. Still sometimes reproducible. See Bug 396791.
*** Bug 396791 has been marked as a duplicate of this bug. ***
*** Bug 436918 has been marked as a duplicate of this bug. ***