Qt 6.7 Windows 11 Bug with Arabic languarge
-
@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.
@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.
-
@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.
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.
-
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.
-
@SGaist I wrote a ticket:
https://bugreports.qt.io/browse/QTBUG-124931@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
-
@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
@Christian-Ehrlicher I am sorry for my bad English. I don't know what "mre" is.
-
@Christian-Ehrlicher I am sorry for my bad English. I don't know what "mre" is.
-
@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.
@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! -
@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.
@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.
-
@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.
@DerReisende said in Qt 6.7 Windows 11 Bug with Arabic languarge:
always use fusion on
Why not the windowsvista style?
-
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 -
@DerReisende said in Qt 6.7 Windows 11 Bug with Arabic languarge:
always use fusion on
Why not the windowsvista style?
@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.
-
@DerReisende said in Qt 6.7 Windows 11 Bug with Arabic languarge:
always use fusion on
Why not the windowsvista style?
@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
-
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?
-
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?
@Volker75 said in Qt 6.7 Windows 11 Bug with Arabic languarge:
Can anybody prove me that I am wrong?
I mean - you provide a minimal compilable example that is compressed over 700kb whereas it should be possible to write it in not more than 20 lines - what do you expect? I for sure will not look at your bug report because I don't want to debug this amount of code. Sorry.
-
I thought it was you.
Don't know about your bug from 10 years ago though. -
No problem. My "can anybody prove" post was only as a "funny" answer to Axel Spoerl answer. Please forget it if you can't laugh about that "joke".
You didn't remember my bug from 10+ years ago, because i posted it from my second account.
see https://forum.qt.io/topic/148177/scroll-bar-diretion-for-rtl-languargesThe last time you was genius. You solved the 3th bug that I reported in just less then 1 day even without an example file at all. I hope you can be as perfect as the last time.
BTW the size is mainly only that large, because Liviu forgot to remove "obsolete" translations from the translation.qm file. It contains all translations even only a few are left.
I know it probably can be written smaller. I am always coding with widgets only, but Liviu is using the designer with the .ui files and so it is larger. Sadly I have no Windows 11, so i can't check it. In worst case the bug is "only" because of using the .ui files, but i don't think so.
I offer 10 Euro to the guy that solve the bug in less then 1 month from now. -
Oh, the RTL in textedit bug - I saw this already somewhere else iirc - it's not easy because the underlying stuff don't support it correctly, sorry.