Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gnome-shell gnome-shell
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 2.1k
    • Issues 2.1k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 151
    • Merge requests 151
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gnome-shellgnome-shell
  • Issues
  • #1858
Closed (duplicated) (duplicated)
Open
Issue created Nov 03, 2019 by flappy@flappy

MappingNotify event freezes drawing windows in Gnome for ~100ms

Whenever a MappingNotify event is fired, all windows stop drawing for a short while. During this time the mouse cursor remains active and visible, and can even switch between different icons (cursor, arrow, etc.). Firing the event multiple times in a row compounds the amount of time the system looks frozen. Typically this happens when you have two connected keyboards and press keys first on one, then the other.

As far as I know this only happens in the x.org version of Gnome Shell, but because I use nvidia proprietary drivers I'm bound to x.org.

This issue does not exist in other window managers, such as i3-wm.

An easy way to reproduce this is to start a video in one window and then type the following command

watch -n 0.1 'xdotool key space'

and then pressing any other key or series of keys in another window

I couldn't find a way to send MappingNotify events through the terminal, so I'm not sure if this is causal or just correlated.

I couldn't find any way to log whatever it is that's causing the issue.

I'm also not sure if this is a gnome-shell issue, a mutter issue or anywhere else located in the gnome stack. I'm using gnome-shell v 3.34.1 and mutter 3.34.1, but this issue has existed in Gnome for at least 3 years

Edited Nov 03, 2019 by flappy
Assignee
Assign to
Time tracking