on xenial help sign in
Remove Shell's underlay background image as it cannot be seen anymore
3bf825fDaniel d'Andrada
qml/Shell.qml−9
@@ -117,15 +117,6 @@ FocusScope {
117 // through the translucent parts of the shell surface.
117 // through the translucent parts of the shell surface.
118 visible: !fullyCovered && !applicationSurfaceShouldBeSeen
118 visible: !fullyCovered && !applicationSurfaceShouldBeSeen
119
119
120− CrossFadeImage {
121− id: backgroundImage
122− objectName: "backgroundImage"
123−
124− anchors.fill: parent
125− source: shell.background
126− fillMode: Image.PreserveAspectCrop
127− }
128−
129 Rectangle {
120 Rectangle {
130 anchors.fill: parent
121 anchors.fill: parent
131 color: "black"
122 color: "black"
tests/autopilot/unity8/shell/emulators/main_window.py−4
@@ -114,10 +114,6 @@ class QQuickView(emulators.UnityEmulatorBase):
114 self.wait_select_single('Indicators', fullyOpened=True)
114 self.wait_select_single('Indicators', fullyOpened=True)
115 return self._get_indicator_page(indicator_name)
115 return self._get_indicator_page(indicator_name)
116
116
117− def get_shell_background(self):
118− return self.select_single(
119− "CrossFadeImage", objectName="backgroundImage")
120−
121 @autopilot_logging.log_action(logger.info)
117 @autopilot_logging.log_action(logger.info)
122 def show_dash_swiping(self):
118 def show_dash_swiping(self):
123 """Show the dash swiping from the left."""
119 """Show the dash swiping from the left."""
tests/qmltests/tst_Shell.qml−9
@@ -475,15 +475,6 @@ Item {
475 } while (!isStill);
475 } while (!isStill);
476 }
476 }
477
477
478− function test_background_data() {
479− return [
480− {tag: "red", url: Qt.resolvedUrl("../data/unity/backgrounds/red.png"), expectedUrl: "tests/data/unity/backgrounds/red.png"},
481− {tag: "blue", url: Qt.resolvedUrl("../data/unity/backgrounds/blue.png"), expectedUrl: "tests/data/unity/backgrounds/blue.png"},
482− {tag: "invalid", url: "invalid", expectedUrl: shell.defaultBackground},
483− {tag: "empty", url: "", expectedUrl: shell.defaultBackground}
484− ]
485− }
486−
487 function test_DashShown_data() {
478 function test_DashShown_data() {
488 return [
479 return [
489 {tag: "in focus", greeter: false, app: false, launcher: false, indicators: false, expectedShown: true},
480 {tag: "in focus", greeter: false, app: false, launcher: false, indicators: false, expectedShown: true},