After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 566821 - english is reversed when useing RTL desktop
english is reversed when useing RTL desktop
Status: RESOLVED OBSOLETE
Product: orca
Classification: Applications
Component: braille
unspecified
Other All
: Normal normal
: ---
Assigned To: Orca Maintainers
Orca Maintainers
post-3.0
Depends on:
Blocks: Hebrew
 
 
Reported: 2009-01-06 20:46 UTC by Mark Krapivner
Modified: 2018-02-08 12:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
when using hebrew (138.41 KB, image/png)
2009-01-06 20:50 UTC, Mark Krapivner
  Details
set direction to ltr and fix hebrew with pyfribidi (1.19 KB, patch)
2009-01-19 15:55 UTC, Mark Krapivner
reviewed Details | Review

Description Mark Krapivner 2009-01-06 20:46:47 UTC
Please describe the problem:
On Braille monitor, Hebrew is displayed well, but English is revered.
Same problem on an English desktop, but Hebrew is reversed.

Steps to reproduce:
1. open orca with braille monitor on with this command 'LANGUAGE=he orca'
2. look at English text
3. be disappointed :(


Actual results:


Expected results:


Does this happen every time?
yes

Other information:
i'll add sreenshots
Comment 1 Mark Krapivner 2009-01-06 20:50:28 UTC
Created attachment 125881 [details]
when using hebrew
Comment 2 Willie Walker 2009-01-06 22:51:00 UTC
Eeks!  I'm not sure how to resolve this.  Do you have any ideas?  In addition, it looks like the English text shown should not be there -- the name "Button" should be translated as well.  I'm not sure where things are going wrong with that, but it might be an incomplete he.po file for orca.

Resolving that particular example, however, doesn't seem like it would help with spots where we might have mixed English/Hebrew text -- I'm not sure if Orca should handle that or if BrlTTY should handle it, though.

One final thought - the braille monitor is merely a debugging/demoing tool.  I wonder if the stuff actually going to a physical braille display might end up being interpreted differently by BrlTTY?
Comment 3 Mark Krapivner 2009-01-19 15:55:32 UTC
Created attachment 126768 [details] [review]
set direction to ltr and fix hebrew with pyfribidi

>Eeks!  I'm not sure how to resolve this.  Do you have any ideas? 
well, yes. i'm not sure if it is the best solution, but it works.
set the braille monitor direction always LTR, and use pyfribidi to Hebrew text in the right direction. it works, even with Hebrew and English mixed.

> In addition, it looks like the English text shown should not be there -- the >name "Button" should be translated as well.  I'm not sure where things are >going wrong with that, but it might be an incomplete he.po file for orca.
I'm working on it.

>Resolving that particular example, however, doesn't seem like it would help
>with spots where we might have mixed English/Hebrew text -- I'm not sure if
>Orca should handle that or if BrlTTY should handle it, though.
i'm really sorry i have no idea what you are talking about, and how it's related to this problem. i was just working on the translation and noticed this issue, i know very little about how this app works (but i know what it used for).

>One final thought - the braille monitor is merely a debugging/demoing tool.  I
>wonder if the stuff actually going to a physical braille display might end up
>being interpreted differently by BrlTTY?
how can i check?
Comment 4 Willie Walker 2009-06-17 14:42:14 UTC
(In reply to comment #3)
> >Eeks!  I'm not sure how to resolve this.  Do you have any ideas? 
> well, yes. i'm not sure if it is the best solution, but it works.
> set the braille monitor direction always LTR, and use pyfribidi to Hebrew text
> in the right direction. it works, even with Hebrew and English mixed.

Is pyfribidi a module that ships with Python, or does one need to download/install it separately?  I couldn't find it on my machine (OpenSolaris 2009.06).  :-(

> > In addition, it looks like the English text shown should not be there -- the >name "Button" should be translated as well.  I'm not sure where things are >going wrong with that, but it might be an incomplete he.po file for orca.
> I'm working on it.

With a more complete he.po file, does the problem go away?

> >One final thought - the braille monitor is merely a debugging/demoing tool.  I
> >wonder if the stuff actually going to a physical braille display might end up
> >being interpreted differently by BrlTTY?
> how can i check?

If you have brltty installed, you can run the following command to display a window showing what's actually being presented on the physical braille display.  It's like Orca's braille monitor, but better:

brltty -d /dev/term/0 -bxw -xno -p none -A auth=none -n

When you run Orca and enable braille, you should see output in the window that the above command creates.

Many thanks!
Comment 5 Mark Krapivner 2009-06-18 08:12:33 UTC
>Is pyfribidi a module that ships with Python, or does one need to
>download/install it separately?  I couldn't find it on my machine (OpenSolaris
>2009.06).  :-(
no, you can get it here: http://pyfribidi.sourceforge.net/

>With a more complete he.po file, does the problem go away?
no, sorry...

>If you have brltty installed, you can run the following command to display a
>window showing what's actually being presented on the physical braille display.
> It's like Orca's braille monitor, but better:
>
>brltty -d /dev/term/0 -bxw -xno -p none -A auth=none -n
>
>When you run Orca and enable braille, you should see output in the window that
>the above command creates.
i must be doing something wrong.

brltty window says "no screen", and the terminal says:

BRLTTY 3.10 [http://mielke.cc/brltty/]
brltty: NoScreen Screen Driver:
brltty: BrlAPI Server: release 0.5.2
brltty: opening local socket lock error 13: Permission denied.
brltty: Error while initializing socket 0
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
brltty: XWindow Braille Driver: version 0.1, 2004
brltty: ioctl KDMKTONE error 1: Operation not permitted.
brltty: ioctl KIOCSOUND error 1: Operation not permitted.
brltty: NoSpeech Speech Driver