Closed Bug 1222454 Opened 9 years ago Closed 8 years ago

Not possible to set the width and height of the popup

Categories

(WebExtensions :: Untriaged, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1215025

People

(Reporter: iacido, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webextension-polish][browserAction][pageAction])

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20151103023037

Steps to reproduce:

After install a webextension addon I created, the size works perfectly on Chrome, but when porting it to Firefox, the size of the popup does not work. The HTML and CSS design is using a responsive one, however it is not making it to work as it should.


Actual results:

The width and height of the popup is not being used.


Expected results:

In the manifest should be a way to set up the size (width and height) of the popup or in the HTML page somehow.
Not a security bug.
Group: toolkit-core-security
Blake, I think you've been working on this?
Flags: needinfo?(bwinton)
Nope, but I've been following the WebExtensions stuff, and bug 1190665 looks similar, so I'm going to NI BillM instead.
Flags: needinfo?(bwinton) → needinfo?(wmccloskey)
I just tried this extension and it seems to work well in Nightly. Hugo, can you re-test with Nightly or Developer Edition? If it works there, then the fix will roll out to release in a matter of weeks.
Flags: needinfo?(wmccloskey) → needinfo?(iacido)
Hello Bill, 

I would be more than happy to help to test again. Should I test on Nightly build v45.0a1? or any other specific version?
Flags: needinfo?(iacido)
Hello Bill, 

I tested it and it partially worked on Nightly build v45.0a1. The addon now loads fine even if you close and open it several times, which was not happening before. About the size, it now takes a size yeah, but seem the size it wants to take, for example on the html > body tag I'm setting the style="height:600px" or 400px just for testing and the popup keeps loading same size all the time.

Should I specificy the popup size on the manifest.json now or in a different way inside the HTML code?
Flags: needinfo?(wmccloskey)
Attached file Popup with a height set to 400px (deleted) —
OK, thanks. This needs some investigation. It's probably a platform bug, but we'll need to see.
Flags: needinfo?(wmccloskey)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [webextension-polish][browserAction][pageAction]
Version: 43 Branch → unspecified
Still not resolved. I have checked on firefox version 43.0. The popup is unable to resize according to its contents.Please do the needful asap.
I think this should have been improved by bug 1217129, which calculates the size a bit later in the load cycle. The test add-ons seem to work for me now.

Bug 1215025 should probably fix any remaining issues.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: