0.51 Win7: Window maximized state

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

Brisq
Posts: 2
Joined: Fri Jun 29, 2012 5:39 pm

0.51 Win7: Window maximized state

Post by Brisq »

XnView would not remember that window was maximized. If I start with a file (start in fullscreen is on) and then leave fullscreen, window will be small and in the top left corner. If I resize it before closing, next time I launch a file the window will be of a new size. However, maximizing window before leaving has no effect on the next launch, as it will open in a not-maximized window.
If I start using .exe, it will remember maximized state correctly, however next launch from file resets size and position to a small window in the top left corner.

Unchecking "Fullscreen when starting with a file" solves the problem but is not very convenient.

Problem persisted from early builds.
Windows 7x64, UAC off
User avatar
xankazo
Posts: 2
Joined: Fri Jun 29, 2012 7:43 am
Location: Dominican Republic

Re: XnView 0.51, Window maximized state

Post by xankazo »

Yeah, I can confirm this.
kufer
Posts: 1
Joined: Wed Jul 25, 2012 3:26 pm

Re: XnView 0.51, Window maximized state

Post by kufer »

Create a shortcut to xnview.exe anywhere in system and edit it to run program maximized. Then run it and close it.
From now it will remember last state as maximized.

Worked for me :)
User avatar
xnview
Author of XnView
Posts: 45321
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.51: Window maximized state

Post by xnview »

I can't reproduce with 0.51.

* start xnview with a file (open in fullscreen)
* ESC, and here the size is not correct???
Pierre.
Rebellious
Posts: 39
Joined: Tue Jul 22, 2008 4:49 pm

Re: 0.51 Win7: Window maximized state

Post by Rebellious »

Same problem here, v0.51Linux-64, though It worked ok sometimes . If app is maximized then closed, when app reopens treeview window width is not restored. Seems to have something to do with starting with command line. If app is not maximized (restored) the control size is restored properly on startup.
User avatar
CreativeWorld
Posts: 141
Joined: Fri Dec 30, 2011 7:08 pm

Re: 0.51: Window maximized state

Post by CreativeWorld »

Same problem on 0.61 / Win8.1 x64.
xnview wrote:* start xnview with a file (open in fullscreen)
* ESC, and here the size is not correct???
It remembers the window position and size, but maximized state seems to be ignored completely. Happens only with the described scenario after fullscreen > view mode transition - the resulting window is never maximized. Browser mode doesn't have this issue.