← Back to team overview

touch-packages team mailing list archive

[Bug 1029781] Re: Nux is missing right-to-left mirorring support

 

** Changed in: nux (Ubuntu)
       Status: New => Confirmed

** Changed in: nux (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to nux in Ubuntu.
https://bugs.launchpad.net/bugs/1029781

Title:
  Nux is missing right-to-left mirorring support

Status in Nux:
  Confirmed
Status in nux package in Ubuntu:
  Confirmed

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 https://wiki.ubuntu.com/RTLTeam
  [2] Gtk's gtk_widget_set_direction API http://www.gtk.org/api/2.6/gtk/GtkWidget.html#gtk-widget-set-direction
  [3] Qt's QWidget::setLayoutDirection API http://doc.qt.nokia.com/4.7-snapshot/qwidget.html#layoutDirection-prop
  [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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nux/+bug/1029781/+subscriptions