Created attachment 156328 [details] Screenshot of the digital clock tooltip displaying timezone and time SUMMARY The digital clock on the panel now shows the timezone and time in the tooltip under the date when just one timezone is used. In Plasma 5.26.5 and prior, this information was never displayed. Just the date would be displayed. I live in one timezone and my computer will never leave this timezone. I am well aware of what timezone I am in and I find this information now being displayed (due to a change/bug/regression) annoying and useless/unneeded to me or anyone else in the same situation. I haven't made any changes to any timezone settings in Plasma or in the UEFI/BIOS on my computer that I am aware of. I believe this is a bug. STEPS TO REPRODUCE 1. Hover mouse cursor over Digital Clock on panel. 2. Notice the timezone and time are displayed in the tooltip under the date. OBSERVED RESULT In Plasma 5.27, the timezone and time are displayed in the tooltip under the date. EXPECTED RESULT Just the date is displayed in the tooltip when hovering the mouse cursor over the digital clock on the panel. (This was the previous behavior before Plasma 5.27, for example, in Plasma 5.26.5). SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux (available in About System) KDE Plasma Version: 5.27.0 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION I asked a question about this on Reddit (https://www.reddit.com/r/kde/comments/113t4tz/plasma_527_now_shows_current_timezone_on_mouse/) and Nate requested I create a bug report.
Oops, I think I broke this. Will fix.
Git commit 4c6c71fd43d70297eafc845e4fcdffda72edeb9b by Nate Graham. Committed on 17/02/2023 at 01:56. Pushed by ngraham into branch 'Plasma/5.27'. applets/digital-clock: fix logic error in tooltip The clocks model adds two items for each timezone, so if we want to check for when there's only a single timezone configured, we need to check if the model has 3 or more items in it, not 2. That was fixed in a521f5ada3dadbe938c662a607aa28737530bd8e for master but not packported to Plasma 5.27. This commit does so. FIXED-IN: 5.27.1 M +1 -1 applets/digital-clock/package/contents/ui/Tooltip.qml https://invent.kde.org/plasma/plasma-workspace/commit/4c6c71fd43d70297eafc845e4fcdffda72edeb9b
*** Bug 466128 has been marked as a duplicate of this bug. ***