AutoFullscreen icon indicating copy to clipboard operation
AutoFullscreen copied to clipboard

New Window not opening in full screen mode

Open sunilkumarba opened this issue 2 years ago • 3 comments

Hi,

When I open a new window either through menu or through the shortcut Ctrl+Shift+N, the new window isn't opened in full-screen mode.

Thank you

sunilkumarba avatar Dec 21 '22 08:12 sunilkumarba

Ok, I tested another add-on (which is derived from your codebase) at https://github.com/insiderser/AutoFullscreen. It fixes this issue. Just need to add an event-listener as below:

browser.windows.onCreated.addListener((window) => {
    setTimeout(() => updateWindow(window), 50)
});

sunilkumarba avatar Dec 21 '22 09:12 sunilkumarba

Is the timeout delay of 50 ms required?

hholst80 avatar Dec 31 '22 09:12 hholst80

Not required I think. But, 50ms delay is acceptable. I have no issues till date.

sunilkumarba avatar Jan 03 '23 09:01 sunilkumarba