https://bugs.kde.org/show_bug.cgi?id=416530

            Bug ID: 416530
           Summary: Terminal mouse movement tracking for hover
           Product: konsole
           Version: 19.12.1
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: emulation
          Assignee: konsole-de...@kde.org
          Reporter: wouter-...@publica.duodecim.org
  Target Milestone: ---

Recent versions of Vim have text balloons that can show information on
mouse-over. These balloons should work in non-graphical terminals, too, using
the following settings:

set mouse=a
set ttymouse=sgr

set updatetime=1500
set balloondelay=300
set ballooneval
set balloonevalterm

However, this functionality doesn't seem to be working in Konsolepart-based
terminal emulators like Konsole and Yakuake.

STEPS TO REPRODUCE
1. Enable govim or any other vim extension that uses balloon pop-ups;
2. Open some source code;
3. Hover a keyword.

OBSERVED RESULT
On mouse-over, nothing happens in konsole or yakuake; no balloon appears.
Keyboard shortcuts do show the text balloon with information, so the problem is
with vim not noticing the mouse pointer is located over a keyword. Mouse
movements do not seem to be detected; basic mouse functionality such as clicks
and selection work fine, though.

EXPECTED RESULT
I expect that when moving the mouse pointer over a keyword, vim triggers a text
balloon to be shown. This functionality works by default in other terminals,
e.g. Alacritty.

My guess is that the terminal emulation code doesn't report mouse movements to
vim, either because it's not supported or because the terminfo entry isn't
complete. Alternatively, I could have somehow managed to mess up the settings
so Konsole would have disabled some terminal functionality.

ADDITIONAL INFORMATION

In short: no vim text balloons on mouse-over in Konsole while they show up in
other terminal applications.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to