← Back to team overview

touch-packages team mailing list archive

[Bug 1464249] Re: Ubuntu WebView should not silently honour fullscreen requests

 

ok, seems it requires now that i add the line:

onFullscreenRequested: webview.fullscreen = fullscreen

to my WebView {} definition in the code ... we should document this in
https://developer.ubuntu.com/api/qml/sdk-15.04/Ubuntu.Web.WebView/

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1464249

Title:
  Ubuntu WebView should not silently honour fullscreen requests

Status in webbrowser-app package in Ubuntu:
  Fix Released

Bug description:
  The current implementation¹ does this:

      onFullscreenRequested: _webview.fullscreen = fullscreen

  
  ¹ http://bazaar.launchpad.net/~phablet-team/webbrowser-app/trunk/view/head:/src/Ubuntu/Web/UbuntuWebView02.qml#L270

  
  This default behaviour is not necessarily desirable for most embedders, who might want to intercept the request and cancel it.
  Changing the default behaviour doesn’t require an API change, so it should be safe to do at any point in time (and the sooner the better).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1464249/+subscriptions


References