Closed
Bug 1370083
Opened 8 years ago
Closed 8 years ago
[Photon] (some?) panels have ~4px blank space at the bottom underneath the footer/content
Categories
(Firefox :: Toolbars and Customization, defect, P1)
Firefox
Toolbars and Customization
Tracking
()
Tracking | Status | |
---|---|---|
firefox56 | --- | verified |
People
(Reporter: soeren.hentzschel, Assigned: mikedeboer)
References
(Blocks 1 open bug)
Details
(Whiteboard: [photon-structure][fixed by bug 1354159])
Attachments
(2 files)
As you can see in the attached screenshot there is a gap on the footer of the history subview of the new library button.
Comment 1•8 years ago
|
||
I've also noticed this in the pocket panel. I don't think it's related to the library specifically.
Summary: [Photon] New library button: gap on footer in history subview → [Photon] (some?) panels have ~4px blank space at the bottom underneath the footer/content
Whiteboard: [photon-structure][triage]
Updated•8 years ago
|
Flags: qe-verify+
Priority: -- → P3
QA Contact: gwimberly
Whiteboard: [photon-structure][triage] → [reserve-photon-structure]
Comment 2•8 years ago
|
||
The menu for uBlock Origin has extra space on the top and bottom (see arrows on screenshot). This only happens with Photon enabled. I contacted the developer and here is what he told me:
uBO embed its frame into the Firefox's-provided panel, and that panel has a padding style causing the issue (line 339 in panelUI.css):
/* START photonpanelview adjustments */
#appMenu-popup > .panel-arrowcontainer > .panel-arrowcontent {
padding: 0;
border-radius: 0;
}
photonpanelmultiview panelview {
background: var(--arrowpanel-background);
padding: 6px 0;
}
When commenting out the padding style above (the 6px one), it renders fine. The padding style above is in addition to the padding style seen in one of the ancestor element (line 328 in panelUI.css):
.cui-widget-panel > .panel-arrowcontainer > .panel-arrowcontent {
padding: 4px 0;
}
Meaning the resulting padding is 10 pixels with Photon. I doubt this was meant to be this much. One of the two styles probably needs to be revised.
Comment 3•8 years ago
|
||
Evidently the developer of uBO fixed the menu problem in his latest beta version. He mentioned to me that he could fix it but thought that the real fix is for Mozilla to fix their code per the info above.
Comment 6•8 years ago
|
||
As mentioned in Bug 1373661 I think it is the following:
In chrome://browser/skin/customizableui/panelUI.css#339
photonpanelmultiview panelview {
background: var(--arrowpanel-background);
padding: 6px 0;
}
Comment 7•8 years ago
|
||
(In reply to Jonathan Kingston [:jkt] from comment #6)
> As mentioned in Bug 1373661 I think it is the following:
>
>
> In chrome://browser/skin/customizableui/panelUI.css#339
>
> photonpanelmultiview panelview {
> background: var(--arrowpanel-background);
> padding: 6px 0;
> }
Yes, though it is not super straightforward to come up with a selector that does exactly the right thing here. This doesn't just affect add-on views, you also see this on views that have footers (like the history subview).
I think the padding might want to move to the .panel-subview-body, and we may want to reduce the bottom padding if there's a footer.
Updated•8 years ago
|
Priority: P3 → P2
Whiteboard: [reserve-photon-structure] → [photon-structure]
Comment 9•8 years ago
|
||
Should be fixed on m-c as currently building, probably tomorrow's nightly.
Assignee: nobody → mdeboer
Status: NEW → ASSIGNED
Target Milestone: --- → Firefox 56
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Whiteboard: [photon-structure] → [photon-structure][fixed by bug 1354159]
Updated•8 years ago
|
Iteration: --- → 56.2 - Jul 10
Priority: P2 → P1
Comment 10•8 years ago
|
||
Verified on Windows, Mac, and Ubuntu.
You need to log in
before you can comment on or make changes to this bug.
Description
•