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
=== modified file 'src/app/webbrowser/webbrowser-app.qml'
--- src/app/webbrowser/webbrowser-app.qml 2014-08-21 11:28:44 +0000
+++ src/app/webbrowser/webbrowser-app.qml 2014-10-06 10:37:06 +0000
@@ -51,9 +51,7 @@
51 Component.onCompleted: i18n.domain = "webbrowser-app"51 Component.onCompleted: i18n.domain = "webbrowser-app"
52 }52 }
5353
54 // XXX: work around https://bugs.launchpad.net/unity8/+bug/132883954 visibility: browser.currentWebview && browser.currentWebview.fullscreen ? Window.FullScreen : Window.AutomaticVisibility
55 // by toggling fullscreen on the window only on desktop.
56 visibility: browser.currentWebview && browser.currentWebview.fullscreen && (formFactor === "desktop") ? Window.FullScreen : Window.AutomaticVisibility
5755
58 // Handle runtime requests to open urls as defined56 // Handle runtime requests to open urls as defined
59 // by the freedesktop application dbus interface's open57 // by the freedesktop application dbus interface's open
6058
=== modified file 'src/app/webcontainer/webapp-container.qml'
--- src/app/webcontainer/webapp-container.qml 2014-10-03 14:41:14 +0000
+++ src/app/webcontainer/webapp-container.qml 2014-10-06 10:37:06 +0000
@@ -115,10 +115,7 @@
115 }115 }
116 }116 }
117117
118 // XXX: work around https://bugs.launchpad.net/unity8/+bug/1328839118 visibility: browser.currentWebview && browser.currentWebview.fullscreen ? Window.FullScreen : Window.AutomaticVisibility
119 // by toggling fullscreen on the window only on desktop.
120 visibility: browser.currentWebview && browser.currentWebview.fullscreen &&
121 (formFactor === "desktop") ? Window.FullScreen : Window.AutomaticVisibility
122119
123 Loader {120 Loader {
124 id: accountsPageComponentLoader121 id: accountsPageComponentLoader
125122
=== modified file 'tests/autopilot/webbrowser_app/tests/test_fullscreen.py'
--- tests/autopilot/webbrowser_app/tests/test_fullscreen.py 2014-06-18 16:20:49 +0000
+++ tests/autopilot/webbrowser_app/tests/test_fullscreen.py 2014-10-06 10:37:06 +0000
@@ -18,7 +18,6 @@
1818
19from testtools.matchers import Equals, LessThan19from testtools.matchers import Equals, LessThan
20from autopilot.matchers import Eventually20from autopilot.matchers import Eventually
21from autopilot.platform import model
2221
2322
24class TestFullscreen(StartOpenRemotePageTestCaseBase):23class TestFullscreen(StartOpenRemotePageTestCaseBase):
@@ -35,11 +34,6 @@
35 def assert_eventually_fullscreen(self):34 def assert_eventually_fullscreen(self):
36 self.assertThat(self.main_window.get_current_webview().fullscreen,35 self.assertThat(self.main_window.get_current_webview().fullscreen,
37 Eventually(Equals(True)))36 Eventually(Equals(True)))
38 if model() != 'Desktop':
39 # XXX: do not assert that the window is fullscreen
40 # on devices due to the temporary workaround for
41 # https://bugs.launchpad.net/unity8/+bug/1328839
42 return
43 self.assertThat(self.main_window.get_window().visibility,37 self.assertThat(self.main_window.get_window().visibility,
44 Eventually(Equals(self.QWINDOW_FULLSCREEN)))38 Eventually(Equals(self.QWINDOW_FULLSCREEN)))
4539

Subscribers

People subscribed via source and target branches

to status/vote changes: