Community
Participate
Working Groups
I was just doing some basic RTL testing on GTK. I just created a Shell, set it Right to left, set the layout to filllayout. I just added two buttons with text on them to the shell. When displayed the buttons where still ordered left to right. If I added an SWT tree with some tree items to the list, the Tree itself respected the RTL and the tree items where right to left. Using no layout for the shell also did not respect rtl either. On Windows it would position from the right side. In GTK it was still from the left side.
I believe that GTK fully support RTL for its widget/container. Would you please support RTL for GTK as it is now supported for Windows.
Is it really hard to implement this? I have some experience in GTK+ and also Java, but I don't know much from SWT. How can I contribute fixing this bug? Could you please help me? For me bidirectional layout is very usefull and important, especially in Linux operating system. As you can see, this big is more tahn 6 month old. Isn't it the time to fix it?
Very hard, we will need to fix all events coordinates, all Control#setBounds, all GC#draws and GC#fills, probably more.
1. Why we don't have these problems on WIN32? 2. Do you think that all of the job must be done manually? Maybe we can use a kind of refactoring script that can change origin of problem, that is "events coordinates". Is it a trivial but big task or a complex one?
> 1. Why we don't have these problems on WIN32? windows has native support. > 2. Do you think that all of the job must be done manually? Maybe we can use a > kind of refactoring script that can change origin of problem, that is "events > coordinates". Is it a trivial but big task or a complex one? Too complex, it will need to be done manually.
*** Bug 102575 has been marked as a duplicate of this bug. ***
Congrats for the 3.4M2 release :). I've seen in 3.4M2 News that mirorring is eventually supported for SWT on GTK. So this bug can be closed? Thanks for you efforts.
Fixed in HEAD > 20070921