Closed
Bug 1488660
Opened 7 years ago
Closed 7 years ago
DevTools tab reordering is not working in RTL locales
Categories
(DevTools :: Framework, defect, P3)
DevTools
Framework
Tracking
(firefox65 verified)
VERIFIED
FIXED
Firefox 65
| Tracking | Status | |
|---|---|---|
| firefox65 | --- | verified |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
Details
Attachments
(2 files)
Some comparisons made in devtools/client/framework/toolbox-tabs-order-manager.js assume LTR layout and make the feature buggy for RTL locales.
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
Screencast above was initially uploaded by contributor Itiel on duplicate Bug 1494261.
| Assignee | ||
Comment 4•7 years ago
|
||
For the record most of the issue comes from the logic at https://searchfox.org/mozilla-central/rev/ffe6eaf2f032e58ec3b0650a87df2c62ae4ca441/devtools/client/framework/toolbox-tabs-order-manager.js#105
All the "greater than" and "lower than" comparisons are assuming LTR order. We should either check the document direction and change the logic based on that, or attempt to have something that works well for both RTL and LTR.
| Assignee | ||
Comment 5•7 years ago
|
||
Updated•7 years ago
|
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Keywords: checkin-needed
Pushed by ncsoregi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ed6fb38d05c8
Fix devtools tab reordering in RTL locales;r=daisuke
Keywords: checkin-needed
Comment 7•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Comment 8•7 years ago
|
||
I have reproduced this issue using Firefox 64.0a1 (2018.09.04) on Win 10 x64.
I can confirm this issue is fixed, I verified using Firefox 65.0a1 on Win 10 x64, Ubuntu 18.04 x64 and Mac OS X 10.13.6.
You need to log in
before you can comment on or make changes to this bug.
Description
•