RC1: Thumbnails Cache is case sensitive (Optimize is not)

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France
Contact:

RC1: Thumbnails Cache is case sensitive (Optimize is not)

Post by Olivier_G »

I recently renamed some images from xxx.JPG to xxx.jpg, and XnView recreated all thumbnails although they were already in Cache -> Cache is case sensitive (I believe it shouldn't).
I used Optimize then... but it didn't remove the doublons (Optimize is probably NOT case sensitive).
=> making Cache not case sensitive should solve the problem.

Olivier

XnView 1.82 <x>
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: RC1: Thumbnails Cache is case sensitive (Optimize is not

Post by xnview »

Olivier_G wrote:I recently renamed some images from xxx.JPG to xxx.jpg, and XnView recreated all thumbnails although they were already in Cache -> Cache is case sensitive (I believe it shouldn't).
I used Optimize then... but it didn't remove the doublons (Optimize is probably NOT case sensitive).
=> making Cache not case sensitive should solve the problem.

Olivier
Strange because it's not case sensitive
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Sensitive … randomly !

Post by Clo »

:arrow: Pierre

:) Hello Pierre !

- I don't know if this could help, but I experienced recently a strange problem in the same painting about files names which could be all lowercase, all uppercase or mixed with the SFX packer-plugin of Total Commander.
- Under XP-Pro, the language file-names I referred to were not recognized by the plugin when not all uppercase !
- Indeed, this seems abnormal, since on principle the Windows (all) don't care the case… Reporting that to the author of the plugin, he explained me that this is not absolutely true sometimes; then, he found out a workaround to solve the issue…
- You could contact him via the TC board, since you are a Member (Lefteous, Moderator) for instance as a [OT] message in his SQX thread, or I could attempt to make he reads that thread here ?

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France
Contact:

Re: RC1: Thumbnails Cache is case sensitive (Optimize is not

Post by Olivier_G »

xnview wrote:Strange because it's not case sensitive
Right: it may be a different problem...

To get this: browse (thumbnails mode) to a folder. Rename an image with Windows Explorer to only change the case (any part).
=> XnView detects a change and will create a new Thumbnail without deleting the previous one. And it will keep adding a new thumbnail at each update (even if it matches exactly a previous case). Optimize will not remove any previously created Thumbnail, even if they all match the same file!

So it may be related to the way XnView handles updates of files, while not detecting any change afterwards.

Olivier
PS: I believe there is a larger issue in the way XnView handles updates of files and Thumbnail cache...
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: RC1: Thumbnails Cache is case sensitive (Optimize is not

Post by xnview »

Olivier_G wrote:
xnview wrote:Strange because it's not case sensitive
Right: it may be a different problem...

To get this: browse (thumbnails mode) to a folder. Rename an image with Windows Explorer to only change the case (any part).
=> XnView detects a change and will create a new Thumbnail without deleting the previous one. And it will keep adding a new thumbnail at each update (even if it matches exactly a previous case). Optimize will not remove any previously created Thumbnail, even if they all match the same file!

So it may be related to the way XnView handles updates of files, while not detecting any change afterwards.

Olivier
PS: I believe there is a larger issue in the way XnView handles updates of files and Thumbnail cache...
I'll change the method for storing the cache in 1.83
Pierre.
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

So postponed?
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France
Contact:

Re: RC1: Thumbnails Cache is case sensitive (Optimize is not

Post by Olivier_G »

Olivier_G wrote:And it will keep adding a new thumbnail at each update. Optimize will not remove any previously created Thumbnail, even if they all match the same file!
=> maybe a quick removal of doublons with Optimize would be enough (keep latest version only... or even none if there is no date info)?

Olivier
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

I move to Postponed.

There is no use to invest work in feature that's soon to be reworked anyway, and this seems to be a minor nuisance.

X.
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France
Contact:

Post by Olivier_G »

Agreed

...and happy 500, Xyzzy :)
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Next —> 1,000

Post by Clo »

:arrow: Xyzzy

:) Hello L. !

- Congratulations ! Next @ 1,000 now… :P

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

Thank you :mrgreen:
I hope that 1k will be not sooner than the next beta :D

X.
Post Reply