Support Plasma 6.8 unlock prompts across screen blanking

Keep prompt visibility separate from native authentication, reapply the patch after lock-screen file updates, and retain Plasma 6.7 compatibility. Add modern patch and visibility regression tests and document Fedora 45 package support.
This commit is contained in:
ajp_anton committed 2026-11-14 02:09:04 +00:00
1 parent 851e0d1d24
commit d2a6aafc71
10 files changed
+871 -38

No files matched your search

+13 -10
View File
@@ -24,8 +24,10 @@ sudo dnf install plasma-panel-actions
## Compatibility
Packages are built and tested on Fedora 44 and 45.
The primary test environment is a Framework Laptop 13 Pro running Fedora Linux
44 on x86_64, with KDE Plasma 6.7 and a Wayland session using KWin.
44 on x86_64, with KDE Plasma 6.7–6.8 and a Wayland session using KWin.
Compatibility with other Fedora releases, desktop environments, display
systems, architectures, or distributions may be limited.
@@ -62,15 +64,16 @@ The `plasma-always-show-unlock` package keeps Plasma's password and fingerprint
prompt visible from the moment the lock screen appears, including after the
display is turned off or the system resumes from sleep.
The package applies a narrow patch to Plasma 6.7's lock-screen QML and reapplies
it after `plasma-desktop` updates. An unknown future layout is left unchanged
instead of being modified speculatively. Removing the package restores Plasma's
original behaviour. It retries lock-screen authentication after resume, the
automatic-lock grace period and idle fingerprint timeouts. Failed scans do not
trigger automatic retries. It does not modify `kscreenlocker` authentication
code or restart `fprintd`; retry support depends on the installed KScreenLocker.
An intermittent missing fingerprint prompt can still occur; pressing a key may
restore it. The idle retry is a workaround, not a complete fix for that issue.
On Plasma 6.8 and newer, a small QML policy keeps the prompt visible while
leaving authentication to Plasma. It tolerates unrelated layout changes and
reapplies automatically after updates replace the lock-screen file. Unsupported
interfaces are left unchanged. Removing the package restores Plasma's original
behaviour.
Plasma 6.7 uses the earlier patch, including retries after resume and idle
fingerprint timeouts. Neither version changes `kscreenlocker` authentication
code or restarts `fprintd`. Fingerprint availability depends on the installed
KScreenLocker and fingerprint driver.
### Plasma task-group shortcuts