Bug 462903 - Icons (e.g. reoccuring, category) in event headers impossible to read on dark colours
Summary: Icons (e.g. reoccuring, category) in event headers impossible to read on dark...
Status: CONFIRMED
Alias: None
Product: korganizer
Classification: Applications
Component: agendaview (weekview) (show other bugs)
Version: 5.22.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-11 13:10 UTC by Christian (Fuchs)
Modified: 2022-12-12 23:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of the issue, text changes to white on dark backgrounds, icons stay black (5.95 KB, image/png)
2022-12-11 13:10 UTC, Christian (Fuchs)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian (Fuchs) 2022-12-11 13:10:17 UTC
Created attachment 154495 [details]
screenshot of the issue, text changes to white on dark backgrounds, icons stay black

SUMMARY
Icons in the event header use the font foreground colour (e.g. black by default) regardless of the background colour and are thus impossible to read on dark calendar colours

STEPS TO REPRODUCE
1. Enable the option to show the icons in the event headers
2. Have a calendar with a dark calendar colour, e.g. dark blue

OBSERVED RESULT
Icons remain black, being dark on dark

EXPECTED RESULT
Icons change to white to give a better contrast, like the text does

Operating System: Fedora Linux 37
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.10-300.fc37.x86_64 (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3070/PCIe/SSE2
System Version: 1.0
Comment 1 gjditchfield 2022-12-12 19:46:13 UTC
The icons come from the user's chosen icon theme.  KOrganizer does not choose their colors.
Comment 2 Christian (Fuchs) 2022-12-12 23:06:54 UTC
(In reply to gjditchfield from comment #1)
> The icons come from the user's chosen icon theme.  KOrganizer does not
> choose their colors.

as does the font usually use the user chosen foreground colour, but it is intelligent enough to switch to the opposite on a certain background to ensure being legible.