Menu

#63 moving windows with small images

Next release
open
nobody
None
5
2021-05-12
2018-12-11
No

If I open the small image in the windows and move to the next small image in the windows, the whole window with pictures is moving to the right down. So next and next images means that the windows is moving to the right down corner.

Discussion

  • Cham

    Cham - 2021-02-15

    I'm experiencing the same issue.

     
  • Melvin Nava

    Melvin Nava - 2021-02-16

    (I'm not the developer, just trying to help)

    Can you post an image or a small video/gif to show what happens?.. I tried to replicate the description with 120px images but could find anything wrong. Is it possible you have some third party software or configuration that might be causing this?.

     
  • Cham

    Cham - 2021-02-16

    Ok I figured out the setting that was causing the issue. It was the following setting: "MinimalWindowSize=720 480". After changing it back to the default "320 240" the window stopped moving when changing pictures.

    I'm going to detail my thought process of how and why I ran into the bug because it happened as a result of trying to work around a different bug that results from working with small images.

    I'm working with 32x32px png files for a retro game so I disabled HighQualityResampling to keep them from getting blurry when I scaled them up. Then I had an issue where AutoZoomMode set to Fit or Fill wouldn't scale the small images to the window size- they just stayed normal size unless I pressed Space (they do scale automatically if I have JPEGView in full screen, but I don't want to have to go full screen every time I need to open the images). So I attempted to change the settings related to the window sizing in the hopes that a larger automatic window size would make the Auto Zoom kick in. Setting the DefaultWindowRect to "auto" or "image" didn't change anything, so I tried changing MinimalWindowSize to "720 480" and that didn't fix anything either.

    For some reason, changing that setting to a size higher than default and then opening a small image causes the window to move to the bottom right corner when going to the next/previous image. I'll submit a ticket about the small images not auto zooming if it hasn't already been submitted.

     
  • Melvin Nava

    Melvin Nava - 2021-02-16

    I see what you mean.. I was able to see the window doing to the right bottom when I had MinimalWindowSize set to "800 600". It does look like a bug. Weird one. Or perhaps there's some conflicting configuration we're missing.

    Submitting a ticket would be a good idea, but keep in mind the author hasn't made any updates since 2018. Meanwhile you could try different approaches to find a solution. Either with JPEGView configuration, or/and by using a third party tool like AutoHotkey that allows you to manipulate window sizes and positions using hotkeys or by detecting the running application.

     
  • SylikC

    SylikC - 2021-05-12

    Hmm, let me try to reproduce this bug. I'm not the main dev either, but I started a GitHub fork hoping to attract developers

     

Log in to post a comment.