Bug 478961

Summary: User not shown and impossible to add a user
Product: [Applications] systemsettings Reporter: Enrico <enricobe>
Component: kcm_usersAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: tmassimi, uhhadd
Priority: NOR Keywords: qt6
Version First Reported In: 5.91.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: this is my systemsettings-users section

Description Enrico 2023-12-24 09:58:10 UTC
SUMMARY
***
When opening the user section of systemsettings nothing is shown and I can't add a new user.
***


STEPS TO REPRODUCE
1. Open systemsettings
2. Go in the users sections
3. Try to add a user

OBSERVED RESULT
When opening the settings page none of the users is shown. If I try to add an user, it does nothing

Doing these actions, the konsole output shows:
 enrico  ~  systemsettings 
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
org.kde.kcm_users: "The name org.freedesktop.Accounts was not provided by any .service files"
"The name net.reactivated.Fprint was not provided by any .service files"
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
qrc:/kcm/kcm_users/UserDetailsPage.qml:78: TypeError: Cannot read property 'realName' of null
qrc:/kcm/kcm_users/UserDetailsPage.qml:20: TypeError: Cannot read property 'displayPrimaryName' of null
qrc:/kcm/kcm_users/UserDetailsPage.qml:108: TypeError: Cannot read property 'realName' of null
qrc:/kcm/kcm_users/UserDetailsPage.qml:106: TypeError: Cannot read property 'face' of null
qrc:/kcm/kcm_users/UserDetailsPage.qml:131: TypeError: Cannot read property 'realName' of null
qrc:/kcm/kcm_users/UserDetailsPage.qml:139: TypeError: Cannot read property 'name' of null
qrc:/kcm/kcm_users/UserDetailsPage.qml:156: TypeError: Cannot read property 'administrator' of null
qrc:/kcm/kcm_users/UserDetailsPage.qml:163: TypeError: Cannot read property 'email' of null
qrc:/kcm/kcm_users/UserDetailsPage.qml:185: TypeError: Cannot read property 'loggedIn' of null
qrc:/kcm/kcm_users/UserDetailsPage.qml:64: TypeError: Cannot read property 'realName' of null
qrc:/kcm/kcm_users/CreateUser.qml:18:5: ReferenceError: mainColumn is not defined
qrc:/kcm/kcm_users/CreateUser.qml:17:5: ReferenceError: mainColumn is not defined

EXPECTED RESULT
My user should be visible and I should be able to add another user

SOFTWARE/OS VERSIONS
Operating System: KaOS (2023) 
KDE Plasma Version: 5.91.0
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1
Kernel Version: 6.5.11-1 (64-bit)
Graphics Platform: Wayland
Comment 1 Tom Max 2023-12-26 22:35:55 UTC
Cannot reproduce this problem,

my Konsole output:
tom1@tom-neon:~$ systemsettings
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
"The name net.reactivated.Fprint was not provided by any .service files"
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///home/tom1/.face?0
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///home/tom1/.face
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///home/tom1/.face
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///home/tom1/.face
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///home/tttuser/.face?0
qrc:/kcm/kcm_users/CreateUser.qml:18:5: ReferenceError: mainColumn is not defined
qrc:/kcm/kcm_users/CreateUser.qml:17:5: ReferenceError: mainColumn is not defined
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///home/test/.face?0
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///home/test/.face
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///home/test/.face
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///home/test/.face
qrc:/qt/qml/org/kde/kcmutils/AbstractKCM.qml:96: TypeError: Cannot read property 'width' of null



SOFTWARE/OS VERSIONS
Operating System: KaOS (2023) 
KDE Plasma Version: 5.91.0
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1
Kernel Version: 6.5.11-1 (64-bit)
Graphics Platform: Wayland
Comment 2 Tom Max 2023-12-26 22:37:17 UTC
Created attachment 164458 [details]
this is my systemsettings-users section
Comment 3 Enrico 2023-12-27 06:30:41 UTC
Thank you very much for checking. I've tested it on a Neon Unstable Live disc and it seems to work.
I can't see users, probably because of the Live system, but I can create them. New users appear in the list, so it seems to be some kind of KaOS packaging issues. I'll report it to KaOS support channels.