Bug 483203

Summary: Window background color opacity incorrect in KiCad after upgrading from Plasma 5 Wayland to Plasma 6
Product: [Plasma] kwin Reporter: Stefan Hamminga <stefan>
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: kde
Priority: NOR Keywords: qt6
Version First Reported In: 6.0.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of KiCad color theme preview, showing issue

Description Stefan Hamminga 2024-03-11 07:21:49 UTC
Created attachment 166936 [details]
Screenshot of KiCad color theme preview, showing issue

SUMMARY

After the regular Arch upgrades, which included Plasma 6, KiCad is unable to correctly set the window background color. The attachment shows the problem in action, where the preview background should be all black on the right (preview) panel, but is only tinted slightly (as if applying the chosen black color with 0.05 opacity or so). Changing the color does change the tint.

Discussion on this bug on the KiCad side is here:

https://gitlab.com/kicad/code/kicad/-/issues/17341

Both before and after the bug I was using Plasma with Wayland. The issue disappears when either (a) X11 is used (in Plasma 5 or 6) or (b) when forcing KiCad to use software rendering. Sadly KiCad's software rendering is _also_ broken on Plasma 6 (in different ways) so that's not a viable workaround.

KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics: Mesa Intel UHD
Comment 1 David Edmundson 2024-03-11 09:34:54 UTC
The thread on kicad's gitlab looks like they agree it's client side.
Please reopen if there are any further developments that need our attention.