Menu

#46 autorepeat does not refresh window

v1.0_(example)
open
nobody
None
5
2019-09-26
2017-04-13
Fuu Juhi
No

When I keep a key pressed, and let X autorepeats to kick in, the terminal window is not refreshed. The application as if it's receiving no keypress, but when the key is released, a bunch of keypresses are added at once.

This is particularly unconvenient with the arrow keys or pgdn/pgup. This means we cannot keep these keys pressed to scan through a text file, or edit a command line.

I can more or less fix the problem by reducing the autorepeat rate:

xset r rate 500 15

With rate = 20, it starts to stutter. At default rate = 31, it mutes.

This is on VcXsrv 1.19.2.0, on Windows 7 (client Ubuntu 16.04 running in VBox), connected in Multi-Window mode.
Note that the issue does not show up in XMing (version 7.7.0.3, paid version).

Discussion

  • Fuu Juhi

    Fuu Juhi - 2017-04-13

    For info, I tried a few things:

    • in fullscreen, autorepeat works fine. A bit shaky (slight stutter), but at least windows are refreshing themselves.
    • in multi-window, autorepeat works with xterm. Quite shaky. But it does not work with gnome-terminal or terminator.
    • Tried various combination of native / software GL, with or without defining the variable LIBGL_ALWAYS_INDIRECT, to no avail. Result is always the same: autorepeat ok in xterm, but not in gnome-terminal / terminator.

    Sometimes I get the error:
    libGL error: No matching fbConfigs or visuals found
    libGL error: failed to load driver: swrast

     
  • Baohui Shu

    Baohui Shu - 2019-09-26

    yes ,vcxsrv libGL error:

     

Log in to post a comment.

MongoDB Logo MongoDB