Bug 486823 - Stock solid color avatar thumbnails misaligned behind image-based avatar options
Summary: Stock solid color avatar thumbnails misaligned behind image-based avatar options
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_users (show other bugs)
Version: 5.27.11
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-09 22:28 UTC by Mahe
Modified: 2025-01-23 20:24 UTC (History)
2 users (show)

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


Attachments
screenshot showing the misaligned grid of solid color avatar choices (190.56 KB, image/png)
2024-05-09 22:28 UTC, Mahe
Details
video screen recording showing the changes in misalignment depending on window size (2.69 MB, video/mp4)
2024-05-09 22:29 UTC, Mahe
Details
screenshot replicating the bug on NixOS with Kvantum Qt style (325.63 KB, image/png)
2024-05-09 22:35 UTC, Mahe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mahe 2024-05-09 22:28:28 UTC
Created attachment 169350 [details]
screenshot showing the misaligned grid of solid color avatar choices

SUMMARY
The stock options for avatar images has been extended by solid color options in addition to the existing image-based ones. When changing a user's avatar via the "Users" panel of systemsettings, the solid color options will not be displayed properly in the selection popup and instead will be rendered in a separate grid *behind* the other avatar images.

The layout and (mis)alignment of the grid containing the solid color options depends on the window size. At specific window sizes, the solid color options align perfectly behind the other image choices and become invisible and inaccessible to the user.

STEPS TO REPRODUCE
1. Open systemsettings and navigate to "Users" or simply execute "kcmshell5 kcm_users".
2. Click on the avatar picture on the rightmost panel just above the user name entry field.
3. Scroll down in the popup panel and resize the window until the solid color presets become visible.
4. Keep resizing the width of the window.

OBSERVED RESULT
The thumbnails for solid color avatar presets (e.g. "Plasma Blue") will be rendered below the thumbnails of the image-based avatar presets. They are rendered in a separate grid not aligned with the main grid view. Depending on the width of the window this results in the solid color options being hard to select or becoming inaccessible at all.
Please see the attached screen recordings.

EXPECTED RESULT
The thumbnails for solid color avatars should be aligned properly in the same grid as the image-based options and be visible an accessible at all times, regardless of viewport/window size.

SOFTWARE/OS VERSIONS

KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
Comment 1 Mahe 2024-05-09 22:29:28 UTC
Created attachment 169351 [details]
video screen recording showing the changes in misalignment depending on window size
Comment 2 Mahe 2024-05-09 22:35:25 UTC
Created attachment 169352 [details]
screenshot replicating the bug on NixOS with Kvantum Qt style

FWIW, this does not seem to be specific neither to (k)ubuntu nor the Breeze Qt style.

I'm able to replicate the same bug on a different system:

NixOS 23.11
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12
(X11)

... with Kvantum instead of Breeze as Qt style.
Comment 3 Nate Graham 2025-01-23 20:24:02 UTC
This was fixed at least as of Plasma 6.3.0, if not in 6.2.