Bug 480641 - fprint GUI setup does not work
Summary: fprint GUI setup does not work
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_users (show other bugs)
Version: 5.92.0
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-31 23:06 UTC by Henning
Modified: 2024-02-10 13:42 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning 2024-01-31 23:06:18 UTC
In systemsettings when setting up the fingerprint for a user, it didnt do anything. Normally there would be an interactive setup, with the turning circle etc. It seemed to not work.

kcm_ufprintd-enroll in terminal works normally, and actually told me the right-index-finger was already enrolled.

So I assume this is only a KDE bug?

Specified App:
libfprint-1.94.5-3.fc39.x86_64
fprintd-1.94.2-8.fc39.x86_64
fprintd-pam-1.94.2-8.fc39.x86_64

--- Software ---
OS: Fedora Linux 40.20240130.0 (Kinoite Prerelease)
KDE Plasma: 5.92.0
Kernel: 6.8.0-0.rc0.20240112git70d201a40823.5.fc40.x86_64
Compositor: wayland

--- Hardware ---
Thinkpad T495
Synaptics, Inc. Prometheus MIS Touch Fingerprint Reader
Comment 1 Henning 2024-01-31 23:21:38 UTC
also even though set up successfully, it does not yet work on the lock screen. this may just be because of the user not having logged out and in again
Comment 2 Nate Graham 2024-02-06 22:58:14 UTC
I'm afraid you're going to have to be a lot more specific than "it didnt do anything." Can you open `systemsettings kcm_users` in a terminal window, and then tile the terminal window to one side of the screen and the System Settings window to the other, and then attach a full screen screen recording of yourself enrolling your finger that shows the issue happening as well as the log output in the terminal window throughout the process?

The lock screen issue is likely due to a local PAM misconfiguration; see https://community.kde.org/Plasma/Plasma_6.0_Release_notes#New_required_PAM_configuration
Comment 3 Henning 2024-02-07 10:43:05 UTC
>> systemsettings kcm_users
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"
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///var/home/kinoite/.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:///var/home/kinoite/.face
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///var/home/kinoite/.face
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///var/home/kinoite/.face
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///var/home/user/.face?0
qt.dbus.integration: QDBusConnection: name 'net.reactivated.Fprint' had owner '' but we thought it was ':1.174'
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///var/home/kinoite/.face?0
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///var/home/user/.face?0
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Cannot open: file:///var/home/kinoite/.face
Attempted to set unsupported sample count 40
Attempted to set unsupported sample count 40
# then I had already cancelled the setup because nothing happened.

meanwhile fprint-enroll

>> fprintd-enroll 
Using device /net/reactivated/Fprint/Device/0
Enrolling right-index-finger finger.
Enroll result: enroll-duplicate
# I used that right index finger in the GUI too!

>> fprintd-enroll -f right-thumb
Using device /net/reactivated/Fprint/Device/0

Enrolling right-thumb finger.
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-completed


RESULT

This is really strange. The right thumb is now shown as registered in the systemsettings GUI, but the left index finger which gave an error is not shown. This may be a libfprint bug. I also already tried to delete the fingerprint earlier.

fprintd-delete *
found 1 devices
Device at /net/reactivated/Fprint/Device/0
Using device /net/reactivated/Fprint/Device/0
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
No fingerprints to delete on Synaptics Sensors
Comment 4 Henning 2024-02-07 10:45:21 UTC
I was also able to completely normally register a different finger through the GUI, I think this is just systemsettings reacting because libfprint is not reacting.

Now after this seemingly resultless fprintd-delete I open systemsettings again in the user section and it is still showing the entries. I cannot use the fingerprints in pkexec and sudo though.
Comment 5 Nate Graham 2024-02-07 17:26:34 UTC
So both the GUI and CLI fail to enroll your left index finger, but both succeed at enrolling all other fingers? Do I have that right?
Comment 6 Henning 2024-02-10 13:42:01 UTC
No, I assume this is purely an fprintd bug and not KDE related

setting up 2 different fingers through the GUI worked normally, but even the CLI didnt allow to remove that zombie default right index finger.

I will close this bug for now as "upstream" and link it to Fedora Bugzilla