Bug 500572 - Glitches when clicking on user account in user setting page
Summary: Glitches when clicking on user account in user setting page
Status: RESOLVED DUPLICATE of bug 410352
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_users (other bugs)
Version First Reported In: 6.3.0
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-22 12:28 UTC by Benjamin Dedieu
Modified: 2025-03-31 22:32 UTC (History)
3 users (show)

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


Attachments
user account settings glitches (137.47 KB, video/webm)
2025-02-22 12:28 UTC, Benjamin Dedieu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Dedieu 2025-02-22 12:28:07 UTC
Created attachment 178729 [details]
user account settings glitches

SUMMARY
When clicking on user account in user setting page, the user settings (content of the right column) glitches.

STEPS TO REPRODUCE
1. Open the user account setting page
2. Click on your username on the left column

OBSERVED RESULT
The content on the right column glitches, as shown in the attached video.

EXPECTED RESULT
The content should not glitch.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.12.11-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Graphics Processor: Intel® Iris® Xe Graphics

ADDITIONAL INFORMATION
My screen is scaled at 200%.
Comment 1 Nate Graham 2025-02-24 15:37:00 UTC
Can reproduce.
Comment 2 Bug Janitor Service 2025-02-24 15:42:15 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5257
Comment 3 Nate Graham 2025-02-27 17:47:02 UTC
Git commit a52501d162921232cbccc1c7d6894f82a56862f6 by Nate Graham.
Committed on 27/02/2025 at 17:46.
Pushed by ngraham into branch 'master'.

kcms/users: don't unnecessarily push another page for the visible user

When you click on the list item for the currently-viewed user, it
unconditionally pushes a new page for it. This is unnecessary; we only
need to do this for users that are not the currently-viewed one.

M  +5    -3    kcms/users/src/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/a52501d162921232cbccc1c7d6894f82a56862f6
Comment 4 Oliver Beard 2025-02-28 12:32:00 UTC
I believe the problem itself here is with Kirigami's FormLayout, not in the implementation in the KCM.

It could be possible to refactor it to use the same sub-page, but other sub-pages are used for user creation, so it is not possible to work around every case. (When creating a new user, and then changing sub-page, we'll need to create and show the user sub-page, and hit this.)

Nate's MR fixes a single case when switching to the same user, which should not cause the page to be re-created at all and lose state.

This may be a duplicate of BUG 476816 (likely at least related to), a more general issue of FormLayout's implementation (i.e. not with native code), or a specific issue in dynamically creating a FormLayout.
Comment 5 Nate Graham 2025-03-19 22:32:31 UTC
Yep, looks like exactly Bug 476816.

*** This bug has been marked as a duplicate of bug 476816 ***
Comment 6 Nate Graham 2025-03-31 22:32:44 UTC

*** This bug has been marked as a duplicate of bug 410352 ***