kanryu / quickviewer

A image/comic viewer application for Windows, Mac and Linux, it can show images very fast
https://kanryu.github.io/quickviewer/
GNU General Public License v3.0
543 stars 65 forks source link

"Fit to Window" not working as expected for images smaller than window. #145

Closed robotreto closed 3 years ago

robotreto commented 4 years ago

Thanks for your super program, I really like it a lot.

I have only this small issue : If you have a big monitor like a 4K, smaller pictures are not fitted to the window. They stay small and need to be zoomed in manually, but there is no zoom button "Zoom to window", and zoom mode is not automatically reset with next picture....

kanryu commented 4 years ago

Sorry for the late reply. I don't have a 4K display, so I haven't seen any glitches in such an environment. If I find that verification is possible, I will try to fix it.

Thanks for the report :)

robotreto commented 4 years ago

Hi Kato-san,

no need for a 4K display to see the issue, just open a very small image, like a 640*480  : Even tough Fitting to window is enabled, it is not working as expected :

I would expect the following behaviour for small pictures :

1) if fit to window is disabled : leave picture 1:1 as it is currently the case. (like above example)

2) if fit to window is enabled : zoom picture until it's width or height matches the window.  (I know zooming will look ugly, but if you sit on a sofa 3 meters away from the monitor, it does not matter)

どうもありがとう

Reto.

==================== Tischhauser GmbH Reto Tischhauser Dipl Ing Chesa dals Peschs CH-7526 Chapella

Mob +41796114436 reto@tischhauser.com

Am 24.03.2020 um 10:20 schrieb KATO Kanryu:

Sorry for the late reply. I don't have a 4K display, so I haven't seen any glitches in such an environment. If you find that verification is possible, I will try to fix it.

Thanks for the report :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kanryu/quickviewer/issues/145#issuecomment-603124320, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIOFFCIVU7EO7EXRSS4WWLRJB3OPANCNFSM4LRLMPVQ.

sakkamade commented 3 years ago

@robotreto, There is an option (at least now) Don't enlarge small images on Fitting, have you tried to disable it?

robotreto commented 3 years ago

Okay, that did the trick. I must have overlooked this option.

Thanks a lot! Reto.

sakkamade commented 3 years ago

Please close it.