Bug 472693 - The cursor was not refreshed when the window under xwayland was created
Summary: The cursor was not refreshed when the window under xwayland was created
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.5
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2023-07-27 09:07 UTC by Lu YaNing
Modified: 2023-08-07 01:46 UTC (History)
1 user (show)

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


Attachments
Program to reproduce the problem (2.14 KB, text/x-csrc)
2023-07-27 09:07 UTC, Lu YaNing
Details

Note You need to log in before you can comment on or make changes to this bug.
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