Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.2.9, 6.2.10
-
None
Description
When using the provided QML code snippet in a Qt application on macOS dark theme, the text inside the button is not visible.
Steps to Reproduce:
- Launch a Qt application that includes the following QML code snippet on a macOS system with the dark theme enabled:
import QtQuick import QtQuick.Window import QtQuick.Controls Window { id: window width: 640 height: 480 visible: true title: qsTr("Hello World") Switch { id: liveSwitch width: parent.width checked: true text: qsTr("Enabled") } }
- Observe the appearance of the Switch, specifically the visibility of the text.
Expected Outcome: The text with the QML Switch should be clearly visible, irrespective of the system's theme.
Actual Outcome: On macOS dark theme, the text inside the QML Switch is not visible, blending in with the button's background or lacking sufficient contrast.
Additional Information:
- This issue is specific to macOS dark theme and does not occur on other platforms or themes.
- The problem persists even after restarting the application or the system.
- Screenshots depicting the issue are attached for reference.
Attachments
Issue Links
- relates to
-
QTBUG-116279 Qt Sensors - Explorer QML Example - Text Visibility Issue on macOS Dark Theme
-
- Closed
-
-
QTBUG-114453 Inconsistent Behavior of QML Buttons on macOS Dark Theme: Text Inside Button Isn't Visible
-
- Closed
-
-
QTQAINFRA-5826 Qt 6.2.10 LTS Testing
-
- Open
-