See also: http://newsgroup.xnview.com/viewtopic.php?t=15493
Reproduce:
1. Open any picture in view mode and resize the xnview window to size smaller than the screen.
2. Maximize XnView window. (With the button in the titlebar)
3. View the picture in fullscreen.
4. Close fullscreen and restart XnView.
5. Unmaximize XnView window. (XnView window doesn't return to the size before it was maximized, like it should)





Note: If you skip step 3 the bug doesn't occur.