Ultimaker / Cura

3D printer / slicing GUI built on top of the Uranium framework
GNU Lesser General Public License v3.0
6.07k stars 2.06k forks source link

No 3mf thumbnail shown #14728

Open GMagician opened 1 year ago

GMagician commented 1 year ago

Application Version

5.2.2

Platform

Windows 11

Printer

Custom

Reproduction steps

Whenever any 3mf containing a file with double #n (e.g. 'myprinter_extruder_0 #2_user #2.inst.cfg' windows doesn't display thumbnail. To see it just open 3mf with 7zip and rename a 'Cura/' file.

Now I've not enough knowledge to know if this is a "malformed" 3mf or a windows thumbnail viewer issue, erase this if latter

Actual results

3mf cura icons is used

Expected results

thumbnail image as icon

Checklist of files to include

Additional information & file uploads

No needs for a specific 3mf or printer configuration

MariMakes commented 1 year ago

Hey @GMagician,

Thanks for your report 👍 I was able to reproduce it by following your exact steps. But not in another way.

Can you help me understand why this is a bug? How is this limiting you or others in working with Cura?

GMagician commented 1 year ago

I think it's a bug because thumbnail should be shown. Question is: Does such filename turn this 3mf file into a malformed 3mf (then windows doesn't display image) or it's just the windows viewer bugged? I don't have enough knowledge to discriminate, but someone here for sure

This bug doesn't limit anything, it's just lost the possibility to see at a glance what is contained into a 3mf.

GMagician commented 1 year ago

Oh I forgot. Cura may create such filenames (with 2 #) when a 3mf is loaded and then saved. Usually I see it if 3mf was originally saved by old printer and loaded + saved with new one. Not detected properly when this occurs. Maybe when 'groupid' changes (in global.cfg)

MariMakes commented 1 year ago

Quick Update.

I found this report of someone who encountered this on accident. https://community.ultimaker.com/topic/42962-renderings-not-showing-when-i-open-previous-files-sometimes/

So it seems more serious than we initially thought.

MariMakes commented 1 year ago

Hey @GMagician,

Quick update on our side. We've added a ticket to the backlog with the intent to improve this. For internal reference CURA-10573

Thanks for the report! 👍