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

Window scales too small for tiny image + inconsistent scaling for larger image in loop #814

Closed
zEdS15B3GCwq opened this issue Jul 4, 2020 · 3 comments
Assignees
Milestone

Comments

@zEdS15B3GCwq
Copy link

zEdS15B3GCwq commented Jul 4, 2020

System information:

  • Windows OS version: Win 10 x64 Pro 1909
  • ImageGlass version: 7.6.4.30

To Reproduce

Steps to reproduce the behavior:

  1. have 2 images in folder, one very small (10x10 red filled square here, first image), and another larger one (1920x1080 in my case; original not uploaded)
  2. set IG scaling/zoom to "scale to fit" and "window fit"
  3. cycle between images
  4. profit

Actual behavior:

Problem A: the window scales to a too small size for the tiny image - only the IG icon, minimize and close buttons are visible, the toolbar is unusable and the picture itself is hidden.
Problem B: inconsistent scaling - cycle between the images, and the larger image appears once smaller, once in full size. Cycling can be done in any way - loop in one direction, or up/down/up/down.
See uploaded images 2 3 and 4; in case of looping, IG would display them in this order: 2, 3, 2, 4, 2, 3, 2, 4 ...

Expected behavior:

  1. I'd expect IG to have a 'minimum' window size when scaling, which is still usable and shows the image.
  2. Scaling should be consistent, the large image should appear properly scaled and the same size, always.

Screenshots:

tiny image 10x10
red filled rect 10x10
loop order (pressing next image repeatedly)
1 & 3 (red square not even visible)
ig1
2 (large image first appears incorrectly scaled, i.e. much smaller)
ig2
4 (large image correctly scaled)
ig3

Additional context:

Today was rainy?

@fire-eggs
Copy link
Collaborator

I've confirmed this issue. Note that the "scale to fit" part doesn't seem to matter, even with "Auto Zoom", I see the described behavior. I.e. this is a problem solely with "Window Fit".

@SylwesterZarebski
Copy link

Confirmed with enabled or disabled Auto zoom.

@d2phap
Copy link
Owner

d2phap commented May 16, 2021

fixed in v8.2

@d2phap d2phap closed this as completed May 16, 2021
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

4 participants