Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug when changing default keys #1988

Open
mak7im01 opened this issue Aug 20, 2024 · 8 comments
Open

Bug when changing default keys #1988

mak7im01 opened this issue Aug 20, 2024 · 8 comments

Comments

@mak7im01
Copy link

mak7im01 commented Aug 20, 2024

System information

  • Windows OS version:
    Windows 11 Pro
    22H2
    ‎04.‎10.‎2023
    ОС 22621.3958
    Windows Feature Experience Pack 1000.22700.1026.0

  • ImageGlass version: 9.1.8.723

  • ImageGlass release: Classic

To Reproduce

Steps to reproduce the behavior:
When changing the combinations Ctrl+Shift+C to Ctrl+C, everything works and is displayed, but after some time, more than 5 minutes, the values ​​are automatically reset to Ctrl+Shift+Alt+

Actual behavior

"MenuHotkeys": {
    "MnuCopyFile": [
      "Ctrl+C"
    ],
    "MnuCopyImageData": [
      "Ctrl+Shift+C"
    ]
  },

Changes over time to this

"MenuHotkeys": {
    "MnuCopyFile": [
      "Ctrl+Shift+Alt+"
    ],
    "MnuCopyImageData": [
      "Ctrl+Shift+Alt+"
    ]
  },

Expected behavior

Please help me solve this problem

@mak7im01
Copy link
Author

@d2phap
Copy link
Owner

d2phap commented Aug 23, 2024

It does not happen to me, I'm using English (US) keyboard layout. What keyboard layout are you using?

To correctly get the hotkey, you should open Settings > Tools > click "Add" button > click "Add hotkey" button, the "Press hotkeys" dialog appears allow you to press your hotkey.
Use this hotkey for the MenuHotkeys.

image

@mak7im01
Copy link
Author

2024-08-23 135816

I added the key combination using your method (I read it in previous messages). Everything is correct.
Thanks to your tip, I found out that it depends on the default language. I edit file MenuHotkeys with the English keyboard enabled, the key combination in the program does not reset, but as soon as I switch the keyboard language to another, in my case to Russian (I tried others different from English) and the key combination immediately becomes Ctrl+Shift+Alt+
This is not very convenient and not very correct in my opinion.

@mak7im01
Copy link
Author

#1988 (comment)
File igconfig(1).json before switching language, file igconfig(2).json after switching language. Changes occur automatically

@mak7im01
Copy link
Author

2024-08-23 164440
Also, the command that is reset after switching the language is set by default for this action

@d2phap d2phap added this to the v9.2 milestone Aug 25, 2024
@d2phap
Copy link
Owner

d2phap commented Aug 25, 2024

Okay I just pushed a fix, will include this in the next release

@d2phap
Copy link
Owner

d2phap commented Nov 4, 2024

Fixed in ImageGlass 9.2 Beta

@d2phap d2phap closed this as completed Nov 4, 2024
@mak7im01
Copy link
Author

mak7im01 commented Nov 4, 2024

Исправлено в бета-версии ImageGlass 9.2

Updated to 9.1.8.1104. This bug still remains. Everything is still replaced by "Ctrl+Shift+Alt+"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants