LilySurfaceScraper icon indicating copy to clipboard operation
LilySurfaceScraper copied to clipboard

Add a system to pass messages to the UI / User

Open benthillerkus opened this issue 6 years ago • 2 comments

I know there are some ways already implemented, but it would be nice if there was some kind of general method to do it: maybe a property called status, or function that you could call to inform the user on what's going on. Info might include:

  • Progress (Downloading 3/5 leaves_roughness_4K.png), (Searching provider etc)
  • Errors (No provider found), (No results found), (Wrong type...)
  • Info (Added textures, downloaded textures to), (Asking to support the creators of these textures, license info)
  • Easier usage for debugging

It would be best if the scrappers had pretty much free hand in deciding what to show, to allow for lots of different types of scrappers.

benthillerkus avatar Aug 31 '19 12:08 benthillerkus

Is there a way to do so in Blender without requiring the user to react? Like some kind of status bar change? Also ideally all this downloading would run in background while the UI remain reactive but I'm not sure how to achieve this.

eliemichel avatar Aug 31 '19 15:08 eliemichel

The Blender Cloud add-on seems to be using async-await Maybe we could write into the Info bar that shows the hotkeys etc?

benthillerkus avatar Aug 31 '19 17:08 benthillerkus