Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 6.7 Windows 11 Bug with Arabic languarge
Forum Updated to NodeBB v4.3 + New Features

Qt 6.7 Windows 11 Bug with Arabic languarge

Scheduled Pinned Locked Moved Solved General and Desktop
36 Posts 6 Posters 4.0k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Volker75
    wrote on last edited by
    #1

    Hallo,

    I am co-author of an open source software and a user report me wrong alignment of the arabic language in the main menu. He told me that Qt 6.6 was correct. I tried to reproduce, but i have only Windows 10 and there it is fine.
    Can anybody recheck it? Should I report it to the Qt bug tracker?

    Picture of his report is attached.bug.png

    V 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you provide a minimal compilable example that shows this behaviour ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • V Volker75

        Hallo,

        I am co-author of an open source software and a user report me wrong alignment of the arabic language in the main menu. He told me that Qt 6.6 was correct. I tried to reproduce, but i have only Windows 10 and there it is fine.
        Can anybody recheck it? Should I report it to the Qt bug tracker?

        Picture of his report is attached.bug.png

        V Offline
        V Offline
        Volker75
        wrote on last edited by
        #3

        @Volker75 Sadly, as i wrote, I haven't got Windows 11. So i can't test it myself. In fact i am setting only the style to LTR for Arabic and that is all. I guess it is the new windows 11 platform engine released with Qt 6.7 that make this problem, since the old Qt 6.6 use the old windows-vista style by default.

        Axel SpoerlA SGaistS 2 Replies Last reply
        0
        • V Volker75

          @Volker75 Sadly, as i wrote, I haven't got Windows 11. So i can't test it myself. In fact i am setting only the style to LTR for Arabic and that is all. I guess it is the new windows 11 platform engine released with Qt 6.7 that make this problem, since the old Qt 6.6 use the old windows-vista style by default.

          Axel SpoerlA Online
          Axel SpoerlA Online
          Axel Spoerl
          Moderators
          wrote on last edited by
          #4

          @Volker75
          Then maybe ask the reporting user for a reproducer and a screenshot.

          Software Engineer
          The Qt Company, Oslo

          1 Reply Last reply
          0
          • V Volker75

            @Volker75 Sadly, as i wrote, I haven't got Windows 11. So i can't test it myself. In fact i am setting only the style to LTR for Arabic and that is all. I guess it is the new windows 11 platform engine released with Qt 6.7 that make this problem, since the old Qt 6.6 use the old windows-vista style by default.

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Volker75 Can you force the style to WindowsVista and check again ? There's a new Windows style in 6.7 and it seems it has some issues.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            V 1 Reply Last reply
            0
            • SGaistS SGaist

              @Volker75 Can you force the style to WindowsVista and check again ? There's a new Windows style in 6.7 and it seems it has some issues.

              V Offline
              V Offline
              Volker75
              wrote on last edited by
              #6

              @SGaist I already told him how to start with fusion style by command line and i am waiting for his answer. I will report as soon as i got it. Compiling and installing software is not easy for my users, since the software is used at school and in most schools the guys can't install software and always need to ask the administrator. But administrators are of course always critical if they got a small exe file with a request to check it. The OS is in productive use (not a private computer just for fun) and they fear viruses. So it is always complicated to track down bugs if i can't reproduce them myself. (and i already always testing with Linux x64, Linux ARM, MacOS x86, MacOS arm, Windows 7 (qt 5), Windows 10. Only Windows 11 is missing in my test devices. I can't effort it now. Maybe i will buy one next year.

              V 1 Reply Last reply
              0
              • V Volker75

                @SGaist I already told him how to start with fusion style by command line and i am waiting for his answer. I will report as soon as i got it. Compiling and installing software is not easy for my users, since the software is used at school and in most schools the guys can't install software and always need to ask the administrator. But administrators are of course always critical if they got a small exe file with a request to check it. The OS is in productive use (not a private computer just for fun) and they fear viruses. So it is always complicated to track down bugs if i can't reproduce them myself. (and i already always testing with Linux x64, Linux ARM, MacOS x86, MacOS arm, Windows 7 (qt 5), Windows 10. Only Windows 11 is missing in my test devices. I can't effort it now. Maybe i will buy one next year.

                V Offline
                V Offline
                Volker75
                wrote on last edited by
                #7

                I got the answer from the user.
                If the starts the application with "fet -style fusion" then the alignment is fine. So i bet all left to right languages (but at least Arabic) will have wrong alignments if the use Qt 6.7 and Windows 11.

                I told my users to use the fusion style. I hope Qt will fix this soon. Not sure if it is already in the Qt bug tracker.

                SGaistS 1 Reply Last reply
                0
                • V Volker75

                  I got the answer from the user.
                  If the starts the application with "fet -style fusion" then the alignment is fine. So i bet all left to right languages (but at least Arabic) will have wrong alignments if the use Qt 6.7 and Windows 11.

                  I told my users to use the fusion style. I hope Qt will fix this soon. Not sure if it is already in the Qt bug tracker.

                  SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Volker75 Likely not, you should check and open a ticket.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  V 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    @Volker75 Likely not, you should check and open a ticket.

                    V Offline
                    V Offline
                    Volker75
                    wrote on last edited by
                    #9

                    @SGaist I wrote a ticket:
                    https://bugreports.qt.io/browse/QTBUG-124931

                    Christian EhrlicherC 1 Reply Last reply
                    0
                    • V Volker75

                      @SGaist I wrote a ticket:
                      https://bugreports.qt.io/browse/QTBUG-124931

                      Christian EhrlicherC Online
                      Christian EhrlicherC Online
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on last edited by Christian Ehrlicher
                      #10

                      @Volker75 You should add a mre. The problem is the modernwindows style for win11 which was added with Qt6.7.0. So you client can also use the windows 10 style -> -style windowsvista

                      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                      Visit the Qt Academy at https://academy.qt.io/catalog

                      V 1 Reply Last reply
                      0
                      • Christian EhrlicherC Christian Ehrlicher

                        @Volker75 You should add a mre. The problem is the modernwindows style for win11 which was added with Qt6.7.0. So you client can also use the windows 10 style -> -style windowsvista

                        V Offline
                        V Offline
                        Volker75
                        wrote on last edited by
                        #11

                        @Christian-Ehrlicher I am sorry for my bad English. I don't know what "mre" is.

                        SGaistS 1 Reply Last reply
                        0
                        • V Volker75

                          @Christian-Ehrlicher I am sorry for my bad English. I don't know what "mre" is.

                          SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          @Volker75 Minimum Reproducible Example

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          V 1 Reply Last reply
                          0
                          • SGaistS SGaist

                            @Volker75 Minimum Reproducible Example

                            V Offline
                            V Offline
                            Volker75
                            wrote on last edited by
                            #13

                            @SGaist Ah... ok.... I know. But i can't test it, since I don't have Windows 11. The bug will be (probably) reproduce able with every Qt application that uses a menu and a right to left language.

                            Axel SpoerlA D 2 Replies Last reply
                            0
                            • V Volker75

                              @SGaist Ah... ok.... I know. But i can't test it, since I don't have Windows 11. The bug will be (probably) reproduce able with every Qt application that uses a menu and a right to left language.

                              Axel SpoerlA Online
                              Axel SpoerlA Online
                              Axel Spoerl
                              Moderators
                              wrote on last edited by
                              #14

                              @Volker75
                              Then I’ll be the devil’s advocate: I don’t believe you. There is no bug. Everything works correctly.
                              Prove that I am wrong!

                              Software Engineer
                              The Qt Company, Oslo

                              1 Reply Last reply
                              0
                              • V Volker75

                                @SGaist Ah... ok.... I know. But i can't test it, since I don't have Windows 11. The bug will be (probably) reproduce able with every Qt application that uses a menu and a right to left language.

                                D Offline
                                D Offline
                                DerReisende
                                wrote on last edited by
                                #15

                                @Volker75 I had also many problems with the new win11 style and so far i just hardcoded my app to always use fusion on windows with qt 6.7. that should be the easiest fix until you can do further verification.

                                Christian EhrlicherC 1 Reply Last reply
                                0
                                • D DerReisende

                                  @Volker75 I had also many problems with the new win11 style and so far i just hardcoded my app to always use fusion on windows with qt 6.7. that should be the easiest fix until you can do further verification.

                                  Christian EhrlicherC Online
                                  Christian EhrlicherC Online
                                  Christian Ehrlicher
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #16

                                  @DerReisende said in Qt 6.7 Windows 11 Bug with Arabic languarge:

                                  always use fusion on

                                  Why not the windowsvista style?

                                  Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                                  Visit the Qt Academy at https://academy.qt.io/catalog

                                  V D 2 Replies Last reply
                                  0
                                  • V Offline
                                    V Offline
                                    Volker75
                                    wrote on last edited by Volker75
                                    #17

                                    Liviu added a minimum example in the bug tracker. Can anybody with Windows 11 and Qt 6.7 please test it and check the aliment is as wrong with default style as the bug reporter sent me by his screenshot (see my first post. I added the picture there) and correct with fusion (or others)?
                                    https://bugreports.qt.io/browse/QTBUG-124931

                                    1 Reply Last reply
                                    0
                                    • Christian EhrlicherC Christian Ehrlicher

                                      @DerReisende said in Qt 6.7 Windows 11 Bug with Arabic languarge:

                                      always use fusion on

                                      Why not the windowsvista style?

                                      V Offline
                                      V Offline
                                      Volker75
                                      wrote on last edited by
                                      #18

                                      @Christian-Ehrlicher I can't tell you why he uses fusion and not windowsvista, but i can tell you why I prefer fusion. Because we are compiling for Windows, Linux and MacOS. Fusion exists on all 3 platforms. But windowsvista doesn't. So it is easier to code and bugs will probably faster visible for the developer, since he will probably notice bugs already on the other platforms.

                                      1 Reply Last reply
                                      0
                                      • Christian EhrlicherC Christian Ehrlicher

                                        @DerReisende said in Qt 6.7 Windows 11 Bug with Arabic languarge:

                                        always use fusion on

                                        Why not the windowsvista style?

                                        D Offline
                                        D Offline
                                        DerReisende
                                        wrote on last edited by
                                        #19

                                        @Christian-Ehrlicher just coincidence. I needed a style that worked and it doesn‘t look bad. And I admit I only saw the „ugly“ Windows style as the other alternative and overlooked „windowsvista“ :D

                                        1 Reply Last reply
                                        0
                                        • V Offline
                                          V Offline
                                          Volker75
                                          wrote on last edited by
                                          #20

                                          I saw that the "need more information" label was removed, so i guess someone was able to reproduce it now. Sadly only rated as a P3 bug, so I fear that (since i already reported an other Qt bug about wrong right to left in tables already much over 10 years ago and it is still present in Qt and unsolved in the Qt bug tracker) it will need more then 1 years until someone solve it. Can anybody prove me that I am wrong?

                                          Christian EhrlicherC 1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved