telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.23k stars 5.21k forks source link

GUI: Ctrl+Shift+ hotkeys not working with non-English keymap #4977

Closed v0s closed 4 months ago

v0s commented 6 years ago

screen3

Steps to reproduce

  1. Type some text in the chat box.
  2. When EN keymap is active:
    • press Ctrl+Z — the text is undone;
    • press Ctrl+Shift+Z — the text is redone.
  3. Switch to RU keymap:
    • press Ctrl+Z — text is undone, works ok;
    • press Ctrl+Shift+Z — instead of a redo, capital Z gets entered (even despite keymap being RU).

Same applies to Ctrl+Shift+M hotkey for monospace formatting.

Expected behaviour

Even with RU keymap, Ctrl+Shift+Z should redo, and Ctrl+Shift+M should make text monospace.

Actual behaviour

With RU keymap, Ctrl+Shift+ hotkeys do not do the actions, instead they type corresponding capital English letter.

Configuration

Operating system: Windows 10 1709 Version of Telegram Desktop: 1.3.10 Used theme: default