You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users have requested a way to open the Popout Player window in maximized state initially.
This would most likely be done as a new value for the Size option, since there's not much reason to set a size AND open the window maximized (plus it can't be done in a single windows.create()/windows.update() operation).
However, this will also require an additional option to choose whether the window type is a "popup" or a "standard" window. It seems "popup" windows have the maximize button disabled (at least in some browser/OS combinations), which prevents the Popout Player window from easily being un-maximized. Using a "standard" window allows the maximize button to work normally, but it also renders the full window UI (address bar, bookmark bar, etc.)
For the actual implementation, the window will need to be opened normally first, then positioned, and then finally maximized. This is because:
Creating a window with "maximized" state does not allow setting a position, which means we can't open it on (technically move it to) a secondary monitor.
Window positioning is currently handled via windows.update() AFTER creating the window. I think this was due to a Firefox bug/quirk where supplying position values to windows.create() didn't work.
The text was updated successfully, but these errors were encountered:
* add new option and corresponding logic to maximize popout player window; closes#354
* tweak verbiage of maximized size mode option description
* update Options documentation page and screenshots
Users have requested a way to open the Popout Player window in maximized state initially.
This would most likely be done as a new value for the Size option, since there's not much reason to set a size AND open the window maximized (plus it can't be done in a single
windows.create()
/windows.update()
operation).However, this will also require an additional option to choose whether the window type is a "popup" or a "standard" window. It seems "popup" windows have the maximize button disabled (at least in some browser/OS combinations), which prevents the Popout Player window from easily being un-maximized. Using a "standard" window allows the maximize button to work normally, but it also renders the full window UI (address bar, bookmark bar, etc.)
For the actual implementation, the window will need to be opened normally first, then positioned, and then finally maximized. This is because:
windows.update()
AFTER creating the window. I think this was due to a Firefox bug/quirk where supplying position values towindows.create()
didn't work.The text was updated successfully, but these errors were encountered: