[Interest] QMenu RightToLeft layout direction issue

Bache-Wiig Jens Jens.Bache-Wiig at digia.com
Tue Apr 16 09:30:30 CEST 2013


On Apr 16, 2013, at 9:17 AM, Muhammad Bashir Al-Noimi <mbnoimi at gmail.com> wrote:

> Hello Guys,
> 
> QMenu doesn't work with RightToLeft layout direction (as shown in this 
> screenshot[1]) although I called setLayoutDirection(Qt::RightToLeft) !!!!
> 
> How can I fix this issue?

You might first want to try if your application works better on an actual right-to-left language configuration (i.e run your KDE desktop with arabic or similar) to verify if your issue is indeed affecting users and not just an artefact of the LTR preview. In some cases (such as if the window manager is involved) only the system global LTR setting will function as expected.

Regards,
Jens

> 
> PS
> I filed a bug report about this issue[2] but I still need at least a 
> temporarily solution because 5.0.2 still has same issue.
> 
> [1]https://bugreports.qt-project.org/secure/attachment/32002/snapshot21.png
> [2]https://bugreports.qt-project.org/browse/QTBUG-30595
> 
> -- 
> Best Regards,
> Muhammad Bashir Al-Noimi
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list