source-foundry / Slice

An open-source, cross-platform GUI app to generate custom font design spaces from variable fonts
https://slice-gui.netlify.app/
GNU General Public License v3.0
158 stars 9 forks source link

Ability to paste output filename in GUI #48

Open tphinney opened 3 years ago

tphinney commented 3 years ago

Perhaps it is just a character restriction (square brackets illegal?) but I couldn’t paste an output filename into the Save dialog in the GUI. I could type the exact same filename, though.

It was of the format: “FontName[AXIS1,AXIS2,opsz,wght].ttf”

chrissimpkins commented 3 years ago

Thanks for reporting it Thomas. What happens when you try this? Nothing shows up in the free text entry field on paste? App crash?

Please let me know what platform you are on and I will try to reproduce it so that we can figure out what is going on.

tphinney commented 3 years ago

Mac OS 11.3.1 Nothing shows up in the field, and I get an error beep suggesting that I have attempted an illegal action.

chrissimpkins commented 3 years ago

Odd. So, on macOS 10.15.7 I can load the Save dialog field path with text using the following approaches:

But I get the same error bell and no pasted text when I attempt to paste with Cmd-V. Not entirely sure what is going on. There are no exceptions being raised on the Python side. I'll continue to have a look.

chrissimpkins commented 3 years ago

Seems to be a related issue on the Qt tracker https://bugreports.qt.io/browse/QTBUG-17291