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

Pressing the Win key starts zoom (Windows Key). The Win should completely be ignored in ImageGlass #1769

Closed
schittli opened this issue Dec 9, 2023 · 10 comments
Assignees
Milestone

Comments

@schittli
Copy link

schittli commented Dec 9, 2023

System information:

  • Windows OS version: W10 22H2
  • ImageGlass version: 9.08.1208, x64

To Reproduce

Steps to reproduce the behavior:

  1. Open an Image in ImageGlass
  2. Press the Win Key (Windows key) for some seconds: ImageGlass zooms the image as long as you press the key. Extremely annoying
  3. Press the Win Tab (Windows key with the Tab key): ImageGlass starts zooming and does not stop while Windows Displays all active Application Windows (Task-Switch). Extremely annoying

Actual behavior:

See "Steps to reproduce the behavior:"

Expected behavior:

  1. The Win key and any Win key combinations should not do anything in ImageGlass because those key combinations should be reserved for System tasks
  2. It would be very useful if users could modify all keyboard shortcut in ImageGlass

Screenshots:

Additional context:

@d2phap
Copy link
Owner

d2phap commented Dec 10, 2023

I'm unable to reproduce the issue (Windows 11). Can you attach a video?

@Otiel
Copy link

Otiel commented Dec 11, 2023

Same issue here. As soon as I hit the Windows key (even without releasing it), the image gets zoomed out. When I release the Windows key, the zooming out phase stops. If I let the Windows key pressed more than one second, the image is zoomed out to 1% of its original size.

I have the issue since v9.0.7.1125, still happens with v9.0.8.1208.
W10 22H2

Video.mp4

@d2phap
Copy link
Owner

d2phap commented Dec 12, 2023

Thanks for the video, I will test the issue on Windows 10.

@d2phap
Copy link
Owner

d2phap commented Dec 13, 2023

I tested on VirtualBox, still cannot reproduce

1769.mp4

@Otiel
Copy link

Otiel commented Dec 15, 2023

I stopped all software running on my PC to eliminate any conflict that could happen between ImageGlass and other software (especially with software interacting with keystrokes like AutoHotkey & all...), but no luck.

@ZunRine
Copy link

ZunRine commented Jan 3, 2024

This issue seems like it has to do with the keyboard's input methods for whichever reason.
QWERTY seems to work fine meanwhile AZERTY (french one specifically others work fine) causes the caps lock button to trigger the zoom out function alongside the windows key.
here's an example:

2024-01-03.00-46-27.mp4

tested on windows 11 pro Version 10.0.22631 Build 22631

@d2phap
Copy link
Owner

d2phap commented Jan 5, 2024

Thanks @ZunRine for pointing out AZERTY keyboard layout! I managed to reproduce the issue and pushed a fix.

In the meanwhile, you can temporarily fix this by changing the hotkey for menu Zoom Out.

  • Close all IG windows
  • Open igconfig.json file with any text editor (Notepad, VS Code,...)
  • Find the MenuHotkeys and update it with:
{
  "MenuHotkeys": {
    "MnuZoomOut": ["Subtract"]
  },
}
  • Save the file and open IG again

@d2phap d2phap added this to the v9.0.10 milestone Jan 5, 2024
@d2phap
Copy link
Owner

d2phap commented Jan 6, 2024

I created a build for testing this, you can download it here: https://drive.google.com/file/d/1_qTiGxV7u0SuQ0B8PG2eug_z1nWnEgnc/view?usp=sharing

@Tomoko1
Copy link

Tomoko1 commented Jan 6, 2024

I created a build for testing this, you can download it here: https://drive.google.com/file/d/1_qTiGxV7u0SuQ0B8PG2eug_z1nWnEgnc/view?usp=sharing

I have an AZERTY keyboard and I can confirm that this bug doesn't happen anymore for me with this build. 🙂👍

@Otiel
Copy link

Otiel commented Jan 6, 2024

Looks good to me too, AZERTY keyboard as well. 🥳

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

5 participants