https://bugs.kde.org/show_bug.cgi?id=499092
Bug ID: 499092 Summary: LSP tooltip occasionally obscures context menu Classification: Applications Product: kate Version: 24.12.0 Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: groszdaniel...@gmail.com Target Milestone: --- Created attachment 177645 --> https://bugs.kde.org/attachment.cgi?id=177645&action=edit Screenshot SUMMARY If I right-click an indentifier ~exactly when the tooltip is about to show up, the tooltip sometimes appears on top of the context menu. If I right-click the identifier after moving the mouse over it faster than the tooltip delay, it shows the context menu normally. If I right-click after the tooltip is shown, the tooltip goes away, and the context menu is opened normally. However, if I right-click (I think) almost exactly as much after hovering the identifier as the tooltip delay, the tooltip appears on top of the context menu, and some of the context menu items are hard or impossible to see or click. In this state the only way to make the tooltip go away is to click away and then open the context menu again. I never manage to intentionally reproduce it, but it happens accidentally perhaps about once in a few hours of coding. I guess it may happen when I right-click after the tooltip delay passes, but before the LSP server responds, at which point the tooltip is shown. It's been occasionally happening ever since LSP tooltips were implemented. STEPS TO REPRODUCE 0. Open a file supported by an LSP server that provides tooltips for identifiers. 1. Right-click an identifier very little more than the tooltip delay after hovering it. (I'm not 100% sure that's the condition, but that's what I suspect.) OBSERVED RESULT With a small chance, the tooltip obscures part of the context menu. (See screen photo – it's difficult to make a screenshot in this state.) EXPECTED RESULT Once the context menu is opened, the tooltip doesn't get shown, or disappears if it's already been shown. Alternatively, the context menu appears on top of the tooltip. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20250108 KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.9.0 Qt Version: 6.8.1 Kernel Version: 6.12.6-1-default (64-bit) Graphics Platform: X11 -- You are receiving this mail because: You are watching all bug changes.