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

firefox leaves fullscreen mode, when resized

  • 2 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi 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.)
Đính kèm ảnh chụp màn hình

Được chỉnh sửa bởi ctrl_alt_del vào

Tất cả các câu trả lời (2)

more options

This bug is reported. see Bug 1733103

Được chỉnh sửa bởi ctrl_alt_del vào

more options

LOL

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

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