Bug 506554

Summary: Show FPS effect has a light background independent of color theme
Product: [Plasma] kwin Reporter: Tech-Tac <im.tech.tac>
Component: effects-variousAssignee: Oliver Beard <olib141>
Status: CONFIRMED ---    
Severity: minor CC: kdedev, nate, olib141
Priority: NOR Keywords: accessibility, usability
Version First Reported In: 6.4.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tech-Tac 2025-07-03 19:39:15 UTC
SUMMARY
The background of the Show FPS effect is always translucent white even in dark mode where the text is also white

EXPECTED RESULT
Show be dark in dark mode to contrast with the text

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Comment 1 TraceyC 2025-07-08 20:20:23 UTC
Can confirm this on Fedora 42 with the Breeze Dark / Twilight global themes

I don't see this effect in git-master or Neon Testing, so it looks like it's due to be removed.
Comment 2 Tech-Tac 2025-07-10 07:53:35 UTC
(In reply to TraceyC from comment #1)
> I don't see this effect in git-master or Neon Testing, so it looks like it's
> due to be removed.

It has been removed from the effects page and now lives in the KWin debug console only, maybe that's why. I don't know why it may be removed completely.
Comment 3 TraceyC 2025-07-10 16:45:56 UTC
I can confirm this bug on git-master.
Comment 4 Oliver Beard 2025-07-10 16:58:54 UTC
I'll fix this tomorrow. We're hardcoding the background colour:

    color: Qt.rgba(1.0, 1.0, 1.0, 0.5)

which is not appropriate when we want to use theme colours as well.