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 | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | music03330 |
Component: | Digital Clock | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate |
Priority: | NOR | Keywords: | regression |
Version: | 5.27.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/4c6c71fd43d70297eafc845e4fcdffda72edeb9b | Version Fixed In: | 5.27.1 |
Attachments: | Screenshot of the digital clock tooltip displaying timezone and time |
Description
music03330
2023-02-16 21:48:42 UTC
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. *** |