mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-04 04:36:36 +08:00
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>
9 lines
308 B
Bash
Executable File
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
|