From 8115be28119b330c51be843bee4d19de6c789072 Mon Sep 17 00:00:00 2001 From: Gatis Paeglis Date: Tue, 17 Apr 2018 14:04:24 +0200 Subject: 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 Reviewed-by: Ville Voutilainen --- coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/01-systemsetup.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3