Bug 429468 - Screen locker KCM option to hide clock is misleading
Summary: Screen locker KCM option to hide clock is misleading
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_screenlocker (show other bugs)
Version: 5.23.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2020-11-21 17:25 UTC by Patrick Silva
Modified: 2022-07-25 15:14 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-11-21 17:25:00 UTC
SUMMARY
This bug affects both Arch Linux and neon unstable.

STEPS TO REPRODUCE
1. open system settings > workspace behavior > screen locking
2. click on "Configure..." button
3. uncheck "Clock"
4. click on "Apply" button
5. lock your screen
6. move cursor or press any key

OBSERVED RESULT
screen locker unexpectedly shows clock

EXPECTED RESULT
screen locker should not show clock

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2020-11-23 18:36:59 UTC
Weird, works for me.
Comment 2 Patrick Silva 2020-11-24 10:28:46 UTC
humm, I can reproduce on neon unstable even with a new user account.
Comment 3 Patrick Silva 2021-05-15 09:08:58 UTC
I can also reproduce with neon unstable (neon-unstable-20210404-0329.iso)
running on VirtualBox.
Comment 4 James Graham 2022-01-24 19:28:21 UTC
I can reproduce this on endeavor os. I also checked the other settings worked and they do (e.g. disable media controls works as expected).

Operating System: EndeavourOS
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series
Comment 5 Bacteria 2022-05-24 03:08:15 UTC
I was experiencing the exact opposite of this in Bug 454074 but I am not able to reproduce it anymore. Not sure what fixed it. Maybe changing plasma theme?
Comment 6 MountainX 2022-06-04 11:18:14 UTC
My problem may be related to this, although the specific issue is exactly the opposite.

Under System Settings > Workspace Behavior > Screen Locking > Appearance (Configure), I have `Show: Clock` checked. But the clock is not shown on the lock screen. 

I cannot locate any errors related to this. Everything else related to the lock screen works as expected. I don't normally show the Media Controls, but if I check that, they are shown, and when I uncheck it, they are not shown. The clock is the only lock screen feature I notice that refuses to work.

I'm running KDE Plasma 5 on Arch Linux, fully updated. The problem affects my desktop and laptop (both run Arch).

Under the directory `~/.local/share/plasma/` my only file/folder is `plasmoids`. I do not have a `~/.local/share/plasma/look-and-feel/` directory. I assume it should work without a custom theme and I assume I don't have that folder because I don't have a custom theme installed.
Comment 7 Nate Graham 2022-06-06 17:49:51 UTC
Can confirm this issue. MountainX, let's discuss your issue in Bug 454074.
Comment 8 MountainX 2022-06-06 22:27:09 UTC
(In reply to Nate Graham from comment #7)
> Can confirm this issue. MountainX, let's discuss your issue in Bug 454074.

I'm happy to discuss it in either issue report. Thank you for your interest in working on this. If you need more info, let me know.
Comment 9 Nate Graham 2022-07-21 23:46:09 UTC
I see the problem.

What this setting does is to *always* show the clock, even when the password prompt and user avatar are hidden. But the configuration UI doesn't make this clear. When you uncheck the checkbox, the clock will vanish along with everything else when the password prompt and user avatar are hidden, but it will always appear when they're visible, and there's no way to turn this off.

I'll change around the UI to make it clear.
Comment 10 Bug Janitor Service 2022-07-22 03:08:12 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1943
Comment 11 Nate Graham 2022-07-25 04:22:41 UTC
Git commit 8625eee79a650f96ab1997eb59c86fc8eef48865 by Nate Graham.
Committed on 25/07/2022 at 04:22.
Pushed by ngraham into branch 'master'.

lockscreen KCM: clarify clock and media control UI

The current UI does not communicate to the user at what times these UI
elements will be shown, leading to confusion. People are thinking that
unchecking the Clock checkbox always hides it, but this is not the
case; instead it hides the clock only when the main UI is invisible.

To address this, the wordings of the checkbox labels are changed to
indicate what the opposite states will do as well.
FIXED-IN: 5.26

M  +13   -3    lookandfeel/org.kde.breeze/contents/lockscreen/config.qml

https://invent.kde.org/plasma/plasma-workspace/commit/8625eee79a650f96ab1997eb59c86fc8eef48865
Comment 12 MountainX 2022-07-25 04:40:08 UTC
(In reply to Nate Graham from comment #9)
> I see the problem.
> 
> What this setting does is to *always* show the clock, even when the password
> prompt and user avatar are hidden. 

That's the result I would like. Can you explain how to make it happen? None of the settings I have tried will make the clock visible under any circumtances. I used to have a clock always on my lock screen. Not sure why it went away and I haven't been able to get it back.
Comment 13 Nate Graham 2022-07-25 04:44:36 UTC
I would suspect you're using a 3rd-party login screen theme or a fork of the default one, rather than the default Breeze theme.
Comment 14 MountainX 2022-07-25 04:50:06 UTC
(In reply to Nate Graham from comment #13)
> I would suspect you're using a 3rd-party login screen theme or a fork of the
> default one, rather than the default Breeze theme.

Afaik, I'm using the stock Breeze dark theme and my lock screen is Breeze. What is the best way to check that I'm using the lock screen theme you expect me to be using? Thanks.
Comment 15 Nate Graham 2022-07-25 15:14:18 UTC
Let's continue in Bug 454074, which tracks your specific issue.