Merge lp://qastaging/~fboucault/webbrowser-app/fix_fullscreen into lp://qastaging/webbrowser-app/staging

Proposed by Florian Boucault
Status: Merged
Merged at revision: 1624
Proposed branch: lp://qastaging/~fboucault/webbrowser-app/fix_fullscreen
Merge into: lp://qastaging/webbrowser-app/staging
Diff against target: 112 lines (+37/-12)
4 files modified
src/app/BrowserWindow.qml (+5/-2)
src/app/webbrowser/Browser.qml (+3/-6)
src/app/webbrowser/webbrowser-app.qml (+0/-4)
tests/autopilot/webbrowser_app/tests/test_fullscreen.py (+29/-0)
To merge this branch: bzr merge lp://qastaging/~fboucault/webbrowser-app/fix_fullscreen
Reviewer Review Type Date Requested Status
Olivier Tilloy Approve
Review via email: mp+318091@code.qastaging.launchpad.net

Commit message

Fullscreen improvements:
* Simplify fullscreen: single entry point BrowserWindow.setFullscreen()
* Do not go fullscreen if already fullscreen. Fixes case where fullscreen could not be exited anymore.
* Make chrome hide when webview is fullscreen. Remove unused property Browser.fullscreen.

Description of the change

Fullscreen improvements:
* Simplify fullscreen: single entry point BrowserWindow.setFullscreen()
* Do not go fullscreen if already fullscreen. Fixes case where fullscreen could not be exited anymore.
* Make chrome hide when webview is fullscreen. Remove unused property Browser.fullscreen.

To post a comment you must log in.
1624. By Florian Boucault

Added AP tests

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

LGTM. Just one tiny comment inline.

1625. By Florian Boucault

Check that browser.currentWebview is valid

Revision history for this message
Florian Boucault (fboucault) wrote :

> LGTM. Just one tiny comment inline.
Fixed

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

LGTM.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches