Bug 493422 - No longer possible to show clock on prompt but hide it when prompt is hidden
Summary: No longer possible to show clock on prompt but hide it when prompt is hidden
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Screen locking (show other bugs)
Version: 6.2.0
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-09-21 08:41 UTC by Kai Uwe Broulik
Modified: 2025-03-07 22:59 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2024-09-21 08:41:48 UTC
SUMMARY
There is only an optioon “Show Clock” now which either hides or shows the clock. The screen saver use case of showing the clock only on the prompt is no longer properly supported.


STEPS TO REPRODUCE
1. Go to screen locker settings
2. Click “change appearance”

OBSERVED RESULT
Only a global clock option is there

EXPECTED RESULT
It is possible to show the clock only on the prompt (screen saver use case)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: git master as of 2024-09-14
Qt Version: 6.7.2

ADDITIONAL INFORMATION
The settings changed without my intervention and and my clock is completely gone now
Comment 1 Nate Graham 2024-09-23 15:50:29 UTC
This was an intentional change in Plasma 6.2 to simplify how we communicate when the clock appears, but it could be reconsidered. We could conceivably make this a three-state setting:

> Show clock: (o) Always
>             (o) While unlock prompt is visible
>             (o) Never
Comment 2 Be 2024-09-23 17:18:01 UTC
What is the use case for only showing the clock in the very specific situation after the mouse or keyboard have been touched?

Turning the binary option into a three state option could do this, but I'm unclear what the purpose would be and if that would be worth the complexity in the code and preferences GUI.
Comment 3 Nate Graham 2024-09-23 17:46:48 UTC
"Screensaver mode" where everything fades out after no interaction, so you can see only the wallpaper.
Comment 5 Kai Uwe Broulik 2025-03-07 20:51:55 UTC
Git commit 8171979a35e0df57b2cf633ba528c46e83ef7b08 by Kai Uwe Broulik.
Committed on 07/03/2025 at 20:15.
Pushed by broulik into branch 'master'.

lookandfeel: Restore alwaysShowClock option in WallpaperFader

An option to show the clock only during unlock prompt will be added again,
soverignty over this property is now with the user, not doing any automagic
config reading anymore.

This partially reverts commit 976158932b1d094ff70a5ebd0b1cb7807fb4681f.

M  +18   -0    lookandfeel/components/WallpaperFader.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/8171979a35e0df57b2cf633ba528c46e83ef7b08
Comment 6 Kai Uwe Broulik 2025-03-07 22:58:37 UTC
Git commit 053eebd8a9281d23d7fad6e7bb91df05db072fca by Kai Uwe Broulik.
Committed on 07/03/2025 at 21:18.
Pushed by ngraham into branch 'master'.

Lock Screen: Restore option to show clock only during unlock prompt

Originally, the clock was always shown on the logout prompt.
However, this was changed, and now the clock is either always there
or never there.

This adds a third option restoring original behavior and allowing
a proper screen saver use case again (e.g. no clock when idle
but the clock when the logout prompt is shown)

M  +1    -0    desktoppackage/contents/lockscreen/LockScreenUi.qml
M  +47   -9    desktoppackage/contents/lockscreen/config.qml
M  +5    -0    desktoppackage/contents/lockscreen/config.xml

https://invent.kde.org/plasma/plasma-desktop/-/commit/053eebd8a9281d23d7fad6e7bb91df05db072fca