flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
24.98k stars 1.6k forks source link

Shortcuts not working with not english layout #2406

Open ghost opened 2 years ago

ghost commented 2 years ago

Flameshot Version

Flameshot v11.0.0 (ad1bf28)

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...), Using the ready-made package from Github Releases

Operating System type and version

macOS Monterey 12.1

Description

If keyboard layout is not english, shortcuts in screenshot editor won't work (e.g. Command + A).

Steps to reproduce

No response

Screenshots or screen recordings

No response

System Information

macOS Monterey 12.1

borgmanJeremy commented 2 years ago

You may need to re-map the hot keys for your keyboard. Have you tried that?

mmahmoudian commented 2 years ago

@borgmanJeremy I wonder if we can detect the keyboard layout (for example using QLocale::system() or QLocale QApplication::keyboardInputLocale()) and then have some sort of dictionary and map the default shortcuts to those keys.

borgmanJeremy commented 2 years ago

From my research into this for registering hotkeys it's orders of magnitudes more complicated than you might expect.

gur111 commented 2 years ago

I think this is a bug in Qt itself. I opened a bug and will update here once I hear back

askazakov commented 1 year ago

https://bugreports.qt.io/browse/QTBUG-101160 seems to be a little bit abandoned

webdesus commented 3 months ago

It was fixed in version 6.7 Current version Flameshot using Qt 5.15.5 I don't know how hard it is to upgrade to qt6 ...