Files
qbz/scripts/test-miniplayer-qml.sh
T
vicrodh aa64525cfe fix(qt): harden macOS reopening and miniplayer appearance
Restore hidden windows from Dock/Finder and add a macOS-only Dock visibility setting. Share the app background with the miniplayer, improve theme contrast and translucent controls, and allow dragging from artwork and free areas.

Bump the workspace version to 2.1.2. Add lifecycle and miniplayer regression coverage. Linux release, QML software/OpenGL tests and isolated startup passed; native macOS validation remains pending.

Refs #792, #793

cx
2026-09-16 17:47:33 -06:00

18 lines
647 B
Bash
Executable File

#!/usr/bin/env bash
# The same bounded view/activation regression runs in CI and locally.
set -euo pipefail
cd "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/.."
if [[ -n "${QT_ROOT_DIR:-}" ]]; then
qt_miniplayer_bins="$QT_ROOT_DIR/bin"
else
qt_miniplayer_qmake="${QMAKE:-}"
if [[ -z "$qt_miniplayer_qmake" ]]; then
qt_miniplayer_qmake="$(command -v qmake6 || command -v qmake)"
fi
qt_miniplayer_bins="$("$qt_miniplayer_qmake" -query QT_INSTALL_BINS)"
fi
QT_QPA_PLATFORM=offscreen QT_QUICK_BACKEND=software \
"$qt_miniplayer_bins/qmltestrunner" \
-input scripts/qml-tests/tst_miniplayer.qml \
-import scripts/qml-tests/imports