Closed
Bug 1317795
Opened 8 years ago
Closed 8 years ago
Checkbox looks inconsistent in "Insecure Connection" warning & about:debugging/networking/performance/privatebrowsing, compared to the other Firefox checkboxes
Categories
(Firefox :: Theme, defect)
Tracking
()
VERIFIED
FIXED
Firefox 53
Tracking | Status | |
---|---|---|
firefox-esr45 | --- | unaffected |
firefox50 | --- | unaffected |
firefox51 | --- | unaffected |
firefox52 | + | verified |
firefox53 | --- | verified |
People
(Reporter: Virtual, Assigned: mconley)
References
()
Details
(Keywords: nightly-community, regression, ux-consistency)
Attachments
(3 files)
72.53 KB,
image/png
|
Details | |
95.32 KB,
image/png
|
Details | |
58 bytes,
text/x-review-board-request
|
jaws
:
review+
jcristau
:
approval-mozilla-aurora+
|
Details |
[Tracking Requested - why for this release]: Regression STR: 1. Open this website page - https://forum.doom9.org/showthread.php?t=166689 2. See that checkbox is rendered differently compared to the other checkboxes in about:preferences
Virtual_ManPL [:Virtual] 🇵🇱 - (please needinfo? me - so I will see your comment/reply/question/etc.)
Reporter
|
||
Updated•8 years ago
|
Has STR: --- → yes
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Assignee | ||
Comment 3•8 years ago
|
||
This is fallout from bug 1309316. I hope to fix this with bug 418833 (and hopefully get the uplift).
Assignee | ||
Updated•8 years ago
|
Virtual_ManPL [:Virtual] 🇵🇱 - (please needinfo? me - so I will see your comment/reply/question/etc.)
Reporter
|
||
Comment 4•8 years ago
|
||
Thank you very much for finding the regression range.
Has Regression Range: --- → yes
status-firefox50:
--- → unaffected
status-firefox51:
--- → unaffected
status-firefox52:
--- → affected
status-firefox-esr45:
--- → unaffected
tracking-firefox52:
--- → ?
Keywords: regressionwindow-wanted
Version: 53 Branch → 52 Branch
Comment 5•8 years ago
|
||
(ah, cool, I was gonna get around to looking into why the checkbox in about:debugging looks different... seems like this is why!)
Comment 6•8 years ago
|
||
Please don't forget to fix the switch in about:privatebrowsing
Virtual_ManPL [:Virtual] 🇵🇱 - (please needinfo? me - so I will see your comment/reply/question/etc.)
Reporter
|
||
Comment 7•8 years ago
|
||
Adding also to it about:networking and about:performance
Summary: Checkbox looks inconsistent in "Insecure Connection" warning compared to the other Firefox checkboxes → Checkbox looks inconsistent in "Insecure Connection" warning & about:debugging/networking/performance/privatebrowsing, compared to the other Firefox checkboxes
Updated•8 years ago
|
Component: Untriaged → General
Assignee | ||
Comment 9•8 years ago
|
||
The regression for about:privatebrowsing can (and should) be fixed separately, so I've re-opened bug 1317804.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 11•8 years ago
|
||
Note that this work relies on the patches in bug 418833 to look fully appropriate. ntim, are you the right reviewer for in-content changes like this?
Flags: needinfo?(ntim.bugs)
Comment 12•8 years ago
|
||
mozreview-review |
Comment on attachment 8812499 [details] Bug 1317795 - Fix broken alignment of in-content UI checkboxes. https://reviewboard.mozilla.org/r/94224/#review94372 I think Gijs or jaws would be more appropriate to review this kind of changes, but here are a few comments anyway. ::: devtools/client/aboutdebugging/aboutdebugging.css:185 (Diff revision 1) > flex: 1; > } > > .addons-debugging-label { > display: inline-block; > - margin: 0 5px 5px 0; > + margin-right: 5px; nit: Use RTL aware prop (margin-inline-end). ::: toolkit/components/aboutperformance/content/aboutPerformance.xhtml:148 (Diff revision 1) > + .options > input[type="checkbox"]:not(:first-child) { > + margin-left: 10px; > + } hmm, this is an ugly hack. I'd rather have two containers as children containing the 2 checkboxes. ::: toolkit/themes/shared/in-content/common.inc.css:557 (Diff revision 1) > > xul|richlistitem > xul|*.checkbox-check { > margin: 3px 6px; > } > > +html|*.checkbox-container-with-text { This is a class we'll probably be able to use with radios as well, so maybe rename it as toggle-with-label ? ::: toolkit/themes/shared/in-content/common.inc.css:565 (Diff revision 1) > + > +html|*.checkbox-container-with-text > label, > +html|*.checkbox-container-with-text > span, > +html|*.checkbox-container-with-text > a { > + margin-top: auto; > + margin-bottom: auto; Instead of specifying margins, does using one of those flex properties work (you might need to apply them on the parent) ? I'm thinking of align-self/content
Comment 13•8 years ago
|
||
(In reply to Mike Conley (:mconley) from comment #11) > Note that this work relies on the patches in bug 418833 to look fully > appropriate. > > ntim, are you the right reviewer for in-content changes like this? I think :Gijs or :jaws would be more appropriate to review this since they are browser peer. Plus I'm not accepting review requests right now :)
Flags: needinfo?(ntim.bugs)
Comment 14•8 years ago
|
||
Drive-by: I haven't tried this patch locally but it doesn't seem to touch the aboutNetError/CertError page, which also has an unstyled checkbox now. Please make sure that that one is also fixed :)
Assignee | ||
Comment 15•8 years ago
|
||
Good call, thank you!
Assignee | ||
Comment 16•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8812499 [details] Bug 1317795 - Fix broken alignment of in-content UI checkboxes. https://reviewboard.mozilla.org/r/94224/#review94372 > This is a class we'll probably be able to use with radios as well, so maybe rename it as toggle-with-label ? I chose "toggle-container-with-text", since we're dealing with non-label nodes as well (<span>, <a>, at least)
Assignee | ||
Comment 17•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8812499 [details] Bug 1317795 - Fix broken alignment of in-content UI checkboxes. https://reviewboard.mozilla.org/r/94224/#review94372 > Instead of specifying margins, does using one of those flex properties work (you might need to apply them on the parent) ? I'm thinking of align-self/content Ah, align-items on the container was the rule I wanted. Thank you!
Comment hidden (mozreview-request) |
Comment 19•8 years ago
|
||
mozreview-review |
Comment on attachment 8812499 [details] Bug 1317795 - Fix broken alignment of in-content UI checkboxes. https://reviewboard.mozilla.org/r/94224/#review94710 ::: devtools/client/aboutdebugging/aboutdebugging.css:185 (Diff revision 2) > flex: 1; > } > > .addons-debugging-label { > display: inline-block; > - margin: 0 5px 5px 0; > + margin-inline-end: 5px; Please use 1ch here instead of 5px. ::: toolkit/components/aboutperformance/content/aboutPerformance.xhtml:152 (Diff revision 2) > + } > + .options > .toggle-container-with-text { > + display: inline-flex; > + } > + .options > .toggle-container-with-text:not(:first-child) { > + margin-left: 10px; margin-inline-start: 2ch;
Attachment #8812499 -
Flags: review?(jaws) → review+
Comment hidden (mozreview-request) |
Comment 21•8 years ago
|
||
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e241e4cec47a Fix broken alignment of in-content UI checkboxes. r=jaws
Comment 22•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e241e4cec47a
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
Comment 24•8 years ago
|
||
Mike, can you please request Aurora approval on this when you get a chance?
Assignee: nobody → mconley
Flags: needinfo?(mconley)
Virtual_ManPL [:Virtual] 🇵🇱 - (please needinfo? me - so I will see your comment/reply/question/etc.)
Reporter
|
||
Updated•8 years ago
|
Status: RESOLVED → VERIFIED
Virtual_ManPL [:Virtual] 🇵🇱 - (please needinfo? me - so I will see your comment/reply/question/etc.)
Reporter
|
||
Updated•8 years ago
|
Blocks: 1320049
Virtual_ManPL [:Virtual] 🇵🇱 - (please needinfo? me - so I will see your comment/reply/question/etc.)
Reporter
|
||
Updated•8 years ago
|
Component: General → Theme
Assignee | ||
Comment 25•8 years ago
|
||
Comment on attachment 8812499 [details] Bug 1317795 - Fix broken alignment of in-content UI checkboxes. Approval Request Comment [Feature/regressing bug #]: Bug 1309316, bug 418833 [User impact if declined]: Checkboxes and their labels will be slightly misaligned. [Describe test coverage new/current, TreeHerder]: All manual, as this is a styling thing. [Risks and why]: Very low risk. This just adjusts the majority of the in-content checkboxes to use the new unstyled checkbox properly. [String/UUID change made/needed]: None.
Flags: needinfo?(mconley)
Attachment #8812499 -
Flags: approval-mozilla-aurora?
Comment 27•8 years ago
|
||
Comment on attachment 8812499 [details] Bug 1317795 - Fix broken alignment of in-content UI checkboxes. styling fix for aurora52
Attachment #8812499 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 28•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/3c3bd290fee9
Assignee | ||
Comment 29•8 years ago
|
||
Note that it looks like bug 418833 is not going to uplift. This bugfix kinda depended on that, so this might get backed out in short order. I'm going to work out a good solution with UX before making a move.
Flags: needinfo?(mconley)
Assignee | ||
Comment 30•8 years ago
|
||
Here is my proposal for fixing this on Aurora 52: 1) Back out this patch from Aurora, since bug 418833 will not uplift. 2) Undo the changes from bug 1309316 that switch us to using the standard checkbox, and put us back to the pseudoelement checkbox 3) Use some margin and text-indent hackery to make text wrapping work acceptably well on about:tabcrashed. This will probably have to do until 53. I'll need to get UX sign-off on this. The first two steps can be done immediately. Step 1 is trivial. Step 2, I will have a patch prepared for today.
Assignee | ||
Comment 31•8 years ago
|
||
I've filed bug 1321302 for Part 2, and bug 1321306 for Part 3.
Flags: needinfo?(mconley)
Virtual_ManPL [:Virtual] 🇵🇱 - (please needinfo? me - so I will see your comment/reply/question/etc.)
Reporter
|
||
Updated•7 years ago
|
Keywords: nightly-community
Virtual_ManPL [:Virtual] 🇵🇱 - (please needinfo? me - so I will see your comment/reply/question/etc.)
Reporter
|
||
Updated•7 years ago
|
QA Contact: Virtual
You need to log in
before you can comment on or make changes to this bug.
Description
•