Hi,
In XnViewMP 0.50, the "Maximum view tabs" setting is currently not properly supported for:
=Double-click on associated image file from Win Explorer
=drag & drop of image file to xnview.exe
=Drag & drop of file to tab bar
...Please fix these three listed above!
..The "Maximum view tabs" setting works properly with file opening from 'Browser', 'Recent files'
Reproduction
1.) Run a 'clean' XnView MP 0.48
2.) Open "Settings" and enable 'One instance of program only'
2.) In "Settings" disable 'Fullscreen when starting with file' and disable 'Closing last tab exits XnView'
2.) In "Settings" finally set the 'Maximum of view tabs' to "3" (so that max view tabs now = 3)
4.) Open any 3 image files from "Browser" or from "Recent Files" whichever
5.) Each image file will open in a separate tab
6.) Now go to Windows Explorer, and then Drag & drop another new image file to the xnview.exe
7.) Now notice that a fourth tab opens instead of the image file opening in the last third tab
-----------------------------------------------------------------
Furthermore, I discovered another small bug (lack of feature). See below reproduction:
1.) Run a 'clean' XnView MP 0.48
2.) Set Max view tabs to "3"
4.) Open 3 image files from Recent Files (each file opens in each view tab)
5.) Now do a xnview "Capture" command with default settings to capture a desktop screenshot...
5.) ...So now a fourth tab opens which is a Captures tab (this is ok)
6.) Now Open another different image file from Recent files...
7.) Notice how this last opened image file occupies the 'Captures' tab
So for here it should NOT occupy the Captures tab but should occupy that last opened (3rd) view tab. Please fix
0.50 win-x86: Small bugs with "Maximum view tabs"
Moderators: helmut, XnTriq, xnview, Dreamer
0.50 win-x86: Small bugs with "Maximum view tabs"
Last edited by budz45 on Tue Dec 25, 2012 11:33 pm, edited 3 times in total.
Re: 0.50 win-x86: Small bugs with "Maximum view tabs"
I have edited the above reproduction to include some more information.
Re: 0.50 win-x86: Small bugs with "Maximum view tabs"
Fixed BUT causes a program crashbudz45 wrote: 1.) Run a 'clean' XnView MP 0.48
2.) Open "Settings" and enable 'One instance of program only'
2.) In "Settings" disable 'Fullscreen when starting with file' and disable 'Closing last tab exits XnView'
2.) In "Settings" finally set the 'Maximum of view tabs' to "3" (so that max view tabs now = 3)
4.) Open any 3 image files from "Browser" or from "Recent Files" whichever
5.) Each image file will open in a separate tab
6.) Now go to Windows Explorer, and then Drag & drop another new image file to the xnview.exe
7.) Now notice that a fourth tab opens instead of the image file opening in the last third tab

NOT Fixed in XnViewMP 0.53budz45 wrote: 1.) Run a 'clean' XnView MP 0.48
2.) Set Max view tabs to "3"
4.) Open 3 image files from Recent Files (each file opens in each view tab)
5.) Now do a xnview "Capture" command with default settings to capture a desktop screenshot...
5.) ...So now a fourth tab opens which is a Captures tab (this is ok)
6.) Now Open another different image file from Recent files...
7.) Notice how this last opened image file occupies the 'Captures' tab
So for here it should NOT occupy the Captures tab but should occupy that last opened (3rd) view tab. Please fix

Re: 0.50 win-x86: Small bugs with "Maximum view tabs"
Hum, when you open an image file, the last tab is taken, so here it's capture tabbudz45 wrote:NOT Fixed in XnViewMP 0.53budz45 wrote: 1.) Run a 'clean' XnView MP 0.48
2.) Set Max view tabs to "3"
4.) Open 3 image files from Recent Files (each file opens in each view tab)
5.) Now do a xnview "Capture" command with default settings to capture a desktop screenshot...
5.) ...So now a fourth tab opens which is a Captures tab (this is ok)
6.) Now Open another different image file from Recent files...
7.) Notice how this last opened image file occupies the 'Captures' tab
So for here it should NOT occupy the Captures tab but should occupy that last opened (3rd) view tab. Please fix
Pierre.
Re: 0.50 win-x86: Small bugs with "Maximum view tabs"
The Capture tab should not get used in this 'max view tabs' case...So only the last view tab before the Captures tab should be used.xnview wrote:Hum, when you open an image file, the last tab is taken, so here it's capture tab
Re: 0.50 win-x86: Small bugs with "Maximum view tabs"
Not sure about?? I don't understandxnview wrote:hummm, not sure
Re: 0.50 win-x86: Small bugs with "Maximum view tabs"
Thanks for fixing this in 0.56budz45 wrote:Fixed BUT causes a program crashbudz45 wrote: 1.) Run a 'clean' XnView MP 0.48
2.) Open "Settings" and enable 'One instance of program only'
2.) In "Settings" disable 'Fullscreen when starting with file' and disable 'Closing last tab exits XnView'
2.) In "Settings" finally set the 'Maximum of view tabs' to "3" (so that max view tabs now = 3)
4.) Open any 3 image files from "Browser" or from "Recent Files" whichever
5.) Each image file will open in a separate tab
6.) Now go to Windows Explorer, and then Drag & drop another new image file to the xnview.exe
7.) Now notice that a fourth tab opens instead of the image file opening in the last third tabin XnViewMP 0.53...Please fix crash bug.

