urlbarView is shown below the DevTools's border (splitter) when DevTools are docked to the side
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | unaffected |
firefox69 | --- | unaffected |
firefox70 | --- | verified |
firefox71 | --- | verified |
People
(Reporter: fvsch, Assigned: dao)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
129.85 KB,
image/png
|
Details | |
47 bytes,
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
|
Details | Review |
When DevTools are shown and docked to the side (~15% of DevTools sessions), the urlbarView shows below the DevTools's splitter border.
Firefox 70.0b3 and Nightly are affected.
It looks like both elements belong to the same stacking context and are both z-index: 1;
.
/* browser/themes/shared/urlbar-autocomplete.inc.css */
.urlbarView:not(.megabar) {
position: fixed;
z-index: 1;
…
}
/* devtools/client/themes/splitters.css */
splitter.devtools-horizontal-splitter,
.devtools-side-splitter {
…
position: relative;
/* Positive z-index positions the splitter on top of its siblings and makes
it clickable on both sides. */
z-index: 1;
}
Setting the z-index for urlbarView to any value above 1 seems to fix it.
Reporter | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
This is the same value we now use for the megabar: https://searchfox.org/mozilla-central/rev/878bbf3cb8897a208454df27535f3522ab482cf2/browser/themes/shared/urlbar-searchbar.inc.css#118
Assignee | ||
Updated•5 years ago
|
Comment 4•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Comment on attachment 9092619 [details]
Bug 1578715 - Increase urlbarView's z-index. r=mak
Beta/Release Uplift Approval Request
- User impact if declined: see comment 1
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: dock devtools to the side and type in the address bar
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): trivial fix
- String changes made/needed:
Comment 6•5 years ago
|
||
Comment on attachment 9092619 [details]
Bug 1578715 - Increase urlbarView's z-index. r=mak
Fix for regression in 70, fine for uplift for beta 7.
Comment 7•5 years ago
|
||
bugherder uplift |
Comment 8•5 years ago
|
||
I have reproduced this issue using Firefox 71.0a1 (2019.09.04) on Win 10 x64.
I can confirm this issue is fixed, I verified using Firefox 71.0a1 latest nightly and 70.0b7 build from Treeherder, on Win 10 x64, Ubuntu 18.04 x64 and macOS 10.14.
Updated•5 years ago
|
Updated•3 years ago
|
Description
•