Bug 1372896

Summary: duplicate keyboard press when system is under load (gnome-shell/wayland)
Product: [Fedora] Fedora Reporter: Thomas Meyer <thomas.mey>
Component: mutterAssignee: Florian Müllner <fmuellner>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: fmuellner, otaylor, peter.hutterer, thib, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-08 16:59:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Thomas Meyer 2016-09-03 11:08:30 UTC
Description of problem:
When my single core laptop is under heavy load I noticed that when running under gnome-shell wayland, I get multiple keyboard presses in e.g. the gnome-terminal app.

For example: i type "dnf upgrade -y" and I get in the terminal "dnf upgrade -yyy".

In the journal I get those entries:
Sep 03 11:54:42 localhost.localdomain org.gnome.Boxes[1550]: (gnome-boxes:304894): Boxes-WARNING **: libvirt-machine.vala:365: Fetching of stats for 'Win10_1607_German_x64' is taking too long. Probably a libvirt bug.
Sep 03 11:54:42 localhost.localdomain org.gnome.Shell.desktop[1596]: libinput error: libinput bug: timer offset negative (-766118)
Sep 03 11:54:42 localhost.localdomain org.gnome.Shell.desktop[1596]: libinput error: libinput bug: timer offset negative (-501272)
Sep 03 11:54:42 localhost.localdomain org.gnome.Shell.desktop[1596]: libinput error: libinput bug: timer offset negative (-418269)
Sep 03 11:54:42 localhost.localdomain org.gnome.Shell.desktop[1596]: libinput error: libinput bug: timer offset negative (-56624)
Sep 03 11:54:42 localhost.localdomain org.gnome.Shell.desktop[1596]: Window manager warning: last_user_time (21628585) is greater than comparison timestamp (21627320).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Sep 03 11:54:42 localhost.localdomain org.gnome.Shell.desktop[1596]: Window manager warning: W1 (thomas@loc) appears to be one of the offending windows with a timestamp of 21628585.  Working around...



Version-Release number of selected component (if applicable):
libinput.x86_64                       1.4.2-1.fc24
gnome-shell.x86_64                    3.20.4-1.fc24

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Peter Hutterer 2016-09-05 03:29:07 UTC
punting to mutter, it's not calling libinput_dispatch() often enough. And key repeat is handled by the caller too

Comment 2 Thibault Nélis 2017-04-14 18:43:27 UTC
FYI I observe this also. Same repeated key press effect, on two machines. Quite sure it was introduced with Wayland indeed.

Apr 14 20:30:34 org.gnome.Shell.desktop[1210]: libinput error: libinput bug: timer offset negative (-304941)
Apr 14 20:30:34 org.gnome.Shell.desktop[1210]: libinput error: libinput bug: timer offset negative (-219713)
Apr 14 20:30:34 org.gnome.Shell.desktop[1210]: libinput error: libinput bug: timer offset negative (-139906)
Apr 14 20:30:34 org.gnome.Shell.desktop[1210]: libinput error: libinput bug: timer offset negative (-21806)

Comment 3 Fedora End Of Life 2017-07-25 22:48:54 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2017-08-08 16:59:41 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.