Adding ID To Manifest Causes Visual Glitch On Options Page

With the latest update for my addon, https://addons.mozilla.org/firefox/addon/bb-code-helper/, there is an issue with the select input on the options page.

Prior to upload (while loading the addon temporarily in about:debugging) the options page looked like this:

BB Code Helper – options page - select box working

After upload, the options page looks like this (I have scrolled the top of the select box so that it is clear what is happening:

BB Code Helper – options page - select box broken

After spending a little time looking at things, I was able to reproduce the visual glitch by adding application > gecko > id in manifest.json:

[...]
"application": {
	"gecko": {
		"id": "{id}"
	}
},
[...]

This change alone breaks the options page’s select box. How is that possible?

bump…

I can show steps to reproduce this. Any help would be appreciated.

Well this is definitely a bug. I can’t come up with a reason wh this is happening or how to avoid it. Changing the appearance of the select or putting it in an iframe might do something. You could also see how your options page looks in a normal taband add the open_in_tab option if that helps.

If you want the bug fixed, you should report it on bugzilla.

1 Like

From what I remember this has been around since out of process extensions are a thing and is kind of known, though I’ve never seen a bug for it. There have never been stable STR to my knowledge, so this is related to an extension having an ID.

1 Like

Thanks for confirmation. I didn’t want to start yelling “bug!” just to find out I had done something wrong with the application ID.

I am pretty new to this, but I will give it a shot. Thanks for the reply.

https://bugzilla.mozilla.org/show_bug.cgi?id=1424919

1 Like

Turned out that there is already a bug report for this:

https://bugzilla.mozilla.org/show_bug.cgi?id=1390445

I don’t think it had anything to do with the application ID either…

Thanks for all the help.

1 Like