Unnecessary scrollbar in webextension’s panel

RESOLVED WORKSFORME

Status

WebExtensions
Frontend
P3
normal
RESOLVED WORKSFORME
2 years ago
28 days ago

People

(Reporter: Vasilica Mihasca, QA [away for an extended period of time - please needinfo addonsqa@softvision.ro], Unassigned)

Tracking

Trunk

Firefox Tracking Flags

(firefox45 unaffected, firefox46 unaffected, firefox47 unaffected, firefox48 affected, firefox49 affected, firefox50 affected, firefox51 affected, firefox52 affected)

Details

(Whiteboard: triaged)

Attachments

(1 attachment)

[Note]
This is a follow-up bug for Bug 1225633

[Affected versions]:
Firefox 48.0a1 (2016-03-29)

[Affected platforms]:
Windows 10 64-bit
Ubuntu 14.04 32-bit

[Steps to reproduce]:
1.Launch Firefox with clean profile.
2.Create the xpinstall.signatures.dev-root pref in about:config and set it to true.
3.Install the following webextension:  https://addons.allizom.org/en-US/firefox/addon/ui-playground/
4.Click on the webextension icon from toolbar.

[Expected Results]:
No scrollbar is displayed in webextension’s panel.

[Actual Results]:
An unnecessary scrollbar appears at the bottom of the panel.
See screenshots:http://i.imgur.com/6YtUIsr.jpg, http://i.imgur.com/wKsKhLi.png 

[Additional notes]:
Mac platform is not affected.

Comment 1

2 years ago
Is this something you've looked at Blake?
Flags: needinfo?(bwinton)
Whiteboard: triaged
No, but I bet we could roll it into the changes for bug 1263709
Flags: needinfo?(bwinton)
Actually, maybe not…  I'm starting to think it might be related to bug 1190662.  (From inspection, the Browser Inspector thinks that the panel's document is 349.667px wide, and I wonder if the ".667" is getting lost somewhere, thus leading to the overflow scrollbar?  Also, would it be okay to change the root to "overflow: hidden", as a fix?)
We already add an extra 1px to the width, and take the ceiling of the result besides. Maybe we should just add another 1px.
This issue still reproduces on Firefox 52.0a1 (2016-10-10), Firefox 51.0a2 (2016-10-10), Firefox 50.0b5 ( 	20161005190701) and Firefox 49.0.2 (20160924030724) under Windows 10 64-bit using the updated webextension (according to Bug 1269081). Setting the tracking flags accordingly.
status-firefox49: --- → affected
status-firefox50: --- → affected
status-firefox51: --- → affected
status-firefox52: --- → affected
Version: 48 Branch → Trunk
Created attachment 8799685 [details]
ui_playground-0.0.1-fx.xpi

I am attaching the updated webextension.

Updated

2 years ago
Component: WebExtensions: Untriaged → WebExtensions: Frontend
Priority: -- → P3
cannot repro
Status: NEW → RESOLVED
Last Resolved: 3 months ago
Resolution: --- → WORKSFORME

Updated

28 days ago
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.