Viewer - fix unnecessary window manipulations

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

User avatar
user0
XnThusiast
Posts: 1694
Joined: Sat May 09, 2015 9:37 am

Viewer - fix unnecessary window manipulations

Post by user0 »

XnViewMP 1.4.3 64bit
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


Last bumped by user0 on Thu Sep 14, 2023 12:43 pm.