Copy link to clipboard
Copied
Perhaps I'm missing something, but setting the second parameter of ProjectItem.importFiles (the suppressUI boolean) to true appears to have no effect on the process. Whether the importation process succeeds or fails, the importation meter appears. If the importation process fails, an error dialog is shown to the user.
Tested on Premiere Pro 2017.1, macOS.
Is this a bug or am I missing something?
SuppressUI suppresses any non-required UI.
Required = progress indicator ('Importing Files' message), and any errors resultant from the import.
Not required = translation notices, and any warnings generated by importing the file(s) in question.
And yes, suppressed UI will not suppress the "Importing" progress indicator, nor any actual errors encountered while importing.
Copy link to clipboard
Copied
Same here, seems to be a bug.
Copy link to clipboard
Copied
Got it, thanks!
Bruce Bullis​ is this a known issue? Is there a recommended place to file bug reports for such bugs?
Copy link to clipboard
Copied
There are other possible errors, which are being suppressed. I'll look for some specifics.
Copy link to clipboard
Copied
Bruce Bullis wrote
There are other possible errors, which are being suppressed. I'll look for some specifics.
I take it, then, that "suppressUI" does not allow you to hide all UI and run an operation "as though" it were in the background?
If that's the case, then it seems there are multiple "classes" of UI. Is that what you're off looking for?
Copy link to clipboard
Copied
SuppressUI hides warnings and non-threatening notifications; it does not suppress error reporting.
Copy link to clipboard
Copied
Bruce Bullis wrote
SuppressUI hides warnings and non-threatening notifications; it does not suppress error reporting.
Can you please describe or otherwise provide examples of which warnings and non-threatening notifications are suppressed with this switch? It is really hard to know how to properly use the flag without more specific information.
Also, to be clear, this does not suppress the "Importing" pop up, correct? It was my assumption that suppressing that UI was the job of that flag. I mean, the flag is called "suppressUI", right? Not "suppressWarnings"...?
Copy link to clipboard
Copied
SuppressUI suppresses any non-required UI.
Required = progress indicator ('Importing Files' message), and any errors resultant from the import.
Not required = translation notices, and any warnings generated by importing the file(s) in question.
And yes, suppressed UI will not suppress the "Importing" progress indicator, nor any actual errors encountered while importing.