The previewer does not show if JavaScript is selected as the language and no code exists. It should instead show the "Show external previewer" button.
Additionally the "Run" button also does nothing in this case. I'm not sure if this is intentional, I think this is normal behaviour for external JS demos already.
Steps to reproduce
- Select "JavaScript" as the active language on any demo
- Select a demo without any code but with a Blueprint/XML file where the parent element is a Gtk.Window or subclass. Example: Navigation Split View
- The demo will open and the internal previewer pane is just empty and the "Run" button does not work.
- Switching to any other language will resolve this issue. In that case it can even be switched back to JavaScript and Workbench will behave as intended, except for possibly the "Run" button (see above).