Skip to content

LSP: Improve tooltip

Méven Car requested to merge meven/kate:lsp-tooltip into master

Before the lsp tooltip would ever be visible for 1 second when not in manual mode.

This makes the tooltip visible as long as the mouse has not moved, or hovers the tooltip. When the mouse moves there is a 500 delay before the tooltip is hidden to let the user hover over the tooltip if he wants to select text there. If a tooltip is hovered when the mouse leaves it, the tooltip closes immediately. There is only one Lsp tooltip ever shown.

Before that the tooltips were unusable and frustrating hiding themselves after 1 second while you might just be reading its content.

This sort of expands 73ee96c6 to the not manual case merging the two behaviors.

cc @cullmann @waqar @mnauwelaerts

Merge request reports