-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maximized apps can't switch to fullscreen #6562
Comments
Looks like this is a Firefox specific issue, works fine on Chromium. |
Well for me it doesn't work even on chromium: fulscrerr.mp4And for the firefox: I just need to enter fullscreen(Hyprland command) and then toggle out of it to non-maximized format and then the Full screen(Youtube) works normally |
Oh, that might have happened for me too, except I don't have a bar, nor window decorations so it looked like actual fullscreen |
I've been running into this too. A workaround to recover Firefox from its broken state without restarting it is to fullscreen (not fake fullscreen) its window through Hyprland (usually a couple of times). |
I've found the problematic code. The fullscreen request is being ignored because the window is already in fullscreen(maximized). Hyprland/src/desktop/Window.cpp Lines 1325 to 1326 in 33a5c8c
|
Then I'd say the change needs to be made in Hyprland, which is an outlier, because fullscreening a maximized window fullscreens it, instead of unmaximizing it in every desktop environment. This would also apply to keybinds, eg.: |
This bug was introduced sometime in June, and the design decision for fullscreen and maximized to behave like this has been around for a very long time. It's possible for this design to be stable, although I agree with you that it is a bad design decision |
Technically, Hyprland doesn't have a stable release. |
Question- I'm confused about what maximizing before fullscreening does that is different from just going straight to fullscreen? I tried to reproduce your issue in a few browsers, but wasn't able to. I couldn't tell a difference whether it was maximized first or not though, so maybe I'm missing something. |
I'm not sure what your question is. |
Inactive Bugzilla issue for reference: https://bugzilla.mozilla.org/show_bug.cgi?id=1727815 |
Some options renamed in configuration.nix. Also hyprland bug where you can't fullscreen on YouTube in Firefox or Firefox will break (hyprwm/Hyprland#6562)
…hanged Also hyprland bug where you can't fullscreen on YouTube in Firefox or Firefox will break (hyprwm/Hyprland#6562)
Bug or Regression?
Bug
System Info and Version
System/Version info
Hyprland, built from branch at commit 1360677478e867034713e5d43d7a8a8f6bf1343d (). Date: 2024-06-17 Tag: , commits: 1360677478e867034713e5d43d7a8a8f6bf1343d flags: (if any)
Description
Maximized applications can't switch to the fullscreen state. I ran into this on Firefox/Youtube. Note that this not only doesn't work, but after the bug happens, the app won't be able to switch to fullscreen at all until I restart it.
How to reproduce
fullscreen, 1
dispatcher)Crash reports, logs, images, videos
showcase_encoded.mp4
The text was updated successfully, but these errors were encountered: