https://bugs.kde.org/show_bug.cgi?id=490724

            Bug ID: 490724
           Summary: Window and menu panel shadows render differently when
                    a color profile is applied
    Classification: Plasma
           Product: kwin
           Version: 6.1.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: decorations
          Assignee: kwin-bugs-n...@kde.org
          Reporter: 1...@mailbox.org
  Target Milestone: ---

Created attachment 171936
  --> https://bugs.kde.org/attachment.cgi?id=171936&action=edit
Color profile changing context menu shadows

SUMMARY
When having a color profile applied, either by using a monitor's built-in
profile or an external ICC profile, window and panel shadows (menu panels like
context menus, that is) render quite differently. The shadows render less
smoothly and appear far stronger than they do without a profile set. This is
nearly unnoticeable with e.g. a pure black shadow using Breeze Light, but gets
increasingly obvious when using a brighter shadow with a darker color scheme.


STEPS TO REPRODUCE
1. Set the color theme to a dark theme like Breeze Dark.
2. In "Colors & Themes" → "Window Decorations" → "Pencil" → "Shadows and
Outline", set the shadow to something bright like #ffffff with a decent size
and intensity.
3. In "Display Configuration", set your monitor to use a color profile. Either
type works. Even not supplying a profile when picking "ICC Profile" causes the
bug to occur for me.


OBSERVED RESULT
Windows and various panels like the Dolphin context menu have much stronger
shadows that look kind of rough. Basically, any panel or window that uses
shadows set in above settings is affected. 


EXPECTED RESULT
Window and panel shadows are unaffected by the ICC profile beyond the color.


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.9-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 7600
Mesa Version: 24.1.4


ADDITIONAL INFORMATION
I have reproduced this with both of my displays with both methods of applying a
color profile.
If I put a window between one monitor without a profile and one with an active
profile, the shadow appearance is cleanly split. In other words, I will be
looking at a window with two visually distinct renders of the same window
shadow.

I have attached two images:
The first image compares the Dolphin context menu "with ICC" and "without ICC"
using Breeze Dark and window decorations shadows of "Large, 50%, #ffffff".
Interestingly, the context menu without a set ICC profile appears more grainy,
while the one with a profile does not, although I can't say how this is related
to the bug.

The second image in the followup comment is me (on a #000000 wallpaper) placing
a window between a monitor with a set profile (left) and one without a set
profile (right) and then taking a "Rectangular Region" screenshot of it.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to