Bug 472693

Summary: The cursor was not refreshed when the window under xwayland was created
Product: [Plasma] kwin Reporter: Lu YaNing <dluyaning>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dluyaning
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.27.5   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Program to reproduce the problem

Description Lu YaNing 2023-07-27 09:07:48 UTC
Created attachment 160561 [details]
Program to reproduce the problem

STEPS TO REPRODUCE
1. Compile the demo program provided in the attachment
2. Run this program in terminal

OBSERVED RESULT
The cursor is not updated after the program runs, and the cursor status is updated after the mouse is moved.

EXPECTED RESULT
Refresh directly after the program runs

Linux/KDE Plasma: 5.27.5
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version:  5.27.5
Qt Version: 5.15.10
Platfrom : wayland

ADDITIONAL INFORMATION
Comment 1 Lu YaNing 2023-07-27 09:36:08 UTC
The program created based on xwayland has the problem that the cursor does not refresh when the window is created. I am analyzing the logic of kwin updatecursor to solve this problem. Can anyone help me to provide a way to debug kwin under debian? I will be very grateful.
Comment 2 Lu YaNing 2023-07-31 05:09:48 UTC
no issue on X11