Lymphatus / caesium-image-compressor

Caesium is an image compression software that helps you store, send and share digital pictures, supporting JPG, PNG, WebP and TIFF formats. You can quickly reduce the file size (and resolution, if you want) by preserving the overall quality of the image.
https://saerasoft.com/caesium
GNU General Public License v3.0
3.49k stars 212 forks source link

If the name of the source folder is in Chinese, the folder path will be lost when importing #183

Closed leeaikong closed 1 year ago

leeaikong commented 1 year ago

Describe the bug

When I import a folder, some files have no path,

No error found when I empty the list and import it again。

Finally, I found that even if the folder is not a Chinese name, the folder path will also be lost

20230130213207

Software version The version of Caesium Image Compressor 2.3.0

Operating System information win 10

Lymphatus commented 1 year ago

Hi! Can you please add some details about the steps you did before encountering the bug? For example, can you provide me the paths of the folders you added and in what order? Also, did you use the "Add Folder" or "Add files" option? I tried with some random paths on my device and seemed to be fine, with or without 汉字.

leeaikong commented 1 year ago

Using the "Add Folder" or "Add File" option, I found no problem

Dragging a folder into the window will cause the missing folder path

Lymphatus commented 1 year ago

I was able to reproduce the issue by importing a folder by dragging and then importing some files (not folders) by dragging too. I'll have a look.

leeaikong commented 1 year ago

pp

The dynamic recording screen reappears an error. Please take a look

Lymphatus commented 1 year ago

Fixed in v2.3.1