Options_ui on Android


#1

This bug
https://bugzilla.mozilla.org/show_bug.cgi?id=1302504
adds options_ui to Android.

It’s marked ‘verified fixed’ in Fx56 but it needs reopening. I don’t have authority to do that AFAICS. Or maybe I misunderstand the process, Can somebody take with that authority take a look?

Time is running out to get this done by Fx56.


(Eric Jung) #2

I’ve reopened it, but 56.0a1 is already Nightly, so there’s no way any more changes to that are going to make 56.


#3

Thanks Eric.
57 maybe.
I know I’m not the only one with webextensions depending on this.


(Eric Jung) #4

Dave, please follow this new bug instead.


#5

@ericjung1

Any idea when the open_in_tab: true is going to be supported?

https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/options_ui#Syntax

Otherwise extensions have to programmatically open the options menu in a new tab using browser.tabs.create()


(Eric Jung) #6

Any idea when the open_in_tab: true is going to be supported?

It is already supported. I tried it like this (in manifest.json):

"options_ui": {
    "page": "options.html"
    "open_in_tab": true
}

Click your addon’s preferences button in about:addons to see it.


(Eric Jung) #7

Any idea when the open_in_tab: true is going to be supported?

You can also see a full example here. The example opens it from the browser action.


#8

@ericjung1

I don’t see one on Cookie AutoDelete which does have open_in_tab: true.


(Eric Jung) #9

I don’t see one on Cookie AutoDelete1 which does have open_in_tab: true.

I do. I installed the add-on and see the options UI in a new tab when I go to about:addons and click the preferences button. Specifically, this URL is opened in a tab:

moz-extension://6a583a80-f8e9-2048-83b4-bfc1fa51021e/settings/settings.html. The content is mostly release notes.

I’m using Firefox 56.0a1 (2017-08-01) (64-bit).


#10

I’m not seeing a preference button.


#11

Android problem, like mine.
On Nexus 9 tablet, 56.0a1 20170730 I don’t see options on Cookie Autodelete - when first installed. And no pref button.

Subsequently I see MY options - which is this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1380575

That and this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1382572 are probably not in that build.


#12

The two bugs in my previous post do seem to be fixed. (The first seems absent in 57, anyway.)

These two are open and currently unassigned:

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

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

@Kenny_D Is there a bug for your open_in_tab support? I might use that instead, but it’s not worth the work-around for me


#13

Is there a bug for your open_in_tab support? I might use that instead, but it’s not worth the work-around for me

Not yet, but I’m not sure since @ericjung1 says there is support for that, but I definitely don’t see the button at all.


#14

Nor do I. I would raise one if I were you.


#15

I’ll see what @ericjung1 has to say first.


#16

Here’s all I see in Nightly 57


(Niklas Gollenstede) #17

Yupp. Same here. I do, however, see the inline options page of one of my own extensions.


#18

I just filed:

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