Summary: | Option to hide clock from login & lock screens *completely* | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Be <be.0> |
Component: | general | Assignee: | Be <be.0> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | nate, visual-design |
Priority: | NOR | ||
Version: | 5.27.8 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/7a98fd6fb68e861ed92673b41e09dcb0d64cbedd | Version Fixed In: | 6.2.0 |
Sentry Crash Report: |
Description
Be
2023-07-24 18:27:59 UTC
I also hacked the Clock component in /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml to set the visible property to always `false` to hide the clock from the lock screen. There is an option for this in System Settings > Workspace Behavior > Screen Locking. As noted in the first comment, the existing configuration option has no effect on the login screen before logging in or starting to type on the lock screen. I don't know what the point of the existing option is or if it's really worthwhile to have it there. I suggest replacing it with a simple boolean toggle to hide the clock from both the login screen and lock screen. After updating to KDE 6, the file /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml is still there for the lock screen, but the file that needs editing for the login screen has moved to /usr/share/sddm/themes/breeze/Main.qml. In both cases, set the `visible` property to always `false` for the clock. I would like a proper solution to this that doesn't require me hacking QML files after package updates. SDDM is still around in KDE 6.0, but looking at https://invent.kde.org/plasma/plasma-desktop/-/issues/91 it seems its future in KDE is still unclear? In the meantime, changing the existing "Clock: Keep visible when unlocking prompt disappears" to a simple boolean toggle to show the clock on the lock screen could be done regardless of whatever happens with the display manager. Merge requests for the lock screen: https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2365 https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4499 Merge requests for login screen: https://invent.kde.org/plasma/sddm-kcm/-/merge_requests/74 https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2366 Git commit 7a98fd6fb68e861ed92673b41e09dcb0d64cbedd by Nate Graham, on behalf of Be Ing. Committed on 09/08/2024 at 17:22. Pushed by ngraham into branch 'master'. Use simple toggle to hide/show clock on lock screen Part of https://invent.kde.org/plasma/plasma-desktop/-/issues/133. This replaces the existing option "Clock: Keep visible when unlocking prompt disappears" with a simple toggle that controls whether the clock is always or never shown on the lock screen. From the discussion when the old option was implemented, (https://phabricator.kde.org/D24893) the use case for the old option was for users who want an unobstructed view of the lock screen background. This use case can still be satisfied by the new option, and perhaps the simplicity of the new option will make it easier to discover, as the old description in the UI was rather awkward. The difference with the new option is that it does not matter whether the user is currently typing their password. With the old option, the clock would still be shown when the user moved the mouse or started typing, which didn't give users a choice to not see a clock at all. FIXED-IN: 6.2.0 M +2 -2 desktoppackage/contents/lockscreen/LockScreenUi.qml M +2 -2 desktoppackage/contents/lockscreen/config.qml M +1 -1 desktoppackage/contents/lockscreen/config.xml https://invent.kde.org/plasma/plasma-desktop/-/commit/7a98fd6fb68e861ed92673b41e09dcb0d64cbedd Git commit 5fbc85d9a659bf50ea33724bda80e68c5ca7f8ce by Nate Graham, on behalf of Be Ing. Committed on 09/08/2024 at 17:31. Pushed by ngraham into branch 'master'. SDDM theme: add option to hide clock Part of https://invent.kde.org/plasma/plasma-desktop/-/issues/133. UI to change it is in https://invent.kde.org/plasma/sddm-kcm/-/merge_requests/74 M +2 -2 sddm-theme/Main.qml M +1 -0 sddm-theme/theme.conf.cmake https://invent.kde.org/plasma/plasma-desktop/-/commit/5fbc85d9a659bf50ea33724bda80e68c5ca7f8ce Git commit 976158932b1d094ff70a5ebd0b1cb7807fb4681f by Nate Graham, on behalf of Be Ing. Committed on 09/08/2024 at 17:50. Pushed by ngraham into branch 'master'. Remove alwaysShowClock option from WallpaperFader Part of https://invent.kde.org/plasma/plasma-desktop/-/issues/133. It is no longer used since changing to a simple binary preference for showing or hiding the clock. M +0 -18 lookandfeel/components/WallpaperFader.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/976158932b1d094ff70a5ebd0b1cb7807fb4681f Git commit bc5773f99d83c898d38db6f16311bb3299c3502c by Nate Graham, on behalf of Be Ing. Committed on 16/09/2024 at 12:37. Pushed by ngraham into branch 'master'. Add option to hide clock in Breeze theme Closes https://invent.kde.org/plasma/plasma-desktop/-/issues/133. Requires https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2366 M +3 -0 src/sddmkcm.cpp M +16 -5 src/themesmodel.cpp M +2 -0 src/themesmodel.h M +10 -1 src/ui/main.qml https://invent.kde.org/plasma/sddm-kcm/-/commit/bc5773f99d83c898d38db6f16311bb3299c3502c Note that the GUI for configuring hiding the clock from the login screen will be in 6.3, not 6.2. In 6.2, manually editing the SDDM theme's theme.conf.user file to change `showClock = true` to `showClock = false` should hide the clock. |