Open Bug 301045 Opened 19 years ago Updated 2 years ago

Add support for switching the text direction of xul input boxes

Categories

(Toolkit :: UI Widgets, enhancement)

enhancement

Tracking

()

People

(Reporter: linxspider, Unassigned)

Details

(Keywords: intl)

currently the option to change the text direction doesn't allow changing the
text direction inside the chrome. this is needed sometimes, like changing a
sessage subject (RTL for hebrew subject).

to Reproduce:
1. go to Tools->Options
2. click inside the 'Location' textbox and try to change the text direction by
Ctrl+Shift+X

Actual results:
Nothing happens.

Expected results:
the text direction should change to RTL.
except for a few places, most places need to by fixed LTR.
Accel+Shift+X won't be added globally, it's not a standard keyboard shortcut,
and I would really like to drop it once we can support the right keyboard
shortcuts (per the OS default/popular third-party solution). To be clear,
Ctrl+Right/Left-Shift (on Windows and Linux) and Ctrl+Arrows (on OS X) will be
supported globally, once we can actually support them.

That said, we can add the "Switch Text Direction" command to the defualt
xul-input element context menu (when bidiui is turned on).

For now, moving this to Toolkit->XUL widgets.
Severity: normal → enhancement
Component: Layout: BiDi Hebrew & Arabic → XUL Widgets
Keywords: intl
OS: Windows XP → All
Product: Core → Toolkit
QA Contact: zach → xul.widgets
Hardware: PC → All
Summary: add support to change text direction in UI textbox and dialogs → Add support for switching the text direction of xul input boxes
Target Milestone: --- → mozilla1.9alpha1
Version: Trunk → unspecified
Blocks: 306980
No longer blocks: 306980
So this is about adding a "direction" property on xul:textboxes?
Assignee: bugs.mano → nobody
Target Milestone: mozilla1.9alpha1 → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.