b1: Renamed image stops thumbnail rendering.

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

b1: Renamed image stops thumbnail rendering.

Post by marsh »

This happens when 'recognize only by extension' is used:
Any jpg/gif renamed png causes thumbnail rendering to halt/freeze.
One could encounter this when looking through downloaded images which have been misnamed.

XnView 1.82 -
User avatar
xnview
Author of XnView
Posts: 34681
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Renamed image stops thumbnail rendering.

Post by xnview »

marsh wrote:This happens when 'recognize only by extension' is used:
Any jpg/gif renamed png causes thumbnail rendering to halt/freeze.
One could encounter this when looking through downloaded images which have been misnamed.
But if you have 'recognize only by extension', it's normal that thumbnail can not be created for a jpeg file with .png extension for example.
Pierre.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: Renamed image stops thumbnail rendering.

Post by marsh »

xnview wrote:
marsh wrote:This happens when 'recognize only by extension' is used:
Any jpg/gif renamed png causes thumbnail rendering to halt/freeze.
One could encounter this when looking through downloaded images which have been misnamed.
But if you have 'recognize only by extension', it's normal that thumbnail can not be created for a jpeg file with .png extension for example.
It does freeze program when this occurs though- it is necessary to use task manager to exit program.
User avatar
xnview
Author of XnView
Posts: 34681
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Renamed image stops thumbnail rendering.

Post by xnview »

marsh wrote:
xnview wrote:
marsh wrote:This happens when 'recognize only by extension' is used:
Any jpg/gif renamed png causes thumbnail rendering to halt/freeze.
One could encounter this when looking through downloaded images which have been misnamed.
But if you have 'recognize only by extension', it's normal that thumbnail can not be created for a jpeg file with .png extension for example.
It does freeze program when this occurs though- it is necessary to use task manager to exit program.
You have a freeze of XnView?
Pierre.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: Renamed image stops thumbnail rendering.

Post by marsh »

xnview wrote:
marsh wrote:
xnview wrote: But if you have 'recognize only by extension', it's normal that thumbnail can not be created for a jpeg file with .png extension for example.
It does freeze program when this occurs though- it is necessary to use task manager to exit program.
You have a freeze of XnView?
Yes.
Here is an example file but it isn't really needed- the problem can be recreated with any jpg
http://img311.imageshack.us/img311/8239/spectrum0zt.png
User avatar
xnview
Author of XnView
Posts: 34681
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Renamed image stops thumbnail rendering.

Post by xnview »

marsh wrote:Here is an example file but it isn't really needed- the problem can be recreated with any jpg
http://img311.imageshack.us/img311/8239/spectrum0zt.png
I can't reproduce it. So you rename a jpg file into .png, and browse your folder with this file. And here you have the freeze??
Pierre.
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

Here no problem with JPEGs renamed to PNG or vice versa. Recognize only be extension checked of course, cache disabled.

X.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: Renamed image stops thumbnail rendering.

Post by marsh »

xnview wrote:
marsh wrote:Here is an example file but it isn't really needed- the problem can be recreated with any jpg
http://img311.imageshack.us/img311/8239/spectrum0zt.png
I can't reproduce it. So you rename a jpg file into .png, and browse your folder with this file. And here you have the freeze??
Yes- and thumbail rendering for other files is halted when that renamed file is encountered, but only in a thumbnail view and when 'recognize by extension' is used.
When I place file by itself in a directory (and look at it in TH&Details view), I can preview it- but when I try and leave directory again I sometimes see a windows box saying "program is not responding".

Xnview hides other misnamed images when 'recognize by extension' is used (a gif renamed jpg is hidden after thumbnails are rendered).
ckit
XnThusiast
Posts: 2449
Joined: Tue Feb 17, 2004 1:11 am
Contact:

Post by ckit »

Ok, I can reproduce this bug using the options above:

- Rename a JPG to PNG
- That file no longer has a thumbnail which is OK
- Rename the PNG back to JPG
- XnView Freezes!
XnView MP 64bits and Windows 10 Pro x64 20H2
PhotoFiltre Studio X
User avatar
xnview
Author of XnView
Posts: 34681
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

ckit wrote:Ok, I can reproduce this bug using the options above:

- Rename a JPG to PNG
- That file no longer has a thumbnail which is OK
- Rename the PNG back to JPG
- XnView Freezes!
Can't reproduce it :-(
So is it?
- Open browser
- Rename a jpg to png
- Change to another folder
- Go back to the folder
- Rename png to jpeg
right?
Pierre.
User avatar
helmut
Posts: 8220
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

Can't reproduce it either, possibly since something else is going wrong for me:
In Beta 1 when renaming from JPG to PNG, the thumbnail is still displayed. Even leaving the directory, cleaning the cache and browsing the directory, again, will show the thumbnail. ("Recognize only by extension" is checked (!)).
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

I was not using thumbnail cache (maybe that will help). I can recreate this with v.1.80.3 also.
User avatar
xnview
Author of XnView
Posts: 34681
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

marsh wrote:I was not using thumbnail cache (maybe that will help). I can recreate this with v.1.80.3 also.
I don't use cache too, but do you reproduce when using:
- Open browser
- Rename a jpg to png
- Change to another folder
- Go back to the folder
- Rename png to jpeg
?
Pierre.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

xnview wrote:
marsh wrote:I was not using thumbnail cache (maybe that will help). I can recreate this with v.1.80.3 also.
I don't use cache too, but do you reproduce when using:
- Open browser
- Rename a jpg to png
- Change to another folder
- Go back to the folder
- Rename png to jpeg
?
The easiest way to recreate problem:
1. Use ms explorer first to rename jpg.
(Ex: test.jpg to test.png or test.jpg.png)
2. Start "Browse with Xnview" on ms explorer directory containing misnamed file.
3. Now Xnview freezes while creating thumbnails.
User avatar
helmut
Posts: 8220
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

marsh wrote:
xnview wrote:
marsh wrote:I was not using thumbnail cache (maybe that will help). I can recreate this with v.1.80.3 also.
I don't use cache too, but do you reproduce when using:
- Open browser
- Rename a jpg to png
- Change to another folder
- Go back to the folder
- Rename png to jpeg
?
The easiest way to recreate problem:
1. Use ms explorer first to rename jpg.
(Ex: test.jpg to test.png or test.jpg.png)
2. Start "Browse with Xnview" on ms explorer directory containing misnamed file.
3. Now Xnview freezes while creating thumbnails.
No chance to reproduce this. Could you please try with brandnew settings (rename or remove 'xnview.ini')? What's your JPG files' size (file size and image size)?
Post Reply