linuxmint / linuxmint/cinnamon

Alt Key-Up Event Not Being Sent to Application When Switching Workspaces

Open
#12,414 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Distribution

Mint 21.3

Package version

6.0.4

Graphics hardware in use

NVIDIA GeForce RTX 4090

Frequency

Quite often

Bug description

I use the keyboard shortcuts Ctrl+Alt+Left and Ctrl+Alt+Right to switch between workspaces. It seems that if the keyboard shortcut to switch workspaces in a full screen application, when I switch back the application thinks that I am still holding down the alt key. I noticed this while playing games so I reported the issue to Steam's Proton team and they suspect that it is an issue with Cinnamon where the key up event is not being sent to the application after changing the workspace.

Steps to reproduce
  1. Open a full screen application
  2. Use keyboard shortcut Ctrl+Alt+Left or Ctrl+Alt+Right to switch to different workspace.
  3. Use the keyboard shortcut to switch back to the original workspace with the fullscreen application.
  4. Check to see if the application is still registering the Alt key as pressed.
Expected behavior

I expect that applications would only detect me holding down the alt key if I am actually holding it down.

Additional information

Here is the related Proton issue that I had opened: https://github.com/ValveSoftware/Proton/issues/8120#issuecomment-2374512572

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

No files or tests are named in the report. Start by reproducing the workspace switch with a fullscreen application using Ctrl+Alt+Left or Ctrl+Alt+Right, then trace Cinnamon's workspace-switching and keyboard event handling. Done means the application no longer observes Alt as pressed after returning to its workspace unless the key is actually held.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.