about:support - Troubleshoot mode button not contained by top section
Categories
(Firefox :: Theme, defect)
Tracking
()
People
(Reporter: cfogel, Assigned: itsanand.roy11, Mentored, NeedInfo)
References
(Regression)
Details
(Keywords: good-first-bug, regression, Whiteboard: [lang=css])
Attachments
(11 files)
39.12 KB,
image/png
|
Details | |
174.07 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
65.04 KB,
image/png
|
Details | |
59.87 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Affected versions
- 89.0a1 (2021-03-28)
Affected platforms
- Ubuntu 20, Windows 10;
Steps to reproduce
- Launch Firefox and access about:support;
- Zoom in, resize the browser so it takes up half-width of screen (or less);
- Scroll down;
Expected result
- buttons are contained in sections/separators;
Actual result
- [Troubleshoot mode...] button is not contained in the Give Nightly a Tune up section;
Regression range
- will check and provide one asap;
Additional notes
- reproducible with proton prefs both on/off;
- attached screenshot with the issue.
Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
It seems that the offset issue appeared first on the "Restart with Add-ons Disabled" button. Mozregression pinpointed me to:
Last good revision: 1cd85123fd5501651c0c0144344456a50b760e13
First bad revision: 4dcdf646c322a5636037bd764441b11794bd2771
Updated•4 years ago
|
Comment 2•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Theme' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 3•2 years ago
|
||
Set release status flags based on info from the regressing bug 1694427
:Gijs, since you are the author of the regressor, bug 1694427, could you take a look?
For more information, please visit auto_nag documentation.
Comment 4•2 years ago
|
||
To fix this we could just change the width: 30%
on the containing box to min-width: 30%
so it doesn't enforce a width that is too narrow for the contents. That will also stop the buttons wrapping, however. Perhaps a more elaborate solution can be found. Either way it's purely a CSS issue, so marking this a mentored issue in the hope someone can pick it up.
Comment 5•2 years ago
|
||
The CSS is here, btw: https://searchfox.org/mozilla-central/rev/fa81b64fc1a339e2b2b1f6a8637a689916e13c4e/toolkit/themes/shared/in-content/info-pages.css#180 and the bug also affects about:profiles
with pretty similar steps to comment 0.
Updated•2 years ago
|
Comment 6•2 years ago
|
||
Hi, I'd like to take this on if no one else is working on it yet.
I made some styling changes a bit beyond what :Gijs suggested. Once the screen width is small enough, the "action box" (the box containing the three buttons) goes inline between the subtitle and the copy buttons. For smaller screens, I think this improves it compared to having them side-by-side.
I put the action box above the copy buttons since those buttons are related to the tables below. For the same reason, on larger screens, I decided to see what it looks like with the copy buttons pushed to the bottom, closer to the tables - to me it makes it a bit more clear what you're copying (this is unrelated to this ticket though, so I can remove it).
I'm open to feedback of course! I'll submit a patch tomorrow/within a few days, and I'll try to post a screenshot for now. This is my first time using Bugzilla and trying to contribute to Firefox and I'm still figuring everything out, please let me know if I missed anything.
Comment 7•2 years ago
|
||
Comment 8•2 years ago
|
||
(In reply to Avery [:avery] from comment #6)
Hi, I'd like to take this on if no one else is working on it yet.
I made some styling changes a bit beyond what :Gijs suggested. Once the screen width is small enough, the "action box" (the box containing the three buttons) goes inline between the subtitle and the copy buttons. For smaller screens, I think this improves it compared to having them side-by-side.
I put the action box above the copy buttons since those buttons are related to the tables below. For the same reason, on larger screens, I decided to see what it looks like with the copy buttons pushed to the bottom, closer to the tables - to me it makes it a bit more clear what you're copying (this is unrelated to this ticket though, so I can remove it).
I'm open to feedback of course! I'll submit a patch tomorrow/within a few days, and I'll try to post a screenshot for now. This is my first time using Bugzilla and trying to contribute to Firefox and I'm still figuring everything out, please let me know if I missed anything.
The screenshot looks good to me - thank you for working on this. We normally assign mentored bugs when a patch is attached. :-)
Make sure that about:profiles
and any other pages using the styling from info-pages.css
don't regress with your changes (I expect they won't, but it wouldn't hurt to check).
Comment 9•2 years ago
|
||
Updated•2 years ago
|
Comment 10•2 years ago
|
||
The "refresh" item in the action box on about:support, when it's shown, has no
margin-top. If it isn't shown, the next items do have a margin. This commit
removes the margin from the new first item when the refresh item isn't shown.
I also removed the margin in the action box on the about:profiles page to make
it consistent with about:support.
Depends on D156924
Comment 11•2 years ago
|
||
Set release status flags based on info from the regressing bug 1694427
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 12•2 years ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.
Comment 13•2 years ago
|
||
can I work on this as my first bug or is this closed?
Thanks!
Comment 14•2 years ago
|
||
(In reply to Tal from comment #13)
can I work on this as my first bug or is this closed?
Thanks!
It's not closed, so if you can update the patches Avery attached here that would work.
Comment 15•2 years ago
|
||
Hey, I made some changes similar to what Avery did.
Comment 16•2 years ago
|
||
Comment 17•2 years ago
|
||
Also brought the action box below the subtitles in about:profiles
Comment 18•2 years ago
|
||
(In reply to Anand Roy from comment #15)
Hey, I made some changes similar to what Avery did.
Please put up patches on phabricator - I can't really review the screenshots because I don't know what code changes you made to achieve those results.
Assignee | ||
Comment 19•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 20•2 years ago
|
||
Depends on D172206
Comment 21•2 years ago
|
||
I tested the patch with the "accented" pseudolocale and zooming the text and set the media query size according to it
Assignee | ||
Comment 22•2 years ago
|
||
Assignee | ||
Comment 23•2 years ago
|
||
Assignee | ||
Comment 24•2 years ago
|
||
Comment 25•2 years ago
|
||
Sorry, I wasn't able to rebase it to central. Please check the last one.
Comment 26•2 years ago
|
||
Hey, can you please check my last submitted patch. It is properly rebased and doesn't have extra codes.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 27•2 years ago
|
||
Please check the above patch.
Comment 28•2 years ago
|
||
Comment 29•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 30•2 years ago
|
||
Anand Roy, since this bug has been fixed, can you please abandon the other patches you've submitted here?
Reproducible on a 2023-03-14 Nightly build on Windows 10.
Verified as fixed on Firefox 113.0(build ID: 20230501151611) and Nightly 114.0a1(build ID: 20230501093846) on Windows 10, Ubuntu 22, macOS 12.
Description
•