Bug 408144 - User profile picture is displayed poorly when falling back to the software rendering
Summary: User profile picture is displayed poorly when falling back to the software re...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Theme - Breeze (show other bugs)
Version: 5.15.5
Platform: Manjaro Linux
: NOR minor
Target Milestone: 1.0
Assignee: visual-design
URL:
Keywords:
: 442930 467414 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-05-31 12:41 UTC by Gianni
Modified: 2023-04-19 15:58 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
lockscreen behaviour with two user pictures using auto or software plasma renderer (344.17 KB, image/png)
2019-05-31 12:41 UTC, Gianni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gianni 2019-05-31 12:41:45 UTC
Created attachment 120429 [details]
lockscreen behaviour with two user pictures using auto or software plasma renderer

SUMMARY
If I lock my session while Plasma Renderer is set to 'Software' the user picture is not correctly cut to fit the circle, overlapping existing decorations.
I am appending an image that shows what happens using a "round" image on the first row and a "square" one on the second row; the first column shows what's displayed using Plasma Renderer set to 'Auto' while the second one shows the issue with Plasma Renderer set to 'Software'.

STEPS TO REPRODUCE
1. Set Plasma Renderer to 'Software'
2. Restart the session to apply the change
3. Lock Screen

OBSERVED RESULT
User pictures are overlapping the existing round container and the white outline.

EXPECTED RESULT
User pictures should respect the page style and correctly fit inside the round container.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Manjaro Linux
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.3
Comment 1 Nate Graham 2019-06-02 19:18:00 UTC
So it works with "Auto" but not with "Software"?
Comment 2 Gianni 2019-06-02 19:21:22 UTC
(In reply to Nate Graham from comment #1)
> So it works with "Auto" but not with "Software"?

Exactly. Unfortunately I can't use "Auto" because that causes all sort of glitches and slowdowns (eg. https://bugs.kde.org/show_bug.cgi?id=347772) with my setup.
Comment 3 Nate Graham 2019-06-02 20:13:45 UTC
Thanks!
Comment 4 Nate Graham 2021-09-27 21:15:03 UTC
*** Bug 442930 has been marked as a duplicate of this bug. ***
Comment 5 61kylyqt 2021-09-29 06:56:18 UTC
Sometimes this happens here (5.22.4) randomly and I didn't even know about Plasma Renderer.
Comment 6 Nate Graham 2023-04-19 15:57:14 UTC
*** Bug 467414 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2023-04-19 15:58:54 UTC
So this happens because we currently use a shader to clip the necessarily square user picture into something round, and that shader doesn't work with software rendering. Probably we should port to something else that always works, even if there's a small performance penalty. This isn't high-performance code.