aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@qt.io>2018-04-17 14:04:24 +0200
committerLiang Qi <liang.qi@qt.io>2018-04-25 05:48:35 +0000
commit8115be28119b330c51be843bee4d19de6c789072 (patch)
tree41b612dbf740c5c59554ac56c323e0ef962c6d8e
parent13051ee1d20255ec6ef29d8aa95047a7e41f03d0 (diff)
Provisioning: Ubuntu - remove Unity window decorations
Unity does not respect setGeometry() call, which is violation of WM spec. During the years we have tried various workarounds, but it has proved to be counterproductive. This patch adjusts Unity theme to not draw window decorations, ensuring that Unity treats the setGeometry() call the same way all the other WMs and platforms we are testing on. For more detailed explanation see QTBUG-67757. Task-number: QTBUG-67757 Change-Id: I8d2bb9f2af14d3c184fc218ed08a1febd70f4026 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-systemsetup.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-systemsetup.sh
index 119a1008..938ef37c 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-systemsetup.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-systemsetup.sh
@@ -59,3 +59,6 @@ echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/h
if [ "$http_proxy" != "" ]; then
echo "Acquire::http::Proxy \"$proxy\";" | sudo tee -a /etc/apt/apt.conf
fi
+
+# This won't be needed for Ubuntu 17 and above, see QTBUG-67757.
+sudo sed -i '/-UnityDecoration-extents/c\ -UnityDecoration-extents: 0 0 0 0;' /usr/share/themes/Ambiance/gtk-3.0/apps/unity.css