vercel / vercel/hyper

Long key presses lead to inaccurate timestamps on Linux

Open
#3,714 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Linux
    • Distro: Fedora 30
    • Kernel Version: 5.1.5-300.fc30.x86_64
    • Window Manager: GNOME 3.32.2 on Wayland
  • Hyper.app version: 3.0.2 (installed via rpm)
  • Link of a Gist with the contents of your .hyper.js: config
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): Dev tools are silent. N/A
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

Any action that involves holding a key for a few seconds starts spamming these messages in the system log (journalctl -f):

Jun 03 11:18:28 D11888 org.gnome.Shell.desktop[3423]: Window manager warning: last_user_time (7436127) is greater than comparison timestamp (7436108).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Jun 03 11:18:28 D11888 org.gnome.Shell.desktop[3423]: Window manager warning: 0x1a00005 appears to be one of the offending windows with a timestamp of 7436127.  Working around...

This could be typing a row of *s in an editor like vim, or holding the left/right arrow (or ctrl-f, ctrl-b) to get to the middle of a line to edit a command at a bash prompt, etc.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem on Linux by holding a key in Hyper and monitor the system log with journalctl -f. Trace the timestamp warnings from the terminal input path; done means long key presses no longer produce inaccurate-timestamp warnings in the log.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.