Opened 15 years ago

Closed 15 years ago

#703 closed Bug (fixed)

RTL text direction issues

Reported by: LucaFerretti Owned by: charles
Priority: Normal Milestone: 1.10
Component: GTK+ Client Version: 1.05
Severity: Minor Keywords:


I was trying a patch against GTK+ to force the Right To Left or Left To Right direction in GTK+ apps even if you are not using a rtl locale (and vice versa). This patch should be useful if you are developing something in GTK+ and you want to be sure it works fine in RTL locales without install the locale or use it.

The following seems to me the only items in Transmission don't respect the RTL:

  • the custom progress bar "grows" from left to right even it you use RTL
  • the small text above (xxx MB, uploaded yyy MB (Ratio: zzz)) the progress bar should be right aligned
  • The Completeness and Availabily graphs on Details dialog also grows from left to right when verifying data)

A screenshot with 1 and 2 is attached.

Attachments (1)

Transmission-RTL.png (32.0 KB) - added by LucaFerretti 15 years ago.
Transmission window simulating a RTL locale

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by LucaFerretti

Transmission window simulating a RTL locale

comment:1 Changed 15 years ago by charles

  • Milestone changed from None Set to 1.10
  • Severity changed from Normal to Minor
  • Status changed from new to assigned

How do I programmatically test to see if T is running in a RTL locale?

comment:2 Changed 15 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

(1) fixed in r5048.

(2) appears to be a gtk bug that you should report upstream -- this rendering is done with a text cell renderer by passing it "line1\nline2" ... in RTL, both line1 and line2 should be right aligned.

(3) fixed in r5050.

Note: See TracTickets for help on using tickets.