Bug 512438

Summary: tests/FormTestApp.qml: Layout mirroring: UI state mismatch when opening date picker
Product: [Frameworks and Libraries] kirigami-addons Reporter: Artem Varaksa <varaksaaa>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: REPORTED ---    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=512437
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: tests-formtestapp-layout-mirroring-issues-2.png

Description Artem Varaksa 2025-11-21 12:20:51 UTC
Created attachment 187034 [details]
tests-formtestapp-layout-mirroring-issues-2.png

Steps to reproduce
==================

1. $ sudo apt-get install -y qml-qt6
2. $ git clone https://invent.kde.org/libraries/kirigami-addons
3. $ qml6 ~/kirigami-addons/tests/FormTestApp.qml
4. Scroll down to the "Layout mirroring" toggle and turn it on
5. Click on the top-right area with the date picker, observe the UI state


Actual result
=============

The selected button is the current day of the month, but the picker shown is for month of the year (see screenshot).


Expected result
===============

UI state is consistent, day of the month picker is expected to be displayed, like with layout mirroring turned off.


Reproducibility
===============

Reproducible: Always
Package: https://invent.kde.org/libraries/kirigami-addons @ 8bae749b35bb0bce5c8fe7ed150b6af1cb918e6e

Linux/KDE Plasma: kde-neon-user-20251120-0743 (installed on a VM in Proxmox Virtual Environment)
System locale: ru_RU.UTF-8
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.3