Files
qt5/coin/provisioning/common/macos/disable-dock-autohide.sh
Axel Spoerl 10e3c62702 Disable dock autohide on macOS >= 14
An auto-hidden dock can cause test flakiness by window resizes and
mouse cursor / focus issues when the autohide is toggled.

Disable it on macOS platforms >= 14.

Task-number: QTQAINFRA-7765
Change-Id: Ie488bccd43c203e5bb9a96e731874bab12c2012c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
Reviewed-by: Aku Pietikäinen <aku.pietikainen@qt.io>
2026-03-19 08:40:29 +01:00

9 lines
308 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright (C) 2026 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Dock autohide interfers with window sizes and mouse cursor/focus
set -e
sudo defaults write com.apple.dock autohide -bool false; killall Dock