XnView Maximized Bug and Continually Crashes on Startup
Posted: Sun Nov 01, 2015 5:06 am
XnView launches on the wrong screen after the 3rd time the app is launched after maximizing. This occurs with the following screen configuration:
This occurs when maximizing XnView on Screen 1 (Laptop's LCD, shown as Screen 1 in ) when under Windows Display settings (for Windows 10 x64) Screen 2 is selected as the Main Display (eg. shows taskbar) and (if relevant) is considered positioned to the left of Screen 1.
Steps to Reproduce.
1. Maximize XnView on Screen 1 (secondary display positioned to right of Screen 2 primary display)
2. Close XnView
3. Launch again, its still maximized on Screen 1.
3. Close XnView
4. Launch XnView, and it starts up maximized on the opposite screen (Screen 2 to the left, the primary display).
This occurs with XnView Classic v2.34 as well as previous versions.
It seems like this is also related to what causes XnView to crash often on startup as well. For some reason, maybe once every 50 times XnView is launched, XnView gets into some kind of corrupted state where it crashes every single time its launched after that. The only workaround is to manually edit the XnView.ini to remove lines relating to window startup position and size. Though I'm not sure, it seems like XnView gets into this corrupted continuously crash on startup state less often if I avoid having any portion of the window sized beyond the desktop bounds, though it happens even then eventually.
This occurs when maximizing XnView on Screen 1 (Laptop's LCD, shown as Screen 1 in ) when under Windows Display settings (for Windows 10 x64) Screen 2 is selected as the Main Display (eg. shows taskbar) and (if relevant) is considered positioned to the left of Screen 1.
Steps to Reproduce.
1. Maximize XnView on Screen 1 (secondary display positioned to right of Screen 2 primary display)
2. Close XnView
3. Launch again, its still maximized on Screen 1.
3. Close XnView
4. Launch XnView, and it starts up maximized on the opposite screen (Screen 2 to the left, the primary display).
This occurs with XnView Classic v2.34 as well as previous versions.
It seems like this is also related to what causes XnView to crash often on startup as well. For some reason, maybe once every 50 times XnView is launched, XnView gets into some kind of corrupted state where it crashes every single time its launched after that. The only workaround is to manually edit the XnView.ini to remove lines relating to window startup position and size. Though I'm not sure, it seems like XnView gets into this corrupted continuously crash on startup state less often if I avoid having any portion of the window sized beyond the desktop bounds, though it happens even then eventually.