macOS sheets are no longer anchored to the #navigator-toolbox
Categories
(Firefox :: General, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox70 | --- | unaffected |
firefox71 | --- | unaffected |
firefox72 | + | verified |
People
(Reporter: ntim, Assigned: bdahl)
References
(Regression)
Details
(Keywords: regression)
Attachments
(4 files)
mozregression gives: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=caf55914ccddba34d462a1206530d7868b6c4992&tochange=72c52c0101cfd102b207224646c3007d6872e65c
The sheet is supposed to be anchored to the toolbox, and this is done using this rule: https://searchfox.org/mozilla-central/rev/492214c05cde6e6db5feff9465ece4920400acc3/browser/themes/osx/browser.css#59
Reporter | ||
Comment 1•5 years ago
|
||
Reporter | ||
Comment 2•5 years ago
|
||
nsChildView::UpdateThemeGeometries
is supposed to take care of this: https://searchfox.org/mozilla-central/rev/492214c05cde6e6db5feff9465ece4920400acc3/widget/cocoa/nsChildView.mm#1788
Comment 3•5 years ago
|
||
I think that's the fault of the height: 0
in there. The element needs to have a non-empty rect.
The height was changed from 1px to 0 in https://hg.mozilla.org/mozilla-central/rev/cd43140ba52879d74162066e1531e36ac32df1b8 .
Comment 4•5 years ago
|
||
If you have suggestions for a better API, I'd love to hear them. This really doesn't have to be done with -moz-appearance
. I bet we can find nicer ways to expose the sheet attachment position to the widget. For example, we could have a special attribute on the toolbox or on an element that defines the "content area". Or we could have an attribute on the root element which contains the ID of the toolbox or of the content area element.
Reporter | ||
Comment 5•5 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #3)
The height was changed from 1px to 0 in https://hg.mozilla.org/mozilla-central/rev/cd43140ba52879d74162066e1531e36ac32df1b8 .
Thanks for looking into it!
(In reply to Markus Stange [:mstange] from comment #4)
For example, we could have a special attribute on the toolbox or on an element that defines the "content area". Or we could have an attribute on the root element which contains the ID of the toolbox or of the content area element.
Either of these suggestions sound good to me.
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Moving to backlog as p3 to get it out of the triage list. Please adjust as necessary
Reporter | ||
Comment 7•5 years ago
|
||
[Tracking Requested - why for this release]: Bad regression that needs to be addressed in this release.
Updated•5 years ago
|
Assignee | ||
Comment 8•5 years ago
|
||
I'm not exactly sure what changed, but the changes from bug 149582 are no
longer needed to fix test_queryCaretRect.htm and the position of the
drop down dialog.
Assignee | ||
Updated•5 years ago
|
Pushed by ntim.bugs@gmail.com: https://hg.mozilla.org/integration/autoland/rev/fd4631c7d8cb Revert navigator toolbox sheet anchor changes. r=dao
Comment 10•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Updated•4 years ago
|
Comment 11•4 years ago
|
||
In an attempt to reproduce(for verification), the issue did not appear to reproduce with 72.0a1(2019-11-16) on macOS 10.15.
Any additional details for this?
Assignee | ||
Comment 12•4 years ago
|
||
I'm unsure why this didn't reproduce, but there haven't been any more reports of issues. I'll clear needinfo for now.
Comment 13•4 years ago
|
||
Dropping the qe+ flag, since we cannot reproduce the bug.
Fwiw, the issue did not appear during our recurring test sessions on our macOS devices either so the patch appears to be working.
Comment 14•4 years ago
|
||
@Tim; any chance you could chime in, if the patch has fixed the issue with the current version(s) for you?
Reporter | ||
Comment 16•4 years ago
|
||
(It's supposed to look like the "Before" screenshot, and the wrong result is the "After" screenshot)
Reporter | ||
Updated•4 years ago
|
Updated•2 years ago
|
Description
•