You are not logged in.
I'm posting about a problem I've already solved for myself because it took a bit of effort to figure out and may have ramifications for other people with similar setups, I've pre-marked this thread as [SOLVED] because of this, please let me know if there's another way that's supposed to be handled I didn't see anything in the rules, etc., about that.
When I updated my system today I discovered that Firefox would no longer go into fullscreen. Now, I've been using XMonad which (by default) doesn't do anything when fullscreen is requested. Adding the XMonad
ewmhFullscreenfunction to my config and recompiling XMonad allowed Firefox to go into fullscreen but now it would attempt to actually go into fullscreen. (That is it would try to take up the entire screen as opposed to the previous behavior in which it would update the UI as if going into fullscreen (e.g. the tab bar would disappear a video would take up the whole window, etc) without the window actually changing size or position)
After some tinkering and browsing documentation I discovered I could fix this by instructing XMonad to declare fullscreen support without actually doing anything using the function
setEwmhFullscreenHooks idHook idHook . ewmhFullscreenin my config instead of just
ewmhFullscreenwhich simply enables fullscreen and then sets the on fullscreen and on unfullscreen hooks to the do nothing hook.
I don't have the time or energy to debug exactly what the trigger is here but my best guess (hence the post title) is that Firefox no longer tries to fullscreen when the WM/DE does not advertise support. If this is the case this issue may impact users of other tiling window managers with "windowed fullscreen" behavior.
Offline
I'm posting about a problem I've already solved for myself because
Don't - this kind of stuff belongs into the wiki. Posting it here is a waste of time where it will also get lost.
But it's effectively https://wiki.archlinux.org/title/Xmonad … fullscreen ?
Offline
Don't - this kind of stuff belongs into the wiki. Posting it here is a waste of time where it will also get lost.
Good to know, I wasn't sure but that makes a lot of sense I'll take a look at the wiki's rules and see if updating the wiki would be appropriate when I have time.
But it's effectively https://wiki.archlinux.org/title/Xmonad … fullscreen ?
Not quite, with just a line like
main = xmonad $ ewmhFullscreen . ewmh $ defAn application (including chrome) will actually go fullscreen (or try to anyway, If you have struts it breaks) whereas the previous behavior with e.g. Firefox was for the window to activate fullscreen mode without changing size (thereby uncluttering UI), a behavior a number of people like, including me.
Something like:
main = xmonad $ setEwmhFullscreenHooks idHook idHook . ewmhFullscreen . ewmh $ defrestores the behavior I want, which I can't find explicitly documented anywhere.
Anyway I haven't edited the wiki (or any wiki) before so I'll move this thread to the Forum and Wiki Discussion board (if that is within my power) or start a new one there otherwise because I'd love some help with how best to do that.
Offline