Skip to main content
Damon Edwards
Inspiring
September 29, 2014
Question

StageWebView functionality inconsistencies between OSX and Windows

  • September 29, 2014
  • 2 replies
  • 737 views

StageWebView seems to be having some issues. In both cases I'm using the native browser - StageWebView(true). When the app is run on Windows, if System Chrome is set to Transparent then the StageWebView never renders, but it renders fine on OSX using Transparent chrome. All other display objects do render, for instance a toolbar with back/forward/etc buttons, but the web view does not. When it's set to Opaque then it renders on Windows but doesn't on OSX. Actually on OSX it only renders with Transparent chrome, on Windows it only doesn't render with Transparent chrome.

Then there's the history issue. On Windows, isHistoryForwardEnabled never reports as true - ever. If I click links in the rendered page then go back a few it never reports as true. This works fine on OSX.

Anyone have any ideas, or are these just bugs?

This topic has been closed for replies.

2 replies

November 11, 2017

This is still a problem 3 years later! I made a gorgeous custom chrome for my app using the transparent chrome feature. Now when I plug in the StageWebView(true) part of the app, the stage web view doesn't render.

Inspiring
September 29, 2014

I think it's not a good idea to use the native browser on desktop Windows, because the user might have any IE version ranging from the ancient IE 6 to the latest IE 11, and everything in between, which results in unpredictable results and all kinds of problems. Just remove the "true" argument and StageWebView will default to false in the desktop and true (native) in mobile platforms (iOS, Android). Maybe it'll work for you that way.

Damon Edwards
Inspiring
September 29, 2014

OMA2k, thanks but that doesn't address the actual issues with StageWebView. It's running in a controlled environment anyway so that'll never be a problem.