DESCRIPTION Whenever using a colorful mouse pointer on KDE, the KRdp server transmits to the RDP client the wrong color scheme. STEPS TO REPRODUCE 1. Use any custom mouse pointer which has red, blue or green colors 2. Launch KRdp and connect to it 3. see lack of blue or green color on the cursor, only red is visible OBSERVED RESULT KRdp doesn't fetch correctly the color scheme from the mouse pointer. EXPECTED RESULT The RDP client receives all colors of the mouse pointer. SOFTWARE/OS VERSIONS Operating System: Chimera Linux KDE Plasma Version: 6.7.3 KDE Frameworks Version: 6.28.0 Qt Version: 6.11.1 ADDITIONAL INFORMATION Tested on Apache Guacamole & Remmina Client. I'm using LyraP cursors.
Created attachment 195062 [details] krdp log
A possibly relevant merge request was started @ https://invent.kde.org/plasma/krdp/-/merge_requests/267
A possibly relevant merge request was started @ https://invent.kde.org/plasma/krdp/-/merge_requests/268
Git commit fe2671e1f01f5abb629f557732859cc2aa281487 by David Edmundson. Committed on 19/10/2026 at 15:14. Pushed by davidedmundson into branch 'Plasma/6.8'. Cursor: Don't swap red and blue channels of cursor images createXorMask() converts the cursor image to QImage::Format_ARGB32, whose in-memory byte order on little-endian machines is B, G, R, A. That is already the layout expected for the 32 bpp XOR mask of color and large pointer updates. The additional rgbSwap() turned it into R, G, B, A, so clients showed colored cursors with red and blue swapped. (cherry picked from commit 608a68b01e7ade8794aef0cea63ca99a3d97db04) Co-authored-by: Zhongli Wu <wuzhonglijz@gmail.com> M +0 -1 src/Cursor.cpp https://invent.kde.org/plasma/krdp/-/commit/fe2671e1f01f5abb629f557732859cc2aa281487