question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Shortcuts using the Meta key in Windows do not work

See original GitHub issue

Issue Report Checklist

  • Fix start of line shortcut
  • Fix previous char shortcut
  • Fix kill previous word shortcut
  • Fix kill next word shortcut
  • Fix end of line shortcut
  • Fix next char shortcut
  • Fix kill to line end shortcut
  • Fix next line shortcut
  • Fix previous line shortcut
  • Fix rotate kill ring shortcut
  • Fix kill to line start shortcut
  • Fix yank shortcut
  • Fix Next word shortcut (fixed in PR #7874)
  • Fix Previous Word shortcut (fixed in PR #7874)

Problem Description

As mentioned in https://github.com/spyder-ide/spyder/pull/7768#issuecomment-416251033, using the Meta key is not a valid key sequence for shortcuts in Windows 10.

image

The event associated with the key sequence is intercepted by Windows and is never sent to Spyder. So to my knowledge, there is not much we can do about this…

Unfortunately, in Spyder, 14 shortcuts use the Meta key by default in their key sequence. This means that, 14 shortcuts are not usable by default in Spyder.

I think that we need to re-define other key sequences for these shortcuts and avoid using the Meta key at all cost.

image

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
zkoynzcommented, Jan 22, 2019

👍 progress? To be completely honest, the only reason I want this addressed is for quick access to ‘Shortcuts Summary’ 😶

Thanks for your hard work!

0reactions
jnsebgosselincommented, Jan 22, 2019

👍 progress? To be completely honest, the only reason I want this addressed is for quick access to ‘Shortcuts Summary’ 😶

Thanks for your hard work!

This shortcut is hardcoded in spyder.app.mainwindow.py, so we need to change that there. This can be done for Spyder4. I still need to better understand how shortcuts work in macOS before I change this though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

meta key shortcuts don't work? - KDE-Forum
No idea, sounds like the key is dead? Try running "xev" (you'll likely have to install it) and press the key. ... If...
Read more >
Xorg/udev: KDE keyboard shortcuts using Meta key don't work ...
However none of the KDE keyboard shortcuts that use the Meta key (windows key or command key on apple external keyboards) work anymore....
Read more >
Windows key shortcuts stopped working - Super User
Quick check Win + Tab , Win + P , Win + L and Win + R - are they also not working?...
Read more >
Unable to use Windows/Meta key as a modifier for shortcuts
The JDK does not recognize the Win key as a valid modifier for shortcuts. Apparently there is an option in Ubuntu advanced keyboard...
Read more >
cannot configure keyboard shortcuts to use Meta modifier ...
accelKey) to 224 does not enable the "Meta" key for keyboard shortcuts, as expected. More detailed explanation follows: My keyboard layout has the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found