Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-122008

The child window does not get the style of the parent in the attached style properties example (QQuickAttachedPropertyPropagator)

XMLWordPrintable

    • Linux/Wayland, macOS
    • 5f7b25a69 (dev), 9ca9468ff (6.7), d396eeffd (6.7.0)

      MacOS 14.2.1 / Linux Ubuntu 22.04

      Qt Creator 12.0.1

      Qt 6.7.0-beta2

      Steps to reproduce:

      1. Run https://doc.qt.io/qt-6/qtquickcontrols-attachedstyleproperties-example.html 
      2. Click the open window button
      3. Change the mode to Dark. 

       

      Expected: The child window should get the style from a parent as it is on Qt 6.6.1.

      Actual: The child window does not change its style. See the attached video for reference. 

      Reproducibility:  100%
       

      NOTE: The issue is not reproducible on Qt 6.5.4 and 6.6.1

        1. qt-6-6-1.mov
          2.44 MB
        2. qt-6-7-0.mov
          2.72 MB
        3. Screenshot 2024-02-06 at 19.07.41.png
          Screenshot 2024-02-06 at 19.07.41.png
          191 kB
        For Gerrit Dashboard: QTBUG-122008
        # Subject Branch Project Status CR V

            mitch_curtis Mitch Curtis
            lkos Łukasz Kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes