"Maximum of view tabs" option not working.

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

FKCapitalism2
Posts: 270
Joined: Sun Apr 23, 2023 5:14 am

"Maximum of view tabs" option not working.

Post by FKCapitalism2 »

I have set Interface > Tabs > Maximum of view tabs = 1 and restarted XnView MP however when i double click image files in windows explorer it keep opening a new tab for each new file i double click in windows explorer.

Image

XnView MP v1.4.4
User avatar
user0
XnThusiast
Posts: 1888
Joined: Sat May 09, 2015 9:37 am

Re: "Maximum of view tabs" option not working.

Post by user0 »

looks like you have checked "Allow only one instance of XnView" in General>General tab
I guess in that case, if you limit tabs to 1 - single tab shall be reused for each new image
FKCapitalism2
Posts: 270
Joined: Sun Apr 23, 2023 5:14 am

Re: "Maximum of view tabs" option not working.

Post by FKCapitalism2 »

user0 wrote: Fri May 05, 2023 9:21 am looks like you have checked "Allow only one instance of XnView" in General>General tab
I guess in that case, if you limit tabs to 1 - single tab shall be reused for each new image
Yes, i have Allow only one instance of XnView option checked, but in addition to single instance i do also want to have only one tab all the time.

I believe this is a bug / omission to open new tabs when option Maximum of view tabs is more set to 1.

v1.5.5 is affected.
User avatar
user0
XnThusiast
Posts: 1888
Joined: Sat May 09, 2015 9:37 am

Re: "Maximum of view tabs" option not working.

Post by user0 »

yeah, looks like a bug

settings:
- allow only one instance [true]
- maximum of view tabs [1]

setting "maximum of view tabs":
- ignores when image opened via doubleclick from win file explorer (single Viewer tab shall be reused)
- works when image opened from Browser tab - single Viewer tab reuses for new images
User avatar
xnview
Author of XnView
Posts: 44583
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: "Maximum of view tabs" option not working.

Post by xnview »

fixed in 1.8.0?
Pierre.
User avatar
user0
XnThusiast
Posts: 1888
Joined: Sat May 09, 2015 9:37 am

Re: "Maximum of view tabs" option not working.

Post by user0 »

180
issue remains

also there is another issue with 'Allow only one instance' setting:
1.6.1 - general - fix ESC closing app in single instance mode
User avatar
xnview
Author of XnView
Posts: 44583
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: "Maximum of view tabs" option not working.

Post by xnview »

user0 wrote: Tue Sep 24, 2024 4:07 pm 180
issue remains
Strange i can't reproduce with
- allow only one instance [true]
- maximum of view tabs [1]
Pierre.
User avatar
user0
XnThusiast
Posts: 1888
Joined: Sat May 09, 2015 9:37 am

Re: "Maximum of view tabs" option not working.

Post by user0 »

open new images via doubleclick in win file explorer
no issue if opened from Browser tab
User avatar
xnview
Author of XnView
Posts: 44583
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: "Maximum of view tabs" option not working.

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 44583
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: "Maximum of view tabs" option not working.

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.8.1. Please check and confirm the bug fix here.
Pierre.