Nux is missing right-to-left mirorring support

Bug #1029781 reported by Haggai Eran on 2012-07-27
This bug affects 4 people
Affects Status Importance Assigned to Milestone
nux (Ubuntu)

Bug Description

For languages that are written from right-to-left, such as Hebrew and Arabic, it is common to mirror the entire desktop UI, so that UI elements that were at the left side of the screen are now to the right, and vice versa. You can read more about that at Ubuntu RTL Team wiki page [1].

Other toolkits, such as Qt and Gtk support such mirroring using APIs such as gtk_widget_set_direction [2], or QWidget::setLayoutDirection [3]. Therefore, the first step for making the Unity desktop support right-to-left languages [4] should be adding such support to Nux.

In order to facilitate discussion on the design of this feature, I've created a small program that mimics Gnome's thewidgetfactory (twf) program, but running with Nux instead [5]. It tries to show all of Nux widgets in a single window. I will attach screenshots with and without RTL mirroring, and hopefully Ubuntu designers can discuss here how they would like this feature to work. This right to left screenshots are based on my patches [6] for Nux that was rejected before the precise release.

[1] Ubuntu RTL Team wiki page
[2] Gtk's gtk_widget_set_direction API
[3] Qt's QWidget::setLayoutDirection API
[4] Unity bug #654988: Unity doesn't mirror its interface for RTL locales
[5] A widget factory program for Nux lp:~haggai-eran/nuxcodesamples/widgetfactory
[6] Nux RTL support branch lp:~haggai-eran/nux/rtl-logical-packing

Tags: rtl Edit Tag help
Haggai Eran (haggai-eran) wrote :

I'm attaching the screenshot of Nux widgets in the widget factory sample. The right-to-left version represent only the current (incomplete) state of my patches, and not an expected design. It would be better for instance to align the textboxes to the right, and the tabbed frame needs more work. I'm hoping though that this example will help shows the general direction that is needed for right-to-left support.

Shahar Or (mightyiam) wrote :

Thank you for all the great work, Haggai!

Stephen M. Webb (bregma) on 2013-05-07
Changed in nux:
status: New → Confirmed
importance: Undecided → Medium
Shahar Or (mightyiam) wrote :

Thank you very much, Stephen.
As the leader of Unity development, it is very profound to the RTL community that you acknowledge this issue.

We hope that you can address it positively soon.

Changed in nux (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers