Bug 451199 - Restore tool window override cursor on Wayland
Summary: Restore tool window override cursor on Wayland
Status: CONFIRMED
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.3.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-06 15:38 UTC by Anthony Fieroni
Modified: 2024-06-07 19:49 UTC (History)
1 user (show)

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


Attachments

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