GNOME Bugzilla – Bug 556639
BiDi problem if tree_lines is enabled in a TreeView widget
Last modified: 2009-07-15 18:10:46 UTC
Please describe the problem: if gtk_tree_view_set_enable_tree_lines is enabled in a right to left locale (eg. Arabic) lines will be drawn on the left Steps to reproduce: 1. call gtk_tree_view_set_enable_tree_lines(treeview,true) 2. compile it 3. LC_ALL=ar_JO.UTF-8 ./my_app Actual results: lines are on the left Expected results: lines on the right Does this happen every time? yes Other information:
Created attachment 120756 [details] testcase, a PyGTK+ application the example from http://www.pygtk.org/pygtk2tutorial/ch-TreeViewWidget.html#basictreeviewfig with self.treeview.set_enable_tree_lines(True) and self.treeview.expand_all()
Created attachment 120757 [details] treeview in Enlish locale
Created attachment 120758 [details] screenshot of the testcase in Arabic Locale screenshot of testcase in Arabic locale notice how the lines are drawn in an incorrect location they should be on right