Bug 115666 - BIDI mirroring not implemented on GTK
Summary: BIDI mirroring not implemented on GTK
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.1   Edit
Hardware: PC Linux-GTK
: P3 normal with 2 votes (vote)
Target Milestone: 3.4 M3   Edit
Assignee: Bogdan Gheorghe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 102575 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-09 12:38 EST by Richard Kulp CLA
Modified: 2007-10-30 11:54 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Kulp CLA 2005-11-09 12:38:05 EST
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.
Comment 1 Mohsen Saboorian CLA 2006-06-29 03:28:29 EDT
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.
Comment 2 Hossein Noorikhah CLA 2006-07-08 05:15:43 EDT
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?
Comment 3 Felipe Heidrich CLA 2006-07-10 11:03:57 EDT
Very hard, we will need to fix all events coordinates, all Control#setBounds, all GC#draws and GC#fills, probably more.

Comment 4 Hossein Noorikhah CLA 2006-11-04 06:16:23 EST
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?
Comment 5 Felipe Heidrich CLA 2006-11-08 16:56:44 EST
> 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.
Comment 6 Steve Northover CLA 2007-05-18 08:03:29 EDT
*** Bug 102575 has been marked as a duplicate of this bug. ***
Comment 7 Mohsen Saboorian CLA 2007-09-23 14:57:24 EDT
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.
Comment 8 Bogdan Gheorghe CLA 2007-10-01 14:50:40 EDT
Fixed in HEAD > 20070921