This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Buscar en Ayuda

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

my plugin to start in fullscreen not working in linux

  • 2 respuestas
  • 1 tiene este problema
  • 15 visitas
  • Última respuesta de Shadow110

more options

Hi guys, we are switching from google chrome to firefox, though ran into a few issues.

we are testing a plugin that suppose open firefox window in full screen (this is for a public display). It works just find on macOS and latest firefox. However same plugin act differently on linux it does open a new window without buttons but it's not full screen and still has top header in the window. Plugin is simple and straight forward nothing fancy and based on apis should work:

here is a code part:

browser.windows.create({

       url: my_url,
       state: "fullscreen",
       type: "panel"
     }).then((window) => {
       myself_ = window.id;
     });

am i missing something here with FF and linux ?

btw: did check the about:config - match between linux and macOS, yet does not work on linux as expected.

thanks!

Hi guys, we are switching from google chrome to firefox, though ran into a few issues. we are testing a plugin that suppose open firefox window in full screen (this is for a public display). It works just find on macOS and latest firefox. However same plugin act differently on linux it does open a new window without buttons but it's not full screen and still has top header in the window. Plugin is simple and straight forward nothing fancy and based on apis should work: here is a code part: browser.windows.create({ url: my_url, state: "fullscreen", type: "panel" }).then((window) => { myself_ = window.id; }); am i missing something here with FF and linux ? btw: did check the about:config - match between linux and macOS, yet does not work on linux as expected. thanks!

Todas las respuestas (2)

more options

to follow up with this strange behavior between linux and mac:

API says: type Optional A windows.CreateType value. Specifies what type of browser window to create. Specify panel or popup here to open a window without any of the normal browser UI (address bar, toolbar, etc).

however, on linux, it seems that specifying type - breaks it. if i ommit "type" then window does start and automatically goes to full screen (but someone can get out fairly easy out of it).

Goal here to ger "panel" type window to go to full screen mode in linux.

if i can provide any additional info - please let me know.

more options

HI, that would be above and beyond what Support does I would think as most of us are not coders especially with what you are looking to do. Would suggest asking this in : https://stackoverflow.com/ And google search Github.com to enter into a page like what you are doing to avoid paying.

You may want to debug this in https://www.mozilla.org/en-US/firefox/developer/ You can also try here for Developers : https://support.mozilla.org/en-US/kb/where-go-developer-support

Please let us know if this solved your issue or if need further assistance.