Closed Bug 689246 Opened 13 years ago Closed 8 years ago

Support Ctrl+Shift shortcut keys for toggling textbox directions on Qt

Categories

(Core Graveyard :: Widget: Qt, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: ehsan.akhgari, Unassigned)

References

Details

(Keywords: rtl)

From bug 98160 comment 47: > For reference, note that Qt also uses Ctrl+Shift the way Windows does, that > is, the left pair changes the field to LTR (and left aligned) and the right > pair to RTL (right aligned). Qt only enables this when you enable support > for RTL languages. > > I don't know if GTK+ has a similar convention, but the Qt one, added to the > fact that most Linux users (at least here in Israel) are well aware of > Windows conventions, makes me think that Mozilla should adapt a similar > behavior on Linux too. Somebody who knows more about the Qt APIs should look into this. I can help with the editor side of things.
Just for the record, my comment (quoted above) had nothing to do with the Mozilla-on-Qt effort (of which I wasn't even aware until I googled it following the posting of this bug). I tried to make the point that Mozilla/Gtk+ should use Ctrl-Shift to toggle directionality, because other software on Linux does it that way. See also bug 98160 comment 55, with the same intention.
I suggest to change this bug summary to Linux in general and not just QT. GTK has auto-alignment of bidirectional paragraphs (see it in action in gedit when typing RTL text) which we can implement using dir=auto (bug 548206), but I think that changing direction manually using an hotkey is better to us.
See Also: → 98160
In bug 1282866, I have removed the QT code from the Firefox tree with the approval of the active peer. That code is not currently maintained by any team. I have looked through the bugs in the Widget: Qt bugzilla component and I believe all of these are no longer relevant because the Qt code has been removed. If you believe that this bug is still valid, please move it to another more appropriate bugzilla component as you reopen it.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.