Closed
Bug 1702810
Opened 3 years ago
Closed 3 years ago
double shadow on the bookmarks menu popup
Categories
(Firefox :: Toolbars and Customization, defect, P2)
Firefox
Toolbars and Customization
Tracking
()
RESOLVED
FIXED
89 Branch
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox87 | --- | unaffected |
firefox88 | --- | unaffected |
firefox89 | --- | fixed |
People
(Reporter: mak, Assigned: mak)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression, Whiteboard: [proton-toolbar] [priority:2b])
Attachments
(1 file)
If you add the bookmarks button to the toolbar, there's a second border and a shadow around the bookmarks button menupopup.
I quickly made up a few change to solve this, but didn't test it deeply:
diff --git a/browser/themes/windows/customizableui/panelUI.css b/browser/themes/windows/customizableui/panelUI.css
--- a/browser/themes/windows/customizableui/panelUI.css
+++ b/browser/themes/windows/customizableui/panelUI.css
@@ -19,16 +19,21 @@
@supports -moz-bool-pref("browser.proton.contextmenus.enabled") {
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
/* Prevent the global arrowscrollbox rules from replacing our background,
or adding more padding that would misalign our submenus. */
#BMB_bookmarksPopup::part(arrowscrollbox),
#BMB_bookmarksPopup menupopup[placespopup=true]::part(arrowscrollbox) {
background-color: var(--arrowpanel-background);
padding-block-start: 0;
+ border: none;
+ }
+
+ #BMB_bookmarksPopup {
+ -moz-window-shadow: none;
}
}
}
#BMB_bookmarksPopup menupopup[placespopup=true]::part(innerbox) {
/* emulating MozPlacesPopupArrow but without the arrow */
box-shadow: 0 0 4px rgba(0,0,0,0.2);
background: var(--arrowpanel-background);
Updated•3 years ago
|
See Also: → https://jira.mozilla.com/browse/FIDEFE-928
Assignee | ||
Updated•3 years ago
|
Blocks: proton-toolbar
Assignee | ||
Comment 1•3 years ago
|
||
(the second rule should probably be moved out of contextmenus, it was just a quick hack)
Comment 2•3 years ago
|
||
Set release status flags based on info from the regressing bug 1700148
status-firefox87:
--- → unaffected
status-firefox88:
--- → unaffected
status-firefox89:
--- → affected
status-firefox-esr78:
--- → unaffected
Comment 3•3 years ago
|
||
ni'ing Neil, since this looks like fallout from bug 1700148.
Flags: needinfo?(enndeakin)
Comment 4•3 years ago
|
||
The fix mentioned above will remove the dropshadow. The only other change made by bug 1700148 was to add a border-radius.
Flags: needinfo?(enndeakin)
Comment 5•3 years ago
|
||
Thanks, Neil. mak, do you have time to post your patch for review?
Flags: needinfo?(mak)
Updated•3 years ago
|
Keywords: regression
Updated•3 years ago
|
Priority: -- → P2
Updated•3 years ago
|
Whiteboard: [proton-toolbar] → [proton-toolbar] [priority:2b]
Assignee | ||
Comment 6•3 years ago
|
||
I... think so.
Assignee: nobody → mak
Status: NEW → ASSIGNED
Flags: needinfo?(mak)
Assignee | ||
Comment 7•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Summary: the bookmarks menupopup looks bad → double shadow on the bookmarks menu popup
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/206a10c2fae7 Remove double shadow from the bookmarks menu panel. r=NeilDeakin
Comment 9•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Updated•3 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•