1.7.2 - viewer - single instance - issue opening multiple files

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

Moderators: XnTriq, helmut, xnview, Dreamer

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

1.7.2 - viewer - single instance - issue opening multiple files

Post by user0 »

XnViewMP 1.7.2 64bit
Windows11 (23H2), display resolution 3840x2160, win scaling 150%


Viewer
issue with opening several files in single instance mode

To reproduce:
0. run app with default settings
1. goto Settings > General > General tab
- Allow only one instance
- Save session on program exit - Never
- press OK
2. close app
3. select 3 files in win file explorer and press Enter
sometimes only 1 or 2 images are opened (repeat steps 2,3 to reproduce)

expected behviour
all selected files should be opened as tabs

also make sure it works correctly with "Save session on program exit - Always"



Related
Last edited by user0 on Mon Feb 17, 2025 4:29 pm, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 45579
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.7.2 - viewer - issue opening multiple files in single instance mode

Post by xnview »

'Interface>Drag&Drop: Open single viewer tab' is enabled?
Pierre.
User avatar
user0
XnThusiast
Posts: 2232
Joined: Sat May 09, 2015 9:37 am

Re: 1.7.2 - viewer - issue opening multiple files in single instance mode

Post by user0 »

☐ Drag&Drop: Open single viewer tab (default state)
enabling it has no effect - issue remains the same (repeat steps ~10-20 times)
User avatar
xnview
Author of XnView
Posts: 45579
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.7.2 - viewer - issue opening multiple files in single instance mode

Post by xnview »

do you reproduce the problem by drag&drop 3 files on XnView's icon?
Pierre.
User avatar
user0
XnThusiast
Posts: 2232
Joined: Sat May 09, 2015 9:37 am

Re: 1.7.2 - viewer - issue opening multiple files in single instance mode

Post by user0 »

no issue when files drag&droped on xnviewmp.exe - it always opens all 3 files in 3 tabs
User avatar
xnview
Author of XnView
Posts: 45579
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.7.2 - viewer - issue opening multiple files in single instance mode

Post by xnview »

user0 wrote: Tue Oct 01, 2024 8:49 am no issue when files drag&droped on xnviewmp.exe - it always opens all 3 files in 3 tabs
Really strange, it's the same entry point.
Pierre.