Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

my plugin to start in fullscreen not working in linux

  • 2 件の返信
  • 1 人がこの問題に困っています
  • 15 回表示
  • 最後の返信者: 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!

すべての返信 (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.