Bug 451199

Summary: Restore tool window override cursor on Wayland
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: Anthony Fieroni <bvbfan>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: xaver.hugl
Priority: NOR    
Version First Reported In: 6.3.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Anthony Fieroni 2022-03-06 15:38:16 UTC
SUMMARY
Tool window override cursor isn't restored after its close


STEPS TO REPRODUCE
1. Open Kate
2. Make sure LSP client is enabled and suggestions on hover enabled
3. Hover a function
4. Tool windows is open, do not move mouse over it (so no enter event is propagated)
5. Wait till tool window is closed

OBSERVED RESULT
After tool window is closed override cursor isn't restored

EXPECTED RESULT
After tool window is closed override cursor should be restored even no enter event on it

SOFTWARE/OS VERSIONS
Linux: 5.14.12
(available in About System)
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91
Qt Version: 5.15.3

ADDITIONAL INFORMATION
I've not test it on master.
Comment 1 Zamundaaa 2024-06-07 19:49:58 UTC
It's up to the application to set the correct cursor, KWin does not change it when the other window is opened.
I don't know enough about Qt's cursor APIs to judge if this is a bug in KTextEditor (as it happens in KDevelop too) or in Qt