为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

firefox leaves fullscreen mode, when resized

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 jonzn4SUSE

more options

Firefox leaves full-screen mode when window manager remaps window to be in a frame and re-sizable.

In the window-manager that I use (KDE plasma), I can ask the window-manager to exit full-screen mode, without telling the window. This allows me to tell a window to be in full-screen mode, while in a framed window. I have attached a screen-shot of chrome showing a youtube video. Both youtube and the chrome are in full screen mode, however the window manager has re-sized it and added decorations (title-bar&frame), and is allowing me to resize, move, minimize, maximize, etc.

This works for every program that I have used (that has a full-screen mode). However it is not working for Firefox. It seems that Firefox is triggering off of the wrong event.

My guess: the window-manager sets NET_WM_STATE_FULLSCREEN to enter full-screen, and would normally clear this attribute to exit full screen. When we exit full-screen, but stay in full-screen mode, the attribute is not cleared. However Firefox is triggering off of something else such as a re-size event.

Use-case: What I am trying to do

  1. Enter full screen mode: browser hiders tab-bar, and address bar, maybe web-page changes layout (e.g. you-tube resizes video player to fill window)
  2. Tell Window-manager to leave full-screen-mode, but not inform browser (or other app). Browser is now still hiding tab-bar, address-bar, site is till showing video in whole-window, but window can be moved and re-sized.

This works for every other app that I have user. (Some apps don't have full-screen-mode, so this does not apply to them. But it works for all that do have it.)

Firefox leaves full-screen mode when window manager remaps window to be in a frame and re-sizable. In the window-manager that I use (KDE plasma), I can ask the window-manager to exit full-screen mode, without telling the window. This allows me to tell a window to be in full-screen mode, while in a framed window. I have attached a screen-shot of chrome showing a youtube video. Both youtube and the chrome are in full screen mode, however the window manager has re-sized it and added decorations (title-bar&frame), and is allowing me to resize, move, minimize, maximize, etc. This works for every program that I have used (that has a full-screen mode). However it is not working for Firefox. It seems that Firefox is triggering off of the wrong event. My guess: the window-manager sets NET_WM_STATE_FULLSCREEN to enter full-screen, and would normally clear this attribute to exit full screen. When we exit full-screen, but stay in full-screen mode, the attribute is not cleared. However Firefox is triggering off of something else such as a re-size event. '''Use-case: What I am trying to do''' # Enter full screen mode: browser hiders tab-bar, and address bar, maybe web-page changes layout (e.g. you-tube resizes video player to fill window) # Tell Window-manager to leave full-screen-mode, but not inform browser (or other app). Browser is now still hiding tab-bar, address-bar, site is till showing video in whole-window, but window can be moved and re-sized. This works for every other app that I have user. (Some apps don't have full-screen-mode, so this does not apply to them. But it works for all that do have it.)
已附加屏幕截图

由ctrl_alt_del于修改

所有回复 (2)

more options

This bug is reported. see Bug 1733103

由ctrl_alt_del于修改

more options

LOL

Your name reminds me of this song I recently came across.

https://www.youtube.com/watch?v=WSbBavB9mTM