Issue 69: Support RTL languages
Status:  Started
Owner: ----
Reported by Fahad.Al...@gmail.com, Feb 23, 2010
Now Marave doesn't have full support for RTL languages like Arabic. You can
see that in screen shots comparing with Kwrite.
I have attached a test text arabic file.

kwrite.png
45.5 KB   View   Download
manave.png
159 KB   View   Download
RTL.txt
129 bytes   View   Download
Feb 23, 2010
Project Member #1 roberto.alsina
Indeed it is broken. I am looking at it right now.
Status: Started
Feb 23, 2010
Project Member #2 roberto.alsina
Looks like a Qt bug:

http://is.gd/8ZYu9

Luckily there seems to be a simple workaround. Could you try r392?
Feb 23, 2010
Project Member #3 roberto.alsina
(No comment was entered for this change.)
Status: Fixed
Feb 23, 2010
Project Member #4 roberto.alsina
The widget layout has to be mirrored when using RTL.
Status: Started
Feb 23, 2010
Project Member #5 roberto.alsina
As of r395, the on-screen layout should be mirrored when using RTL languages.

If there's anything that looks weird, post it in this issue.
Status: Fixed
Feb 23, 2010
#6 Fahad.Al...@gmail.com
It doesn't even lunch now. see the output:

linuxcrunch@linux-id5y:~/tmp/marave-0.6/marave-read-only> ./marave-editor        
Using non-canvas editor                                                          
Traceback (most recent call last):                                               
  File "./marave-editor", line 7, in <module>                                    
    main()                                                                       
  File "/home/linuxcrunch/tmp/marave-0.6/marave-read-only/marave/main.py", line 1396,
in main
    window=MainWidget(opengl=options.opengl, canvaseditor=options.canvas)           
        
  File "/home/linuxcrunch/tmp/marave-0.6/marave-read-only/marave/main.py", line 497,
in __init__
    self.prefsWidget=PrefsWidget(self._scene,mainwindow=self)
  File "/home/linuxcrunch/tmp/marave-0.6/marave-read-only/marave/main.py", line 77,
in __init__
    self.loadPlugins()
  File "/home/linuxcrunch/tmp/marave-0.6/marave-read-only/marave/main.py", line 95,
in loadPlugins
    self.mainwindow.layoutButtons()
  File "/home/linuxcrunch/tmp/marave-0.6/marave-read-only/marave/main.py", line 664,
in layoutButtons
    self.containerLayout.addItem(self.editor.proxy)
AttributeError: 'FunkyEditor' object has no attribute 'proxy'

Feb 23, 2010
Project Member #7 roberto.alsina
Ok, I broke Qt 4.5 support again. I'll fix it in a minute.
Feb 23, 2010
Project Member #8 roberto.alsina
(No comment was entered for this change.)
Status: Started
Feb 23, 2010
Project Member #9 roberto.alsina
Could you try r401?
Feb 23, 2010
#10 Fahad.Al...@gmail.com
I will tested when I change my setting to full Arabic setting but what I want an
option like what is in Kwrite see the screenshot.

You can read more about the auto detecting for BiDi direction and kwrite here:
http://bugs.kde.org/show_bug.cgi?id=156093

kwrite-rtl.png
74.1 KB   View   Download
Feb 23, 2010
Project Member #11 roberto.alsina
I don't see any LTR/RTL options there?
Feb 23, 2010
Project Member #12 roberto.alsina
There is already support to switch from RTL to LTR in a document using the RMB menu, 
but I have no idea of how these things work.


Feb 24, 2010
Project Member #13 roberto.alsina
In r418, I switch the previous/next icons when in a RTL locale.