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.
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