"Fit window to image" does NOT work

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, helmut, xnview

Post Reply
pstein
Posts: 51
Joined: Mon Sep 04, 2006 3:43 pm

"Fit window to image" does NOT work

Post by pstein »

I changed the option to "Fit window to image". See:

http://img299.imageshack.us/img299/4650 ... 115ui9.png

But there remains still a grey border around the image.See

http://img299.imageshack.us/img299/7097 ... 105qo5.png

Why is there no real, complete "fit window to image"

Peter
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "Fit window to image" does NOT work

Post by xnview »

pstein wrote:I changed the option to "Fit window to image". See:

http://img299.imageshack.us/img299/4650 ... 115ui9.png

But there remains still a grey border around the image.See

http://img299.imageshack.us/img299/7097 ... 105qo5.png

Why is there no real, complete "fit window to image"

Peter
There is a minimum window size
Pierre.
nim
Posts: 18
Joined: Fri May 11, 2007 7:13 pm

Post by nim »

could not an option to either manually set the minimum window size or disable it be added?
atleast the minimum window height has no reason in my head. there's nothing that gets truncated in the gui if you reduce window (image area) height to 0.

and about window width I guess the thought is that it gets ugly when menu bar hops down on several rows.... suggestion:
settings: hide menu bar? (been wishing for this ever since I switched to xnview)
menu bar could like in new mIRC or acdsee be present in top-left program icon drop-down if you've hidden it?
then if you've hidden menu-bar (and toolbar etc) there are only the title-bar ([¤] Xnv.. [-][^][x]) left to set a minimum window width.

then window could fit to all image heights and all image widths down to the width of the title-bar icons drawn together.

I would be very happy for this feature! :)
Thanks!
pstein
Posts: 51
Joined: Mon Sep 04, 2006 3:43 pm

Post by pstein »

I agree with "nim"
Danny
Posts: 575
Joined: Sat Sep 04, 2004 5:09 pm

Post by Danny »

I agree with the strange window height behaviour. I'm fine with the minimum width though...
Get the bugs fixed, THEN start adding features. It sucks, but someone has to do it.
Pixel Eater
Posts: 5
Joined: Sun Dec 31, 2017 1:02 pm

Re: "Fit window to image" does NOT work

Post by Pixel Eater »

Why after all these years is ViewWidth=416 still forced? Would it be very difficult to permit users a choice in this so they aren't left with large grey spaces around smaller images? Please consider it. This is another thing ACDSee 2.5 got right, but I'd rather use XnView if it can solve a few lingering issues that were never addressed.
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "Fit window to image" does NOT work

Post by xnview »

Pixel Eater wrote:Why after all these years is ViewWidth=416 still forced? Would it be very difficult to permit users a choice in this so they aren't left with large grey spaces around smaller images? Please consider it. This is another thing ACDSee 2.5 got right, but I'd rather use XnView if it can solve a few lingering issues that were never addressed.
what's the problem?
Pierre.
Pixel Eater
Posts: 5
Joined: Sun Dec 31, 2017 1:02 pm

Re: "Fit window to image" does NOT work

Post by Pixel Eater »

It is currently not possible for the window to become smaller than this without exposing grey borders.

Image


In part because of this parameter being actually forced to 416 no matter what you input. But this should not be the default behavior in the first place.

Image
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "Fit window to image" does NOT work

Post by xnview »

yes there is a minimal height
Pierre.
Pixel Eater
Posts: 5
Joined: Sun Dec 31, 2017 1:02 pm

Re: "Fit window to image" does NOT work

Post by Pixel Eater »

xnview wrote:yes there is a minimal height
May I recommend making it at least possible to bypass this? Several image viewers do not exhibit this oddly specific behavior, not even my 10 year old copy of ACDSee image viewer. Though I am trying to make the switch to XnView. To do so, I believe there are just two or three missing features that stand in the way, but could surely be worth fixing.
pstein
Posts: 51
Joined: Mon Sep 04, 2006 3:43 pm

Re: "Fit window to image" does NOT work

Post by pstein »

as you can see a lot of even the simplest feature requests are not understand and accepted.

Just a recommendation:

Get the pretty unknown but VERY useful picture Viewer "Imagine" from here:

http://www.nyam.pe.kr/dev/imagine/

It has everything you (we) want.

Don't mix it with other tools called "Imagine" as well.

Regards
pstein
Post Reply