Bug 430289 - Timer widget uses dark font for Breeze dark
Summary: Timer widget uses dark font for Breeze dark
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: timer (show other bugs)
Version: 5.20.4
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 445909 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-12-12 09:40 UTC by postix
Modified: 2022-08-05 15:53 UTC (History)
4 users (show)

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


Attachments
Screenshot: The are 2 Timer-Widgets: Left w/o, right w/ title (55.90 KB, image/png)
2020-12-12 09:40 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2020-12-12 09:40:56 UTC
Created attachment 134026 [details]
Screenshot: The are 2 Timer-Widgets: Left w/o, right w/ title

SUMMARY

On Breeze Dark the timer widget is hardly visible as it uses a dark font on the dark background.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2020-12-15 15:42:23 UTC
Ugh, hardcoded colors.
Comment 2 Nate Graham 2021-11-23 17:43:22 UTC
*** Bug 445909 has been marked as a duplicate of this bug. ***
Comment 3 Fushan Wen 2022-08-05 15:53:06 UTC
Git commit ba011368af76abc1abbacab1ccce8075e45a6ae1 by Fushan Wen.
Committed on 05/08/2022 at 15:19.
Pushed by ngraham into branch 'master'.

applets/timer: add compact representation

The compact representation has 5 layout forms:

1. inPanel, Horizontal: [Icon][Column to show the title and the
   remaining time]
2. inPanel, Vertical: [Column to show the title and the remaining time
   in seconds]
3. Desktop, width is enough to contain the icon and the remaining time
   in a row: [Icon][Column]
4. Desktop, width is not enough: [Icon]
                                 [Column]
5. Desktop, both width and height are not enough: [Icon]

The added compact representation also enables tab focus in the applet.
Related: bug 301861, bug 304923, bug 347492, bug 360996, bug 395182, bug 399930, bug 452701
FIXED-IN: 5.26

A  +200  -0    applets/timer/package/contents/ui/CompactRepresentation.qml     [License: GPL(v3.0+)]
M  +9    -2    applets/timer/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/commit/ba011368af76abc1abbacab1ccce8075e45a6ae1