Slice icon indicating copy to clipboard operation
Slice copied to clipboard

Ability to paste output filename in GUI

Open tphinney opened this issue 4 years ago • 4 comments

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”

tphinney avatar May 25 '21 23:05 tphinney

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.

chrissimpkins avatar May 25 '21 23:05 chrissimpkins

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.

tphinney avatar May 25 '21 23:05 tphinney

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

  • Direct text edit by typing
  • Drag and drop a file path onto the field
  • Copy a file name and right click > Paste into the field

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 avatar May 26 '21 00:05 chrissimpkins

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

chrissimpkins avatar May 26 '21 00:05 chrissimpkins