This was causing some files to be just over the limit of file length when given the default printer name on some operating systems. Some file systems, especially encrypted ones, have strict limitations for the maximum length of a file name. With percent-encoding and the extension and postfix we add to these file names, this could go over the limit in file name length for some operating systems.
Easy fix is to slightly shorten the name, at least to remove those brackets.
Done as a 5 minute fix.
Both the `preferredWidth` AND the `width` need to be set for the labels to be properly elided if there is no more room in the ColumnLayout. In addition, the ColumnLayout that contains the variants and material names needs to be visible only if width>0, otherwise when the width is negative, for some reason the `materialTypeLabel` appears again.
CURA-8496
We match these profiles by material type. Since they are all the same, we only need to retain one.
All other profiles than the black one weren't being loaded because all of these quality profiles had their 'material' metadata field set to be the black one.
Contributes to issue CURA-8469.
We don't condone stylized caps as they give an unfair advantage to some printers. We don't show logos here, just textual names.
Contributes to issue CURA-8469.
The deprecated icon "pencil" was being mapped to the new icon "Pencil" which is actually called "Pen".
This commit also replaces tabs with spaces in the deprecated_icons.json.
Fixes CURA-8488
It was not being displayed with Qt 5.15 due to the following error:
MaterialsView.qml:34:5: Unable to assign QStringList to QString
This is correct. And it should not just concatenate all of these material names; it should add a comma between them for human-readable display in the text label above the button.
Fixes#10235.