Bug 454074 - Clock missing on lock screen
Summary: Clock missing on lock screen
Status: RESOLVED FIXED
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: 5.24.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-05-20 07:37 UTC by Bacteria
Modified: 2022-07-25 22:46 UTC (History)
6 users (show)

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


Attachments
Clock missing when screen is locked. Clock also missing when system is untouched. (1.97 MB, video/x-matroska)
2022-05-20 07:37 UTC, Bacteria
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bacteria 2022-05-20 07:37:16 UTC
Created attachment 149015 [details]
Clock missing when screen is locked. Clock also missing when system is untouched.

SUMMARY
Clock is missing on the lock screen. There are 2 clocks, one that appears with the password field and one which appears when system is untouched for some time.

STEPS TO REPRODUCE
1. Lock the screen using Kickoff or keyboard shortcut (Meta+L)

OBSERVED RESULT
Only lock screen wallpaper is visible but no clock is present. When mouse or keyboard is used then the password field with clock comes up.

EXPECTED RESULT
A clock should come with wallpaper like it used to. When system is untouched then too the clock should appear with wallpaper.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-05-23 20:26:08 UTC
Can you go to System Settings > Workspace Behavior > Screen Locking > Appearance and see if the "Clock" checkbox is checked or not?
Comment 2 Bacteria 2022-05-24 02:27:26 UTC
The checkbox is checked but strangely I can't reproduce this anymore. Not sure what changed. I guess I will close it now and will reopen if I reproduce it.
Comment 3 MountainX 2022-06-04 11:19:56 UTC
I have the same issue, also on Arch Linux. Unfortunately, it is not resolved for me.
Comment 4 Nate Graham 2022-06-06 17:48:18 UTC
You said in Bug 429468 that you're experiencing the opposite issue from this one, not exactly the same thing. Let's discuss your issue there.
Comment 5 Nate Graham 2022-06-06 17:49:24 UTC
Oops I misunderstood, sorry.
Comment 6 David Edmundson 2022-06-17 07:21:32 UTC
I believe this is fixed for 5.25.0
Comment 7 MountainX 2022-07-25 04:45:19 UTC
(In reply to David Edmundson from comment #6)
> I believe this is fixed for 5.25.0

Not fixed for me. 
Arch Linux
$ plasmashell --version
plasmashell 5.25.0
Comment 8 MountainX 2022-07-25 18:58:24 UTC
My theme is Breeze Dark. It is the standard package, not a fork. It is installed from the "Extra" Arch Linux repo. All my files in /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/ are original, unmodified.

usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockOsd.qml
usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreen.qml
usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml
usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MainBlock.qml
usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml
usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/NoPasswordUnlock.qml
usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/config.qml
usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/config.xml

All those files are owned by the plasma-workspace 5.25.3.1-1 package.

The only non-standard component I'm using is an sddm login theme, but I have read that the login and lockscreen themes are independent.
Comment 9 Nate Graham 2022-07-25 20:41:17 UTC
The video in the original report depicts a valid state, so I suspect it was caused by the same misunderstanding that other people reported in Bug 429468, which has been resolved for Plasma 5.26 by clarifying the text in the config window.

If you're *never* seeing the clock on the lock screen--either when the auth prompt is visible or also when it's not visible--that would be a different bug. Can you file a new bug report for it? In that bug report, please run `kscreenlocker_greet --testing` and paste the output.

(note: if kscreenlocker_greet is not be in your $PATH, you'll have to locate it manually)

Thanks!
Comment 10 MountainX 2022-07-25 22:03:31 UTC
(In reply to Nate Graham from comment #9)
> The video in the original report depicts a valid state, so I suspect it was
> caused by the same misunderstanding that other people reported in Bug
> 429468, which has been resolved for Plasma 5.26 by clarifying the text in
> the config window.
> 
> If you're *never* seeing the clock on the lock screen--either when the auth
> prompt is visible or also when it's not visible--that would be a different
> bug. Can you file a new bug report for it? In that bug report, please run
> `kscreenlocker_greet --testing` and paste the output.
> 
> (note: if kscreenlocker_greet is not be in your $PATH, you'll have to locate
> it manually)
> 
> Thanks!

Does my comment in Bug 457142 contain the info you need? I included the output of  `kscreenlocker_greet --testing`  (and I didn't see anything useful in there, but I'm not a dev).
Comment 11 Nate Graham 2022-07-25 22:46:00 UTC
Yeah that's what I need, thanks.