Closed
Bug 1205569
Opened 9 years ago
Closed 9 years ago
[RTL] webconsole-filter-button icons have wrong side margin in RTL locales
Categories
(DevTools :: Console, defect, P3)
DevTools
Console
Tracking
(firefox41 affected, firefox42 affected, firefox43 affected, firefox44 affected, firefox50 verified)
VERIFIED
FIXED
Firefox 50
People
(Reporter: magicp.jp, Assigned: Kwan, Mentored)
References
(Blocks 2 open bugs)
Details
(Keywords: rtl)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20150916030203
Steps to reproduce:
1. Run any Firefox version in Arabic.
2. Open Web Console
Actual results:
webconsole-filter-button icons have wrong side margin in RTL locales.
Expected results:
webconsole-filter-button icons have correct side margin in RTL locales.
Status: UNCONFIRMED → NEW
status-firefox41:
--- → affected
status-firefox42:
--- → affected
status-firefox43:
--- → affected
status-firefox44:
--- → affected
Ever confirmed: true
Version: 43 Branch → unspecified
Blocks: dt-rtl
Updated•9 years ago
|
Whiteboard: [good first bug][lang=css]
Updated•9 years ago
|
Mentor: ntim.bugs
Comment 1•9 years ago
|
||
Do I need to know Arabic to resolve this bug? If not, I'd like to work on this bug. P.S. I've never contributed to this bug before.
Comment 2•9 years ago
|
||
(In reply to Tanay Prabhu Desai from comment #1)
> Do I need to know Arabic to resolve this bug? If not, I'd like to work on
> this bug. P.S. I've never contributed to this bug before.
Sorry, I meant I've never contributed to open source before.
Comment 3•9 years ago
|
||
(In reply to Tanay Prabhu Desai from comment #1)
> Do I need to know Arabic to resolve this bug?
No, you should be able to use the Force RTL addon to simulate a RTL locale: https://addons.mozilla.org/en-US/firefox/addon/force-rtl/
Comment 4•9 years ago
|
||
I installed that addon on both freshly built Nightly and my regular Firefox. It did not switch from LTR to RTL.
(In reply to Tanay Prabhu Desai from comment #4)
> I installed that addon on both freshly built Nightly and my regular Firefox.
> It did not switch from LTR to RTL.
Did you switch from menu? (menubar > Tools > Force RTL Direction)
Comment 6•9 years ago
|
||
Okay, I successfully reproduced the bug. I'd like to fix this bug.
Comment 7•9 years ago
|
||
Can this bug be assigned to me? I can try to fix it since its a good first bug?
Comment 8•9 years ago
|
||
(In reply to Tanay Prabhu Desai from comment #7)
> Can this bug be assigned to me? I can try to fix it since its a good first
> bug?
Sure!
Assignee: nobody → tanayseven
Status: NEW → ASSIGNED
Comment 9•9 years ago
|
||
Where to find the CSS file that I have to edit for the console? I'm searching in the directories in the central tree, could not find the file. Is it this file mozilla-central/devtools/client/debugger/debugger.css?
Comment 10•9 years ago
|
||
(In reply to Tanay Prabhu Desai from comment #9)
> Where to find the CSS file that I have to edit for the console? I'm
> searching in the directories in the central tree, could not find the file.
> Is it this file mozilla-central/devtools/client/debugger/debugger.css?
Here it is: https://dxr.mozilla.org/mozilla-central/source/devtools/client/themes/webconsole.css
Comment 11•9 years ago
|
||
I don't think I'll get enough time to fix this bug. I'm too busy with my college. You can assign the bug to someone else, if someone else is interested in fixing this bug.
Comment 12•9 years ago
|
||
(In reply to Tanay Prabhu Desai from comment #11)
> I don't think I'll get enough time to fix this bug. I'm too busy with my
> college. You can assign the bug to someone else, if someone else is
> interested in fixing this bug.
Alright, no problem. Thanks for the heads up!
Assignee: tanayseven → nobody
Status: ASSIGNED → NEW
Comment 13•9 years ago
|
||
I'd like to take this on, but before I submit a patch, I noticed simply adding the right pixel margins to the right of the icons fixed this without breaking ltr languages, that is without checking in css if the current direction is rtl (standard direction check didn't work, must be set up differently).
Is that simple margin addition an acceptable fix to submit if everything looks good?
Comment 14•9 years ago
|
||
Actually, these filter buttons might actually be going away soon-ish so I want to confirm before we spend any more time on it. Helen, have you been working on new designs for the webconsole filters? If so, are you thinking of changing the popup behavior we have now?
Flags: needinfo?(hholmes)
Comment 15•9 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #14)
> Actually, these filter buttons might actually be going away soon-ish so I
> want to confirm before we spend any more time on it. Helen, have you been
> working on new designs for the webconsole filters? If so, are you thinking
> of changing the popup behavior we have now?
I have been working on new designs for the webconsole filters. I think that it might be beneficial to hold off on this bug for now depending on the outcome of the meeting this afternoon on filtering.
Flags: needinfo?(hholmes)
Updated•9 years ago
|
Whiteboard: [good first bug][lang=css]
Updated•9 years ago
|
Priority: -- → P3
Assignee | ||
Comment 16•9 years ago
|
||
These are still around, and the fix is simple.
Assignee: nobody → moz-ian
Status: NEW → ASSIGNED
Assignee | ||
Comment 17•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/61964/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/61964/
Attachment #8767488 -
Flags: review?(ntim.bugs)
Updated•9 years ago
|
Attachment #8767488 -
Flags: review?(ntim.bugs) → review+
Comment 18•9 years ago
|
||
Comment on attachment 8767488 [details]
Bug 1205569 - Use margin-inline-start instead of margin-left for the webconsole filter icons so they look right on RTL locales.
https://reviewboard.mozilla.org/r/61964/#review58700
Looks good to me! Thanks for picking this up.
Assignee | ||
Comment 19•9 years ago
|
||
Thanks for the fast review Tim!
Sheriff, I'm more than happy to do a try run, but given that this changes a CSS rule to one that usually resolves to the original rule anyway I think it'd be a waste of resources. Let me know if you disagree.
Keywords: checkin-needed
Comment 20•9 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/fx-team/rev/54799c43ba43
Use margin-inline-start instead of margin-left for the webconsole filter icons so they look right on RTL locales. r=ntim
Keywords: checkin-needed
Comment 21•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Updated•8 years ago
|
QA Whiteboard: [good first verify]
Comment 22•8 years ago
|
||
hello,
works well for me. web console bug is fixed. good team work guys
Updated•8 years ago
|
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•