Bug 466785 - Wayland: Red and blue channels are swapped for cursor when screencasting in certain applications
Summary: Wayland: Red and blue channels are swapped for cursor when screencasting in c...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-03 18:52 UTC by Naxdy
Modified: 2023-03-25 13:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.27.4
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naxdy 2023-03-03 18:52:24 UTC
SUMMARY
NOTE: This is NOT the same bug as https://bugs.kde.org/show_bug.cgi?id=466655 !!

When screencasting in certain applications (WebRTC seems to be affected by this), the cursor colors are R/B swapped, similar (but NOT the same) as https://bugs.kde.org/show_bug.cgi?id=466655


STEPS TO REPRODUCE
0. Log in to Plasma Wayland and make sure to select a colorful cursor theme (colors should be leaning towards either red or blue)
1. Open an affected application (e.g. Firefox, Telegram Desktop, Slack)
2. Begin screencasting in application (make sure cursor is visible)

OBSERVED RESULT
Cursor image has red and blue channels swapped

EXPECTED RESULT
Cursor image does not have red and blue channels swapped

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo
(available in About System)
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Mesa: 23.0.0

ADDITIONAL INFORMATION
This bug was encountered using an AMD RX 7900 XTX with Mesa 23.0.0. It may be isolated to screencasting on memfd
Comment 1 David Edmundson 2023-03-25 13:10:24 UTC
Should be fixed by: https://invent.kde.org/plasma/kpipewire/-/merge_requests/48