[Touch-packages] [Bug 1464249] Re: Ubuntu WebView should not silently honour fullscreen requests
You’re right, this should be documented. I filed bug #1505690 to track this, thanks for pointing it out! -- 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1464249] Re: Ubuntu WebView should not silently honour fullscreen requests
with this fix my App does not recieve any fullscreen events from an embedded WebView anymore with the following code: Connections { target: webview onFullscreenChanged: { nav.visible = !webview.fullscreen if (webview.fullscreen == true) { window.visibility = 5 } else { window.visibility = 4 } } } when i hack /usr/lib/arm-linux- gnueabihf/qt5/qml/Ubuntu/Components/Extras/Browser/UbuntuWebView02.qml on the phone to revert the change all is fine and embedded videos properly emit the onFullscreenChanged to the webview. i assume i need to do any code changes on my side to use an embedded WebView this way now. are these changes somewhere documented ? -- 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1464249] Re: Ubuntu WebView should not silently honour fullscreen requests
This bug was fixed in the package webbrowser-app - 0.23+15.10.20150618-0ubuntu1 --- webbrowser-app (0.23+15.10.20150618-0ubuntu1) wily; urgency=medium [ CI Train Bot ] * New rebuild forced. [ Michael Terry ] * Fix spelling of OK in private browsing dialog. [ Olivier Tilloy ] * Actually push URLs to the clipboard. For some reason setting the "text/url-list" mime type doesn’t seem to work (or other applications do not implement pasting this kind of data), but "text/plain" works well enough for this purpose. (LP: #1463435) * Do not honour fullscreen requests silently at the Ubuntu WebView level. Instead delegate that behaviour to the webview implementation used by the browser and the webapp container. (LP: #1464249) * Toggle application-level fullscreen when pressing F11. (LP: #1464333) [ Ugo Riboni ] * Make the browser chrome usable on desktop by implementing common keyboard shortcuts and behaviors that users normally expect in such an app (LP: #1287361) -- CI Train Bot Thu, 18 Jun 2015 08:12:37 + ** Changed in: webbrowser-app (Ubuntu) Status: In Progress => Fix Released -- 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1464249] Re: Ubuntu WebView should not silently honour fullscreen requests
** Changed in: webbrowser-app (Ubuntu) Status: Triaged => In Progress -- 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: In Progress 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1464249] Re: Ubuntu WebView should not silently honour fullscreen requests
** Branch linked: lp:~osomon/webbrowser-app/webview-no-default- fullscreen -- 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: In Progress 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp