0 Byte file fix

Bugs and Suggestions in XnView Classic which have been resolved

Moderators: XnTriq, helmut, xnview

pic_viewer
Posts: 251
Joined: Sat Nov 17, 2007 7:53 am
Location: Germany

0 Byte file fix

Post by pic_viewer »

Thanks for the 0 Byte file fix in the beta! But there is still a wrong behaviour left. Description:

Start browser, go to where the 0 Byte file is located. Double-click the 0 Byte mini-pic symbol. As expected the warning message >Error opening...< comes up. Click ok.

Now a second instance of XnView is started with a different path! That should obviously not happen.
User avatar
xnview
Author of XnView
Posts: 45307
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0 Byte file fix

Post by xnview »

pic_viewer wrote:Thanks for the 0 Byte file fix in the beta! But there is still a wrong behaviour left. Description:

Start browser, go to where the 0 Byte file is located. Double-click the 0 Byte mini-pic symbol. As expected the warning message >Error opening...< comes up. Click ok.

Now a second instance of XnView is started with a different path! That should obviously not happen.
Can't reproduce :-( With a clean .ini, do you have it?
Pierre.
pic_viewer
Posts: 251
Joined: Sat Nov 17, 2007 7:53 am
Location: Germany

Post by pic_viewer »

Yes, even with clear (new/fresh) ini. Second instance starts with the last used path (as soon as you have an ini).

When using context menu "Open" the problem does not occur. (Perhaps something to do with the double-click?).
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

Confirmed. :bugconfirmed:

Details:
Windows XP SP2, file 'Null Byte.jpg' with 0 bytes, JPG files are associated with XnView 1.93 beta.
User avatar
xnview
Author of XnView
Posts: 45307
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

helmut wrote:Confirmed. :bugconfirmed:

Details:
Windows XP SP2, file 'Null Byte.jpg' with 0 bytes, JPG files are associated with XnView 1.93 beta.
I can't reproduce this bug.
With a clean .ini, jpg is associated with xnview, i double click on the 0 byte jpeg, and i have the error box, and xnview. No other instance
Pierre.
pic_viewer
Posts: 251
Joined: Sat Nov 17, 2007 7:53 am
Location: Germany

Post by pic_viewer »

xnview wrote:
helmut wrote:Confirmed. :bugconfirmed:

Details:
Windows XP SP2, file 'Null Byte.jpg' with 0 bytes, JPG files are associated with XnView 1.93 beta.
I can't reproduce this bug.
With a clean .ini, jpg is associated with xnview, i double click on the 0 byte jpeg, and i have the error box, and xnview. No other instance
That sounds like you did not do what I wrote above. Second step is to again click on the 0 Byte file from within the browser.
User avatar
xnview
Author of XnView
Posts: 45307
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

pic_viewer wrote:
xnview wrote:
helmut wrote:Confirmed. :bugconfirmed:

Details:
Windows XP SP2, file 'Null Byte.jpg' with 0 bytes, JPG files are associated with XnView 1.93 beta.
I can't reproduce this bug.
With a clean .ini, jpg is associated with xnview, i double click on the 0 byte jpeg, and i have the error box, and xnview. No other instance
That sounds like you did not do what I wrote above. Second step is to again click on the 0 Byte file from within the browser.
Oh ok, it's because you have 'open action' for other file on 'open in associate program', right? The dialog box is from the second instance
Pierre.
pic_viewer
Posts: 251
Joined: Sat Nov 17, 2007 7:53 am
Location: Germany

Post by pic_viewer »

xnview wrote:Oh ok, it's because you have 'open action' for other file on 'open in associate program', right? The dialog box is from the second instance
Sorry, I don't understand. But I think the error is somewhat caused already by XnView's basic behaviour. If I try to open an invalid file from an external program (like TC), and XnView can not open that file (Error message shown), why is it started at all and not closed automatically again? I bet that then the 'second instance start' from within the browser would not happen too.
User avatar
xnview
Author of XnView
Posts: 45307
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

pic_viewer wrote:
xnview wrote:Oh ok, it's because you have 'open action' for other file on 'open in associate program', right? The dialog box is from the second instance
Sorry, I don't understand. But I think the error is somewhat caused already by XnView's basic behaviour. If I try to open an invalid file from an external program (like TC), and XnView can not open that file (Error message shown), why is it started at all and not closed automatically again?
It's the behaviour of xnview... So yes i think that xnview must be closed!
Pierre.
pic_viewer
Posts: 251
Joined: Sat Nov 17, 2007 7:53 am
Location: Germany

Post by pic_viewer »

Works perfectly in Beta 2 now!