[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-12-12 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=505987

Fushan Wen  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kscreenlocker/-/commit/5 |ma/kscreenlocker/-/commit/b
   |c2e6e1e877c1a0ecd915d4b9177 |4f2195ecbfa4bee36ade689c7f2
   |3cf9c56734e6|4d9dde300dbd

--- Comment #13 from Fushan Wen  ---
Git commit b4f2195ecbfa4bee36ade689c7f24d9dde300dbd by Fushan Wen.
Committed on 13/12/2025 at 03:02.
Pushed by fusionfuture into branch 'Plasma/6.5'.

šŸ’greeter: fix hanging when unlocking via loginctl over KDE Connect

`fail_delay` used to sleep in the thread, which blocks the screen locker
from quiting when another unlock attempt succeeds. This records the next
attempt allowed time point in each worker and checks it in
`PamWorker::authenticate()` to make sure a previous failing worker
doesn't affect other successful attempts to unlock the screen.

How to reproduce:
1. Meta + L
2. Move the mouse so the password input field appears (IMPORTANT)
3. Run unlock via KDE connect
4. Observe frozen screen/black screen if mouse is moved
Related: bug 506343
FIXED-IN: 6.5.5


(cherry picked from commit 5c2e6e1e877c1a0ecd915d4b91773cf9c56734e6)

Co-authored-by: Fushan Wen 

M  +13   -4greeter/pamauthenticator.cpp

https://invent.kde.org/plasma/kscreenlocker/-/commit/b4f2195ecbfa4bee36ade689c7f24d9dde300dbd

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-12-12 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=505987

Nate Graham  changed:

   What|Removed |Added

Version|6.5.4   |6.5.5
  Fixed/Implemented||
 In||

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-12-12 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=505987

David Edmundson  changed:

   What|Removed |Added

Version||6.5.4
  Fixed/Implemented||
 In||
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/kscreenlocker/-/commit/5
   ||c2e6e1e877c1a0ecd915d4b9177
   ||3cf9c56734e6
 Status|ASSIGNED|RESOLVED

--- Comment #12 from David Edmundson  ---
Git commit 5c2e6e1e877c1a0ecd915d4b91773cf9c56734e6 by David Edmundson, on
behalf of Fushan Wen.
Committed on 12/12/2025 at 19:09.
Pushed by davidedmundson into branch 'master'.

greeter: fix hanging when unlocking via loginctl over KDE Connect

`fail_delay` used to sleep in the thread, which blocks the screen locker
from quiting when another unlock attempt succeeds. This records the next
attempt allowed time point in each worker and checks it in
`PamWorker::authenticate()` to make sure a previous failing worker
doesn't affect other successful attempts to unlock the screen.

How to reproduce:
1. Meta + L
2. Move the mouse so the password input field appears (IMPORTANT)
3. Run unlock via KDE connect
4. Observe frozen screen/black screen if mouse is moved
Related: bug 506343
FIXED-IN: 6.5.4

M  +13   -4greeter/pamauthenticator.cpp

https://invent.kde.org/plasma/kscreenlocker/-/commit/5c2e6e1e877c1a0ecd915d4b91773cf9c56734e6

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-11-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=505987

[email protected] changed:

   What|Removed |Added

 CC||[email protected]

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-11-24 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=505987

Fushan Wen  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=506567

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-11-24 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=505987

Fushan Wen  changed:

   What|Removed |Added

   Keywords|junior-jobs |regression

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-11-24 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=505987

Fushan Wen  changed:

   What|Removed |Added

 CC||[email protected]
 Status|CONFIRMED   |ASSIGNED

--- Comment #11 from Fushan Wen  ---
https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/296

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-11-09 Thread Taras Oleksyn
https://bugs.kde.org/show_bug.cgi?id=505987

Taras Oleksyn  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #10 from Taras Oleksyn  ---
(In reply to Nate Graham from comment #7)

> There's a bit of code in the Users KCM that can detect the presence of a
> fingerprint reader device that could perhaps be moved up a level and used
> here:
> https://invent.kde.org/plasma/plasma-workspace/-/blob/master/kcms/users/src/
> fingerprintmodel.cpp#L79
> 
> And then we'd have to do the same thing for smartcards.
Hi, what would be a good way of moving fingerprint related code up a level? 
Something like plasma-workspace/libfingerprint ?

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-10-24 Thread John Veness
https://bugs.kde.org/show_bug.cgi?id=505987

John Veness  changed:

   What|Removed |Added

 CC||[email protected]

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-09-16 Thread TraceyC
https://bugs.kde.org/show_bug.cgi?id=505987

TraceyC  changed:

   What|Removed |Added

 CC||[email protected]

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-09-16 Thread TraceyC
https://bugs.kde.org/show_bug.cgi?id=505987

TraceyC  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #9 from TraceyC  ---
*** Bug 509542 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-08-25 Thread Domker
https://bugs.kde.org/show_bug.cgi?id=505987

Domker  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #8 from Domker  ---
I have been experiencing this problem for some time as well, even though this
is a desktop computer without a fingerprint reader or smartcard. The problem is
directly related to
'/usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/MainBlock.qml',
that is, the 'plasma-desktop' package. 

I don't even have the 'fprintd' package installed. In '/etc/pam.d/' there are
files named 'kde-fingerprint' and 'kde-smartcard', which are part of the
'kscreenlocker' package. 
I tried commenting out '-auth required pam_fprintd.so', but this causes the
screen lock not to ask for a password; there is only an 'unlock' button.
Moreover, with 'fairlock' configured, using this button locks the entire user
account.

kinfo output: 
Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 Ɨ IntelĀ® Coreā„¢ i7-4790K CPU @ 4.00GHz
Memory: 16 GiB of RAM (15.6 GiB usable)
Graphics Processor: NVIDIA GeForce GTX 980
Manufacturer: ASUS
Product Name: All Series

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-08-01 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=505987

Nate Graham  changed:

   What|Removed |Added

   Keywords||junior-jobs

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-07-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=505987

Nate Graham  changed:

   What|Removed |Added

 CC||[email protected],
   ||[email protected]

--- Comment #7 from Nate Graham  ---
Indeed, the problem is here:
https://invent.kde.org/plasma/plasma-desktop/-/blob/master/desktoppackage/contents/lockscreen/MainBlock.qml#L131

That code takes into account only that an authentication type is supported on
the system in theory, not that the hardware for it is present, or that the user
has indicated they wish to use it.

There's a bit of code in the Users KCM that can detect the presence of a
fingerprint reader device that could perhaps be moved up a level and used here:
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/kcms/users/src/fingerprintmodel.cpp#L79

And then we'd have to do the same thing for smartcards.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-07-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=505987

Nate Graham  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Severity|normal  |minor
 Status|REPORTED|CONFIRMED

--- Comment #6 from Nate Graham  ---
Can reproduce on a KDE Linux system that's had PAM set up for fingerprint auth.
The text briefly appears on the lock screen despite the system not actually
having fingerprint reader hardware.

We should probably conditionalize the text's appearance on the user having
actually set up the system for using a fingerprint reader.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-07-19 Thread Dan
https://bugs.kde.org/show_bug.cgi?id=505987

--- Comment #5 from Dan  ---
As an end-user, how am i meant to know exactly which component it is? idk for
sure if its login screen, lock screen or SDDM. All are essentially the same to
me. Even if it's not quite the right place, i feel like its worth mentioning
anyway so that something can be done about it.
Follow the steps to reproduce the bug and it's that screen that i'm on about.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 505987] Fingerprint and smartcard text briefly appear when not supported

2025-07-12 Thread Wuzado
https://bugs.kde.org/show_bug.cgi?id=505987

Wuzado  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
Product|plasma-login-manager|plasmashell
 Status|NEEDSINFO   |REPORTED
  Component|general |Screen locking
   Target Milestone|--- |1.0
  Version First|unspecified |6.4.2
Reported In||

--- Comment #4 from Wuzado  ---
Hi, I'd be happy more than happy to answer any questions regarding this bug - I
can still reproduce this issue on the newest (6.4.2/6.16.0) KDE version.

Sidenote - I can't seem to be able to change the component from general to
Screen locking. Could anyone change it to the correct one? Thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.