Currently, one has only two choices when one wants to see quickly the seconds of the current time: a) Configure the clock to always show the seconds of the current time... and be distracted from the constant changes. b) Configure the clock to not show the seconds of the current time. On another shell, I made good experience with the following behaviour: Do not show the (distracting) seconds by default, but show them in somewhere the calendar pop-up which opens when the clock applet is being clicked. An alternative could be to add the seconds to the applet as long as the calendar pop-up is open (this way, hours and minutes do not have to be repeated in the calendar pop-up)
Created attachment 155041 [details] suggestions-state-1-default
Created attachment 155042 [details] suggestions-state-2-click-opens-popup-and-shows-seconds
Will be implemented by https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2232.
(In reply to Nate Graham from comment #3) > Will be implemented by > https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2232. Great, thx :) I am excited how this will feel in practice :). My current concerns are: 1) the delay until the tooltip becomes visible might be troubling when time is of the essence 2) the tooltip disappears after a few seconds so using the feature to oversee a timespan greater than a few seconds won't work so well.
The tooltip actually doesn't time out now.
Ah, great to hear :). With LTS version I am so not up-to-date 🙈
Git commit a521f5ada3dadbe938c662a607aa28737530bd8e by Fushan Wen, on behalf of Alessio Bonfiglio. Committed on 25/01/2023 at 03:53. Pushed by fusionfuture into branch 'master'. Make clocks tooltip consistent and add seconds Having the seconds visible in your clock widget can be distracting, so most people decide to keep them hidden. Sometimes though it happens that you may need to know them: the idea behind this mr is to make them always available in the tooltip of the clock widgets. And also make these tooltips consistent with each others as a bonus. Unfortunately I'm no expert with qml, and I got stuck trying to accessing the tooltip inside the widget qml sources. I need to know when the tooltip is shown in order to change the sampling time and the alignment type of the time datasource. In the case of the digital clock, I can get that through `Plasmoid.toolTipItem.visible` because a custom tooltip is used, but in the analog clock this isn't the case and so `Plasmoid.toolTipItem` doesn't reference anything. I'd need to access the `visible` property of the `ToolTipDialog` currently in use, and probably a good solution would be to connect that to a new signal in `appletinterface`, but I haven't even understood how that is, for example, connected to the `ToolTip` class for example, so any help/suggestion would be welcomed. Otherwise I could make a custom tooltip in the analog clock too and use the same trick as for the digital one, but it sounds more like a hack than a solution. PS: As soon as I fix the problem above I'll take care of the fuzzy and binary clocks too. FIXED-IN: 6 M +2 -1 applets/analog-clock/contents/ui/analogclock.qml M +3 -3 applets/digital-clock/package/contents/config/main.xml M +4 -2 applets/digital-clock/package/contents/ui/CalendarView.qml M +6 -6 applets/digital-clock/package/contents/ui/DigitalClock.qml M +5 -3 applets/digital-clock/package/contents/ui/Tooltip.qml M +23 -4 applets/digital-clock/package/contents/ui/configAppearance.qml M +12 -4 applets/digital-clock/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/commit/a521f5ada3dadbe938c662a607aa28737530bd8e
Git commit 25b3e3d6c2a69e7266634999f183f023826f722d by Fushan Wen. Committed on 25/01/2023 at 03:55. Pushed by fusionfuture into branch 'master'. applets/digital-clock: use enum for `showSeconds` config entry M +7 -2 applets/digital-clock/package/contents/config/main.xml M +3 -5 applets/digital-clock/package/contents/ui/CalendarView.qml M +3 -4 applets/digital-clock/package/contents/ui/DigitalClock.qml M +2 -2 applets/digital-clock/package/contents/ui/Tooltip.qml M +9 -22 applets/digital-clock/package/contents/ui/configAppearance.qml M +2 -5 applets/digital-clock/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/commit/25b3e3d6c2a69e7266634999f183f023826f722d
Git commit 93aec80b5c2691d21e4b1ef03ab8507688cc019c by Fushan Wen. Committed on 25/01/2023 at 04:01. Pushed by fusionfuture into branch 'master'. applets/digital-clock: fix wrong default value in kcfg xml M +3 -3 applets/digital-clock/package/contents/config/main.xml https://invent.kde.org/plasma/plasma-workspace/commit/93aec80b5c2691d21e4b1ef03ab8507688cc019c
Git commit 3877f1d21501e743767d0fab14479ca908220d3f by Fushan Wen. Committed on 25/01/2023 at 03:58. Pushed by fusionfuture into branch 'master'. applets/digital-clock: add update script for `showSeconds` config entry See also https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2232 A +21 -0 desktoppackage/contents/updates/digitalclock_migrate_showseconds_setting.js https://invent.kde.org/plasma/plasma-desktop/commit/3877f1d21501e743767d0fab14479ca908220d3f