Windows11 (22H2), display resolution 3840x2160, win scaling 150%
Viewer - single instance app
issue A
window minimizes/restores on file open
to reproduce:
1. run clean portable XnViewMP
2. goto Settings>General
- set 'Allow only one instance of XnView'
3. close app
4. from windows file explorer
- open same image multiple times OR few image files, one by one
on each open app's window will blink,
it looks like app:
- minimizes to taskbar (to the lower left corner), than
- restores from taskbar, returning to previous window size/position
Suggestion
since there are no any weird window manipulations when image opened from Browser tab,
I assume, it shall be possible to avoid such minimize/restore behaviour with 'Allow only one instance of XnView' setting as well
issue B
maximized window ↔ fullscreen
to reproduce:
1. run clean portable XnViewMP
2. open any image
3. maximize app window
4. press F11 to switch to fullscreen mode
5. press F11 to switch back to normal mode
app will perform unnecessary window manipulations
it looks like app:
- minimizes to some point at desktop
- restores from this point, returning to previous window size/position
Related
- issues
Viewer - fix unnecessary window manipulations (current post)