Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ProjectItem.importFiles "suppressUI" parameter has no effect

Enthusiast ,
May 19, 2017 May 19, 2017

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?

TOPICS
SDK
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , May 26, 2017 May 26, 2017

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.

Translate
Engaged ,
May 20, 2017 May 20, 2017

Same here, seems to be a bug.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
May 22, 2017 May 22, 2017

Got it, thanks!

Bruce Bullis​ is this a known issue? Is there a recommended place to file bug reports for such bugs?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 25, 2017 May 25, 2017

There are other possible errors, which are being suppressed. I'll look for some specifics.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
May 25, 2017 May 25, 2017

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 25, 2017 May 25, 2017

SuppressUI hides warnings and non-threatening notifications; it does not suppress error reporting.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
May 25, 2017 May 25, 2017

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"...?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 26, 2017 May 26, 2017
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines