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

QGuiApplication::setLayoutDirection does not change the window to RTL

    XMLWordPrintable

Details

    • Windows
    • 5ed4c2320 (dev), d43b0db12 (tqtc/lts-6.2), c674139b1 (6.6), 82e4b24dd (6.5)

    Description

      Qt Support was contacted by an user that was using workaround to active RTL for Qt Quick Application window which caused for example Combobox scrolling not to work correctly.

      According to https://doc.qt.io/qt-6/qtquick-positioning-righttoleft.html#default-layout-direction the RTL window should be possible to achieve via:

      QGuiApplication app(argc, argv);
      app.setLayoutDirection(Qt::RightToLeft); 

      But this has not worked in tests.

      The window controls do not setup like in example picture "WantedWindowControls".

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-113497
          # Subject Branch Project Status CR V

          Activity

            People

              mitch_curtis Mitch Curtis
              tero.pelkonen Tero Pelkonen
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews