Problem with image name containing capitalization when compressing

Bug #1879313 reported by Indio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

Hi!

Calibre 4.16

There is a problem with image name containing capitalization when compressing.

When an image name contains capital letters, after compressing, saving and exiting the editor, when re-entering to editor the file name has been changed and the capital letters have disappeared, so the name no longer corresponds to that of the manifest.

To check, simply capitalize any image file name and perform the operation.

Thank you so much for everything,
 Calibre is the love of my life. :-)

Greetings from the Mediterranean Sea
Indio

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1879313

If you are using calibre on windows where file names are
case-insensitive then you indeed cannot do this. Instead of just
changing capitalization, also change the file name slightly, then after
the change is done, change it back, but keeping the new capitalization.
So for example: change file.png to File1.png and then to File.png

 status fixreleased

Changed in calibre:
status: New → Fix Released
Revision history for this message
Indio (indio-f) wrote :

Yes, in windows, in Linux is Ok.

I have a book with 14 images whose name contains some capital letters. When I compress the images the capital letters disappear, but the name is not updated in content.opf, so the images remain invisible.

With version 4.15 there is not this problem.

Sorry for my English.

Revision history for this message
Indio (indio-f) wrote :

Example book.

Indio (indio-f)
Changed in calibre:
status: Fix Released → New
Revision history for this message
Indio (indio-f) wrote :

I think it's related to:

Edit book: Fix compress images losslessly failing for a few images on windows when there are a lot of images in the book.

Closes tickets: 1877066

Revision history for this message
Indio (indio-f) wrote :

Open the sample book with edit, compress the images, close the editor. Open it again with edit, check the images.

With version 4.15 there is not this problem.

Thank you so much for everything,

Revision history for this message
Kovid Goyal (kovid) wrote :

OK, I'll take a look at it when I have a moment.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
Revision history for this message
Indio (indio-f) wrote :

Thank you very much.
I love your work.

Greetings from the Mediterranean Sea
Indio

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.