qView icon indicating copy to clipboard operation
qView copied to clipboard

window size follows *zoomed* image size

Open lorenzofanchi opened this issue 4 years ago • 12 comments

Hi, just switched to qView from Xee, loving it so far!

I was wondering if it would be possible to have the window frame around an image follow the size of the image when zooming. It would still respect a minimum/maximum window frame size, after which further zooming either:

  • introduces a black frame around the image (when zooming out)
  • crops the image at the window frame border (when zooming in)

Thanks for this amazing app!

lorenzofanchi avatar Apr 09 '20 11:04 lorenzofanchi

Yes, this should definitely be possible.

jurplel avatar Apr 10 '20 04:04 jurplel

Not sure if this is related: But the keyboard shortcut for "window > zoom" doesn't work on osx if you set one. Preview.app as an example of how this works.

thysultan avatar Apr 10 '20 07:04 thysultan

I guess the setting option could be added in the Preferences under: "Window matches image size" --> "Always"

lorenzofanchi avatar Apr 10 '20 12:04 lorenzofanchi

@thysultan I don't understand, how are you able to select a shortcut for window -> zoom, and what exactly is window -> zoom? @lorenzofanchi That is an excellent idea.

jurplel avatar Apr 10 '20 13:04 jurplel

System Preferences > Keyboard > Shortcuts > App shortcuts

Screen Shot 2020-04-10 at 5 23 36 PM

thysultan avatar Apr 10 '20 14:04 thysultan

@thysultan That issue should be resolved by this one: https://github.com/jurplel/qView/issues/233

jurplel avatar Apr 10 '20 14:04 jurplel

It is currently possible through the non-shortcut method of zooming the window but it expands to fullscreen(width/height) with the black background taking up the reset of the horizontal space in contrast to Preview.app that expands the image to the fullscreen(height) but keeping the ratio dimensions of the image.

Screen Shot 2020-04-10 at 5 49 12 PM

thysultan avatar Apr 10 '20 14:04 thysultan

@thysultan and that behavior should be possible with https://github.com/jurplel/qView/issues/268

jurplel avatar Apr 10 '20 15:04 jurplel

I've given this it's own issue: https://github.com/jurplel/qView/issues/284

jurplel avatar Apr 10 '20 15:04 jurplel

I use Xee only for this reason. Pinch-to-zoom image along with window.

pryley avatar Oct 31 '20 01:10 pryley

Yes, please. This is the only feature I need!

@jurplel and please make it the default behavior. Most people want this behavior. They hate when the window doesn't get bigger along with the image.

Pentaphon avatar May 06 '21 00:05 Pentaphon

+1, this feature would be great to enhance usability

rpc31 avatar Jun 11 '21 10:06 rpc31