Merge lp:~osomon/webbrowser-app/fullscreen-workaround-1328839 into lp:webbrowser-app

Proposed by Olivier Tilloy
Status: Merged
Approved by: Olivier Tilloy
Approved revision: 750
Merged at revision: 755
Proposed branch: lp:~osomon/webbrowser-app/fullscreen-workaround-1328839
Merge into: lp:webbrowser-app
Diff against target: 53 lines (+2/-13)
3 files modified
src/app/webbrowser/webbrowser-app.qml (+1/-3)
src/app/webcontainer/webapp-container.qml (+1/-4)
tests/autopilot/webbrowser_app/tests/test_fullscreen.py (+0/-6)
To merge this branch: bzr merge lp:~osomon/webbrowser-app/fullscreen-workaround-1328839
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Ubuntu Phablet Team Pending
Review via email: mp+237234@code.launchpad.net

Commit message

Remove the temporary workaround for bug #1328839 as fullscreen switching is now fully functional in qtubuntu.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/app/webbrowser/webbrowser-app.qml'
2--- src/app/webbrowser/webbrowser-app.qml 2014-08-21 11:28:44 +0000
3+++ src/app/webbrowser/webbrowser-app.qml 2014-10-06 10:37:06 +0000
4@@ -51,9 +51,7 @@
5 Component.onCompleted: i18n.domain = "webbrowser-app"
6 }
7
8- // XXX: work around https://bugs.launchpad.net/unity8/+bug/1328839
9- // by toggling fullscreen on the window only on desktop.
10- visibility: browser.currentWebview && browser.currentWebview.fullscreen && (formFactor === "desktop") ? Window.FullScreen : Window.AutomaticVisibility
11+ visibility: browser.currentWebview && browser.currentWebview.fullscreen ? Window.FullScreen : Window.AutomaticVisibility
12
13 // Handle runtime requests to open urls as defined
14 // by the freedesktop application dbus interface's open
15
16=== modified file 'src/app/webcontainer/webapp-container.qml'
17--- src/app/webcontainer/webapp-container.qml 2014-10-03 14:41:14 +0000
18+++ src/app/webcontainer/webapp-container.qml 2014-10-06 10:37:06 +0000
19@@ -115,10 +115,7 @@
20 }
21 }
22
23- // XXX: work around https://bugs.launchpad.net/unity8/+bug/1328839
24- // by toggling fullscreen on the window only on desktop.
25- visibility: browser.currentWebview && browser.currentWebview.fullscreen &&
26- (formFactor === "desktop") ? Window.FullScreen : Window.AutomaticVisibility
27+ visibility: browser.currentWebview && browser.currentWebview.fullscreen ? Window.FullScreen : Window.AutomaticVisibility
28
29 Loader {
30 id: accountsPageComponentLoader
31
32=== modified file 'tests/autopilot/webbrowser_app/tests/test_fullscreen.py'
33--- tests/autopilot/webbrowser_app/tests/test_fullscreen.py 2014-06-18 16:20:49 +0000
34+++ tests/autopilot/webbrowser_app/tests/test_fullscreen.py 2014-10-06 10:37:06 +0000
35@@ -18,7 +18,6 @@
36
37 from testtools.matchers import Equals, LessThan
38 from autopilot.matchers import Eventually
39-from autopilot.platform import model
40
41
42 class TestFullscreen(StartOpenRemotePageTestCaseBase):
43@@ -35,11 +34,6 @@
44 def assert_eventually_fullscreen(self):
45 self.assertThat(self.main_window.get_current_webview().fullscreen,
46 Eventually(Equals(True)))
47- if model() != 'Desktop':
48- # XXX: do not assert that the window is fullscreen
49- # on devices due to the temporary workaround for
50- # https://bugs.launchpad.net/unity8/+bug/1328839
51- return
52 self.assertThat(self.main_window.get_window().visibility,
53 Eventually(Equals(self.QWINDOW_FULLSCREEN)))
54

Subscribers

People subscribed via source and target branches

to status/vote changes: