Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

my plugin to start in fullscreen not working in linux

  • 2 trả lời
  • 1 gặp vấn đề này
  • 15 lượt xem
  • Trả lời mới nhất được viết bởi 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!

Tất cả các câu trả lời (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.