Bug 451209

Summary: Highlights are meant to be drawn as backgrounds, not on top of other items.
Product: [Plasma] plasmashell Reporter: Alinajafian81
Component: CalendarAssignee: Ivan Čukić <ivan.cukic>
Status: RESOLVED FIXED    
Severity: normal CC: ivan.cukic, nate
Priority: NOR    
Version: 5.24.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.93

Description Alinajafian81 2022-03-06 20:18:27 UTC
SUMMARY
The text is drawn behind the highlight. 
https://preview.redd.it/x38el7haw8l81.pngwidth=1920&format=png&auto=webp&s=7ee08d1cff9b758b921a6977dff086f9c2fda36a
 I only have this issue with calendar widget.
I can workaround the issue by adding transparency to the "hover" part of "viewitem.svg" in the plasma theme file. 
this is a reddit post about this topic: https://www.reddit.com/r/kde/comments/t64uah/hi_i_installed_this_plasma_theme_everything_is/

STEPS TO REPRODUCE
1. Apply Unity Ambiance shell theme
2. open calendar widget.
3. No text in Today's date.

OBSERVED RESULT
No text in Today's date.

EXPECTED RESULT
'4' in Today's date.

SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.16.12-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6400 CPU @ 2.70GHz
Memory: 7.7 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2
Comment 1 Bug Janitor Service 2022-03-06 22:11:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/471
Comment 2 Ivan Čukić 2022-03-06 22:22:13 UTC
Git commit bb2bc5827f43dfce8f217b7c4370acaec0dca032 by Ivan Čukić.
Committed on 06/03/2022 at 22:15.
Pushed by carlschwan into branch 'master'.

Calendar: Draw highlight below the text

The highlight is drawn on top of the day which makes the text not
visible when the users use themes in which the highlight is not
mostly transparent.

This sets z order of the highlight to -1 which makes it painted
below the text.

M  +1    -0    src/declarativeimports/calendar/qml/DayDelegate.qml

https://invent.kde.org/frameworks/plasma-framework/commit/bb2bc5827f43dfce8f217b7c4370acaec0dca032
Comment 3 Alinajafian81 2022-03-06 23:56:24 UTC
Thank you for the consideration. Note that the "months" and "years" sections of the calendar wigdet also have the same issue: the current value indicator doesn't show the text...