Created attachment 168211 [details] video demonstrating the bug SUMMARY When user hovers over a text which outputs a tooltip and the text is large enough for it to have multiple lines user needs to scroll through. Tooltip closes when user attempts to scroll by dragging the scrollbar. STEPS TO REPRODUCE 1. Open file in Kate which will activate LSP (I tested using qml and c++ files) 2. Reduce the Kate window size if needed so that the tooltip has multiple lines 3. Hover over a function or some error and wait for the tooltip to display 4. Click on the scrollbar and try to drag it up/down -> Tooltip closes -> DEFECT OBSERVED RESULT Tooltips close when user attempts to scroll by dragging the scrollbar EXPECTED RESULT User is able to scroll through the tooltip by dragging the scrollbar. Tooltip doesn't close when doing so SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.3 Kernel Version: 6.8.2-arch2-1 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz Memory: 7.7 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 970/PCIe/SSE2
Ok, true, that is not that nice.
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1447
Git commit 5a49f3321a1cae375b6b4ac59f4997149c2eb2a9 by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 07/04/2024 at 19:54. Pushed by cullmann into branch 'master'. Fix tooltip hides on trying to scroll using scrollbar M +5 -3 apps/lib/texthint/tooltip.cpp https://invent.kde.org/utilities/kate/-/commit/5a49f3321a1cae375b6b4ac59f4997149c2eb2a9
This was really fast. I verified the bug is fixed by compiling the Kate from source. Keep up the great work.
*** Bug 487052 has been marked as a duplicate of this bug. ***