linuxmint / linuxmint/cinnamon

Multiple language layout switch shortcut (alt+shift) conflicts with active window alt-shift-tab cycling in previous order

Open
#12,948 2 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

Linux Mint 22.1 Cinnamon

Package version

6.4.8

Graphics hardware in use

No response

Frequency

Always

Bug description

I am trying to make language switching keyboard shortcuts work the same way on Linux Mint Cinnamon as it works on Windows, to make it cognitively easier to frequently switch between using both systems.

If Alt-Shift (or Left Alt+Left Shift) shortcut is chosen to switch between keyboard layouts, then alt-shift-tab no longer moves to the previous window in the alt-tab window selector menu.

Steps to reproduce
  1. Have two keyboard layouts, e.g. English and Finnish.
  2. In the Keyboard -> Layouts -> Options... -> Switching to another layout shortcut, choose Alt-Shift as the shortcut to switch between layouts.
  3. Hold down Alt and tap the Tab key. Release Tab but do not release Alt. Hold down Shift key and then tap Tab key again.
Expected behavior

After pressing Alt-Shift-Tab, the selector should move to the previous window. But instead it moves to the next window.

I.e. setting Alt-Shift as a shortcut to switch languages has effectively disabled Alt-Shift-Tab from working.

Additional information

Windows has a very nice intelligent behavior to manage the overlap between Alt-Shift switching keyboard layout and Alt-Shift-Tab moving to the previous window:

On Windows:

  1. Hold down Alt
  2. Press Tab and release it (while Alt is still being held down). This will show up the window switch menu
  3. Press and release Shift key (while Alt is still being held down)

Observe that on Windows this will not cause the language to change, since the alt-tab menu is open. I.e. languages are never changed while the window menu is open.

Chef's kiss if this logic could be implemented in Linux Mint, that would be very useful!

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 conflict in Cinnamon with two keyboard layouts and Alt-Shift configured for switching. Start by tracing the keyboard-layout shortcut and Alt-Tab window-selector behavior; done means Alt-Shift changes layouts normally, while Alt-Shift-Tab moves the selector to the previous window when the selector is open.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.