Checkbox and text for [Prevent this page from creating additional dialogs] are not vertically aligned on MacOS
Categories
(Toolkit :: Themes, defect, P3)
Tracking
()
People
(Reporter: cfogel, Unassigned, Mentored)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [lang=css])
Attachments
(1 file, 2 obsolete files)
|
54.01 KB,
image/png
|
Details |
Affected versions
- 75.0, 75.0b7, 60.9esr, 77.0a1
Affected platforms
- macOS 10.15.3, Windows 10,
Steps to reproduce
- Launch Firefox, access this link;
- For the age-input prompt click to run;
- Input any age-value, click on Ok
Expected result
- elements in modal are properly displayed;
Actual result
- checkbox is lower
Regression range
- will check if one asap, but at first glimpse looks like something old;
Additional notes
- attached screenshot with the issue;
- Ubuntu 18 Is not affected.
| Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Regression range:
- First bad: 2020-04-23
- Last good: 2020-04-22
- Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=961700e5d48a292ca8d15f974729946227374359&tochange=0aa77ee04caae3d4081bbc992f2d962d3c9ec449
- Possible regressor: https://bugzilla.mozilla.org/show_bug.cgi?id=1583696
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 3•1 year ago
|
||
Same issue when checking with 78.0a1 (2020-05-04).
Comment 4•1 year ago
|
||
Hmm… then maybe the regression range is wrong?
Comment 5•1 year ago
|
||
Cristian, can you double check the regression range?
Comment 6•1 year ago
|
||
Nevermind, comment 0 says 60.9 is affected, so definitely not bug 1583696.
Comment 7•1 year ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is -- (non,) indicating it has has not been previously triaged, the bug's Severity is being updated to -- (default, untriaged.)
The priority flag is not set for this bug.
:MattN, could you have a look please?
For more information, please visit auto_nag documentation.
| Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
Comment 14•1 year ago
|
||
(In reply to f94olivera from comment #13)
This site ==> https://firefox-source-docs.mozilla.org/contributing/how_to_contribute_firefox.html
points to this ==> https://hg.mozilla.org/mozilla-central/
Yeah that's the best place to start.
When you have a local build, try using the browser toolbox to inspect the dialog that has the bug. You should be able to find the CSS and markup that way. Note, you only need a "artifact build"[2], as this is a front-end bug.
Comment 15•1 year ago
|
||
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
Updated•1 year ago
|
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
Updated•10 months ago
|
Comment 21•9 months ago
|
||
Hi, please let me know if you still need to find a regression range for this given comment comment 5
Best,
Clara
Comment 22•9 months ago
|
||
Probably not needed at this point.
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
Comment 25•6 months ago
|
||
Bug 1583696 landed with some style changes to the prompt. Is this fixed now?
| Comment hidden (obsolete) |
Comment 27•6 months ago
|
||
I think this only affects macOS. The alignment was checked for Windows in bug 1641080, and it was reported working.
| Reporter | ||
Comment 28•6 months ago
|
||
Must have been a wrong build on my Windows machine.
Standing corrected, indeed on Windows it is fixed./
Checked and it's the same for both macOS 10.15 as well as 11.0.1.
Comment 29•6 months ago
|
||
Hi,
Can I take this up. I am new here. And it will be my first contribution. I have setup the build in my mac running on OS11. I think this issue will be good for a newbie like me.
Please let me know, and also it will be great if you can give me a little hint about how to fix this.
Thanks,
Kartik Gautam
Updated•6 months ago
|
Comment 30•6 months ago
|
||
(In reply to Kartik Gautam from comment #29)
Please let me know, and also it will be great if you can give me a little hint about how to fix this.
Hi there, I'm not sure what the correct fix for this bug is without doing some investigation. Bug 1583696 landed a new non-XUL-layout impementation of the dialog, which fixed the same issue observed in Windows. But on MacOS, the checkbox has different margins. It could be there is some specific workaround that needs to be removed. A previous incomplete patch for this identified and wanted to remove the top/bottom margin on all checkboxes for the MacOS platform. That's obviously something we should be extremely careful about if that turns out to be the root cause, as it could easily fix 1 problem and break 100 others. So I'm not 100% sure this is actually a good-first-bug any more, but you are welcome to investigate and propose a patch. See my suggestions in comment 14 for how to get started - you'll be using the browser toolbox alongside your study of that area of the codebase to understand the markup and CSS involved.
Clearing old need-info for Sanna/comment 24.
Comment 31•5 months ago
|
||
(In reply to Sam Foster [:sfoster] (PTO thru' Jan 4th) (he/him) from comment #30)
(In reply to Kartik Gautam from comment #29)
Please let me know, and also it will be great if you can give me a little hint about how to fix this.
Hi there, I'm not sure what the correct fix for this bug is without doing some investigation. Bug 1583696 landed a new non-XUL-layout impementation of the dialog, which fixed the same issue observed in Windows. But on MacOS, the checkbox has different margins. It could be there is some specific workaround that needs to be removed. A previous incomplete patch for this identified and wanted to remove the top/bottom margin on all checkboxes for the MacOS platform. That's obviously something we should be extremely careful about if that turns out to be the root cause, as it could easily fix 1 problem and break 100 others.
Okay, actually i also thought of removing top and bottom margin, so i think this bug is not for a newbie like me, Thank You
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 32•1 month ago
|
||
Updated•1 month ago
|
Comment 33•1 month ago
|
||
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/416cce562ac2 Remove top margin from checkboxes on macOS and stop setting vertical-align. r=sfoster
Comment 34•1 month ago
|
||
Backed out for fails on checkboxsize.xhtml
backout: https://hg.mozilla.org/integration/autoland/rev/8d91b346e6b5f5efbe347521f8c1bbcd5c10c88a
failures firstly seen on a later push: https://treeherder.mozilla.org/jobs?repo=autoland&searchStr=os%2Cx%2C10.15%2Cwebrender%2Cdebug%2Creftests%2Ctest-macosx1015-64-qr%2Fdebug-reftest-e10s%2Cr4&revision=a119c6860f429847367a87405cf791da5110ef19
failure log: https://treeherder.mozilla.org/logviewer?job_id=337227649&repo=autoland&lineNumber=25213
[task 2021-04-20T23:20:01.259Z] 23:20:01 INFO - [Parent 1924, Main Thread] WARNING: Someone asked nsILookAndFeel for a color I don't know about: file /builds/worker/checkouts/gecko/widget/cocoa/nsLookAndFeel.mm:374
[task 2021-04-20T23:20:01.260Z] 23:20:01 INFO - [Parent 1924, Main Thread] WARNING: Someone asked nsILookAndFeel for a color I don't know about: file /builds/worker/checkouts/gecko/widget/cocoa/nsLookAndFeel.mm:374
[task 2021-04-20T23:20:01.262Z] 23:20:01 INFO - [Parent 1924, Main Thread] WARNING: Someone asked nsILookAndFeel for a color I don't know about: file /builds/worker/checkouts/gecko/widget/cocoa/nsLookAndFeel.mm:374
[task 2021-04-20T23:20:01.263Z] 23:20:01 INFO - [Parent 1924, Main Thread] WARNING: Someone asked nsILookAndFeel for a color I don't know about: file /builds/worker/checkouts/gecko/widget/cocoa/nsLookAndFeel.mm:374
[task 2021-04-20T23:20:01.310Z] 23:20:01 INFO - REFTEST TEST-UNEXPECTED-FAIL | toolkit/themes/osx/reftests/checkboxsize.xhtml == toolkit/themes/osx/reftests/checkboxsize-ref.xhtml | image comparison, max difference: 218, number of differing pixels: 760
Updated•1 month ago
|
Comment 35•1 month ago
|
||
Actually I think this may not be an issue anymore with Proton except for native checkboxes (checkbox[native]).
Description
•