Bug 481316

Summary: Scroll bar overlaps avatars partially
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcm_usersAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: fanzhuyifan, nate, uhhadd
Priority: NOR Keywords: qt6
Version First Reported In: master   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.3.0
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2024-02-14 11:00:03 UTC
Created attachment 165816 [details]
screenshot

STEPS TO REPRODUCE
1. open Users KCM
2. click on your current avatar
3. 

OBSERVED RESULT
as seen in the attached screenshot, scroll bar overlaps avatars partially

EXPECTED RESULT
the observed result should not occur

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.1
Graphics Platform: Wayland
Comment 1 fanzhuyifan 2024-02-14 17:32:07 UTC
Can reproduce with certain window widths.
Comment 2 Bug Janitor Service 2025-01-23 20:29:31 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5108
Comment 3 Nate Graham 2025-01-24 15:08:38 UTC
Git commit 18cc94b77a7705b65b69ec2e6870b2c334b3c74e by Nate Graham.
Committed on 24/01/2025 at 14:39.
Pushed by ngraham into branch 'master'.

kcms/users: fix dialog sizing

The dialogs are currently sized improperly at most window sizes, the
result of multiple subtle bugs. This commit fixes them all:

- Span whole overlay in multi-column view, not just the current column
- Give the crop sheet a minimum size compatible with PlaMo and small
  windows widths
- Use actual metrics to determine the number of columns, not an
  incorrect approximation
- Allow the picture chooser dialog to become larger when there's space
FIXED-IN: 6.3.0

M  +3    -2    kcms/users/src/ui/CropSheet.qml
M  +12   -5    kcms/users/src/ui/PicturesSheet.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/18cc94b77a7705b65b69ec2e6870b2c334b3c74e
Comment 4 Nate Graham 2025-01-24 16:03:58 UTC
Git commit b1ff85d230ffa2fcc6d3b5407c1f9839a48cbc01 by Nate Graham.
Committed on 24/01/2025 at 15:09.
Pushed by ngraham into branch 'Plasma/6.3'.

kcms/users: fix dialog sizing

The dialogs are currently sized improperly at most window sizes, the
result of multiple subtle bugs. This commit fixes them all:

- Span whole overlay in multi-column view, not just the current column
- Give the crop sheet a minimum size compatible with PlaMo and small
  windows widths
- Use actual metrics to determine the number of columns, not an
  incorrect approximation
- Allow the picture chooser dialog to become larger when there's space
FIXED-IN: 6.3.0


(cherry picked from commit 18cc94b77a7705b65b69ec2e6870b2c334b3c74e)

Co-authored-by: Nate Graham <nate@kde.org>

M  +3    -2    kcms/users/src/ui/CropSheet.qml
M  +12   -5    kcms/users/src/ui/PicturesSheet.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/b1ff85d230ffa2fcc6d3b5407c1f9839a48cbc01