Bug 428243 - Cannot select initial picture for a user
Summary: Cannot select initial picture for a user
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_users (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Janet Blackquill
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-25 20:25 UTC by Alexander Potashev
Modified: 2021-11-01 21:53 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2020-10-25 20:25:19 UTC
SUMMARY
Cannot select initial picture for a user.

STEPS TO REPRODUCE
1. Open Users KCM in Systemsettings
2. Click on a user
3. Make sure the user has a name, e.g. "abc"
4. Click on the avatar
5. Click on the icon "a" (which is the first letter in "abc")
6. Click on one of the colored icons "a"

OBSERVED RESULT
Nothing visibly happens. On the command line though:

file:///usr/share/kpackage/kcms/kcm_users/contents/ui/UserDetailsPage.qml:425:29: QML Rectangle: grabToImage: item's window is not visible


EXPECTED RESULT
The avatar should change to the selected colored initial-based icon.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.73.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
kcm users built from Git master.
Comment 1 Janet Blackquill 2020-10-25 20:29:45 UTC
This is what happens when you run the users KCM with a Qt version below that of Plasma's minimum (5.15).

Update your Qt to at least Plasma's minimum and this should work.
Comment 2 David Edmundson 2020-10-25 22:54:47 UTC
Just to clarify:

KDE Plasma Version: 5.18.5
Qt 5.14 is supported there.


That also means alex isn't using the redesigned users kcm.
Comment 3 Janet Blackquill 2020-10-25 22:57:36 UTC
Alexander said he was using the users KCM from git master; which would be in Plasma 5.21; and the given error is from a source file in the new KCM.
Comment 4 Alexander Potashev 2021-11-01 21:53:40 UTC
Cannot reproduce on Plasma 5.22.5. Thanks!