[konsole] [Bug 416530] New: Terminal mouse movement tracking for hover

Wouter Van Hemel bugzilla_noreply at kde.org
Tue Jan 21 13:28:49 GMT 2020


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-devel at kde.org
          Reporter: wouter-kde at 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 the assignee for the bug.


More information about the konsole-devel mailing list