Bug 487448 - Superuser avatar appears as modifiable, but cannot be modified via Users KCM.
Summary: Superuser avatar appears as modifiable, but cannot be modified via Users KCM.
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_users (show other bugs)
Version: 6.0.4
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL: https://unix.stackexchange.com/revisi...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-23 22:01 UTC by Roke Julian Lockhart Beedell
Modified: 2024-05-24 11:02 UTC (History)
1 user (show)

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


Attachments
Demonstration of the problem. (395.71 KB, video/webm)
2024-05-23 22:01 UTC, Roke Julian Lockhart Beedell
Details
Depiction of the automatically selected user modification page. (94.79 KB, image/png)
2024-05-24 11:02 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2024-05-23 22:01:26 UTC
Created attachment 169755 [details]
Demonstration of the problem.

SUMMARY
When authenticated as the superuser, the Users KCM displays the avatar selection psuedo-window, yet does not enable the user to modify the avatar for the account.

STEPS TO REPRODUCE
1.  Name the superuser `root`.
2.  Log in as the superuser via SDDM.
3.  *   1.  Invoke `systemsettings`
        2.  Navigate to "Users".
    *   Invoke `kcmshell6 kcm_users`.
4.  Attempt to select an avatar.

If you select another using this process, you shall need to switch to another KCM (or, if there are no others in System Settings, or you've used KCMShell, reinitialize the KCM/SS). This is because root is not listed amongst the user list, irrespective of the current user. I shall report this separately - check "See also".

OBSERVED RESULT
I'm unable to modify the avatar.

EXPECTED RESULT
I should be able to, since the superuser's user elements remain non-disabled (and consequently apparently modifiable).

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.8.10-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: ASRock
Product Name: X670E Taichi

ADDITIONAL INFORMATION
As https://unix.stackexchange.com/revisions/609334/2#:~:text=When%20I%20go%20to%20the,I%20cannot%20change%20its%20avatar explains, others have experienced this and been confused.
Comment 1 Janet Blackquill 2024-05-23 22:32:57 UTC
The accounts service intentionally does not support modifying the root user, and the entire reason this system module exists and makes use of the AS is to remove the need for graphical usage of root. This is an unsupported usecase on multiple fronts.
Comment 2 Roke Julian Lockhart Beedell 2024-05-24 10:59:51 UTC
(In reply to Janet Blackquill from comment #1)
Comment 3 Roke Julian Lockhart Beedell 2024-05-24 11:02:32 UTC
Created attachment 169766 [details]
Depiction of the automatically selected user modification page.

(In reply to Janet Blackquill from comment #1)
In that case, this is even more important - you can't display a user modification page and then state that it's unsupported. The Users KCM needs to automatically select the top visible user account, rather than root's. I implore you to re-read the issue and, especially, view https://bugs.kde.org/attachment.cgi?id=169756&action=edit, then see https://bugs.kde.org/attachment.cgi?id=169755&action=edit.