Bug 511552 - Plasma Style Contrast Effect Settings No Longer Honored
Summary: Plasma Style Contrast Effect Settings No Longer Honored
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.5.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-02 23:35 UTC by doncbugs
Modified: 2025-11-15 19:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Sumac Molten Glass before and after comparison (198.39 KB, image/png)
2025-11-02 23:35 UTC, doncbugs
Details
default blur effect (319.67 KB, image/png)
2025-11-05 09:28 UTC, Akseli Lahtinen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description doncbugs 2025-11-02 23:35:36 UTC
Created attachment 186442 [details]
Sumac Molten Glass before and after comparison

SUMMARY
In Plasma 6.5.1, Contrast Effect settings supplied by the Plasma Style are no longer honored and arbitrary values are passed. The Contrast Effect setting also appears to have been removed entirely in 6.5.x, as it does not appear in System Settings' Desktop Effects?

STEPS TO REPRODUCE
1. Install a Plasma Style theme that passes Contrast Effect parameters, I used Sumac Night Molten Glass
2. Apply the Plasma Style
3. View a plasmoid/dialog, ideally against a colorful background

OBSERVED RESULT
Dialogs are extremely saturated and Contrast Effect settings in the theme do not appear to be used at all. It seems the Contrast Effect is configured with arbitrary values. Changing the Contrast Effect parameters provided in the plasmarc do not appear to make any change and the windows stay extremely saturated.

EXPECTED RESULT
Contrast Effect settings passed by the Plasma Style are used when applying the Contrast Effect.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 43
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
Updates to KDE break plasma themes almost, if not every update. This change simply happens to have very very high visibility. Is there a need for a line of communication between theme developers and plasma developers? Perhaps 3rd party resources should be incorporated into testing pipelines?

The ideal implementation in my opinion is to follow the settings of the Plasma Style, but also provide the user with a means of overriding the setting. Some other bug reports suggest that the functionality is going to disappear from plasma.
Comment 1 Akseli Lahtinen 2025-11-03 10:43:11 UTC
This is now handled by the `plasmarc` file of your plasma theme:

```
[ContrastEffect]
enabled=false
contrast=0.2
saturation=10
```
Comment 2 doncbugs 2025-11-04 02:11:23 UTC
(In reply to Akseli Lahtinen from comment #1)
> This is now handled by the `plasmarc` file of your plasma theme:
> 
> ```
> [ContrastEffect]
> enabled=false
> contrast=0.2
> saturation=10
> ```

I am not sure this addresses what I reported? Are you saying my syntax is incorrect and that it should actually be working?
Comment 3 Akseli Lahtinen 2025-11-05 09:28:03 UTC
Created attachment 186515 [details]
default blur effect

Sorry, I misread parts of it.

The contrast effect was merged with the blur effect, as far as I know. But it's handled by the theme itself now, in plasmarc file.

I downloaded `sumac-night-molten-glass-plasma` and this is what it looks like to me after removing the commented out parts in the plasmarc file, with default blur effect settings.

Does this look right to you?
Comment 4 doncbugs 2025-11-07 01:02:37 UTC
It is a bit tricky to say for sure if that is correct without an apples-to-apples comparison, perhaps with the Plasma 6.4 dark wallpaper it might be easier. The asset in your screenshot looks a little darker than I expect, but that could be an optical illusion.

The appearance still looks unchanged when I remove the commented out lines, but are you saying that the commented out lines are causing different behavior on your machine? They should just be comments, but has something changed with the parsing when the new merged effect was created such that # comments are no longer ignored?

Unrelated, but why does your screenshot seem to have sliders and maybe tabbars unthemed?
Comment 5 Akseli Lahtinen 2025-11-07 09:27:52 UTC
(In reply to doncbugs from comment #4)
> It is a bit tricky to say for sure if that is correct without an
> apples-to-apples comparison, perhaps with the Plasma 6.4 dark wallpaper it
> might be easier. The asset in your screenshot looks a little darker than I
> expect, but that could be an optical illusion.
> 
> The appearance still looks unchanged when I remove the commented out lines,
> but are you saying that the commented out lines are causing different
> behavior on your machine? They should just be comments, but has something
> changed with the parsing when the new merged effect was created such that #
> comments are no longer ignored?

Indeed, they should be ignored. I just was wondering if there is any change for you or not if you remove them,
thinking maybe the bug is in config handling. Though for me, I didn't have any difference.

> Unrelated, but why does your screenshot seem to have sliders and maybe
> tabbars unthemed?

It's possible I didn't install the theme correctly.
Comment 6 doncbugs 2025-11-15 19:47:51 UTC
In Plasma 6.5.2 it appears to be working again, but has regressed with brightness settings being ignored.