Document WebView.fullscreenRequested signal

Bug #1505690 reported by Olivier Tilloy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
webbrowser-app (Ubuntu)
Triaged
Low
Unassigned

Bug Description

From https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1464249/comments/3 :

The official documentation at https://developer.ubuntu.com/api/qml/sdk-15.04/Ubuntu.Web.WebView/ should mention the fullscreenRequested signal, as embedders are likely to want to do something like that in their webviews:

    onFullscreenRequested: webview.fullscreen = fullscreen

Revision history for this message
Mateo Salta (mateo-salta) wrote :

glad there is a fix, can this be added somehow to the video permissions set, as anyone who adds embedded web video will have the full-screen button - and will want full screen to work

Revision history for this message
Olivier Tilloy (osomon) wrote :

Mateo: the description refers only to a documentation fix. The (un)documented behaviour already works.

Revision history for this message
Mateo Salta (mateo-salta) wrote :

not quite... I can't hide the indicators with that fix.

Revision history for this message
Mateo Salta (mateo-salta) wrote :

but it does need to be documented, as without this it breaks the button by default - at least they should hide the button if it isn't used

Revision history for this message
Olivier Tilloy (osomon) wrote :

Mateo, exactly, that’s what this bug is all about: adding the missing documentation.

Regarding the indicators bar that’s an entirely different thing. If you want your application to hide the indicators, you will need to make the *window* fullscreen (see https://doc.qt.io/qt-5/qml-qtquick-window-window.html#visibility-prop).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.