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

            Bug ID: 521950
           Summary: Legacy XCursor theme (Oxygen_Blue) renders with the
                    wrong, washed-out/lighter color when the cursor is
                    over the desktop wallpaper, but renders correctly over
                    panels and menus. The cursor color must not depend on
                    what is below it.
    Classification: Plasma
           Product: kwin
      Version First 6.7.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: compositing
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

PRODUCT:    kwin
COMPONENT:  wayland-generic  (compositing / cursor)
VERSION:    6.7  (regression vs 6.6.5)
SEVERITY:   normal
PLATFORM:   [Arch Linux, KDE plasma 6.7.0, KDE frameworks 6.27.0, qt 6.11.1,
kernel 7.0.12, wayland - Ryzen 9700X & Radeon 7900XTX]
GPU/DRIVER: [Mesa 26.1.3-arch1.2, Vulkan 1.4.350]
SETUP:      Wayland session, single monitor (with virtual desktop) [Asus ROG
XG27UCS 3840x2160 160HZ]

------------------------------------------------------------------------------
SUMMARY
------------------------------------------------------------------------------
Legacy XCursor theme (Oxygen_Blue) renders with the wrong, washed-out/lighter
color when the cursor is over the desktop wallpaper, but renders correctly over
panels and menus. The cursor color must not depend on what is below it.

------------------------------------------------------------------------------
STEPS TO REPRODUCE
------------------------------------------------------------------------------
1. Use a Wayland Plasma 6.7 session.
2. Set the cursor theme to "Oxygen_Blue" (a classic static XCursor theme;
   left_ptr is an "Xcursor data version 1.0" file, no SVG, no color logic).
3. Move the cursor over the panel and over an open menu.
4. Move the cursor to the empty center of the desktop (over the wallpaper).

------------------------------------------------------------------------------
OBSERVED RESULT
------------------------------------------------------------------------------
- Over panel / menus / plasmoids: cursor is the correct dark blue.
- Over the desktop wallpaper (empty area): cursor becomes noticeably LIGHTER
  (washed out), no longer dark blue.
The theme contains no color-changing logic; this is purely the compositor.

------------------------------------------------------------------------------
EXPECTED RESULT
------------------------------------------------------------------------------
The cursor keeps the same dark-blue color everywhere, as it did in Plasma
6.6.5.

------------------------------------------------------------------------------
REGRESSION
------------------------------------------------------------------------------
Correct in Plasma/KWin 6.6.5. Appears only after upgrading to 6.7.

------------------------------------------------------------------------------
ANALYSIS / SUSPECTED CAUSE  (git diff v6.6.5..v6.7.0, kwin)
------------------------------------------------------------------------------
The trigger seems to be direct scanout of the fullscreen desktop wallpaper,
which moves the cursor onto a dedicated hardware plane whose color goes through
the new DRM color pipeline / wire-color encoding. Over panels/menus the overlay
forces compositing, so the cursor uses the (correct) GL color path.

Suspected commits:
  - 8325210c3c  scene/workspacescene: special case fullscreen windows for
                direct scanout  -> makes the opaque fullscreen wallpaper a
                scanout candidate (it was not in 6.6.5)
  - 286bed5036  compositor: allow reordering planes, to make underlays work
                -> wallpaper scanned out as underlay, cursor on its own plane
  - 84a4451685  opengl,backends/drm: apply MHC2 ICC profiles more correctly
                -> adds wireColor/wireTransfer encoding to the layer path
  - 86a66f6d52 / e641ca6aaf / dc4bf3d025 / 16559da813 / a56cf2a419
                -> DRM color pipeline (enabled by default in 6.7)

------------------------------------------------------------------------------
Note:
- plasma-workspace has no relevant cursor changes between 6.6.5 and 6.7;
  the regression is in kwin.
==============================================================================

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

Reply via email to