In X11, I had this way to put some application (like any video player) in fullscreen and then hit F11. The window restored its size and position, but the content stayed fullscreen, and it was borderless. It is ideal for 4k setup, so I could put several apps fullscreen inside their tiles.
Now in wayland its no longer working. F11, restores the window, but the application itself goes out of fullscreen mode.
Is there any script or configuration to keep this functionality in wayland?
Thanks in advance
I wanted an OSD clock always on top - but the best solution was to use conky.
This means that if I want to use PlexHTPC (player) fullscreen, I had to use the function to maximise it without borders - but NOT go ‘fullscreen’ because nothing can go on top of that.
I’m confused by your language - you say the ‘Window restored’ but ‘the content’ did not? This is not sensible, as the ‘content’ is always inside the window unless the window disappears.
So let’s play with Dolphin… - set F11 to fullscreen and Meta+PgUp to maximise.
On my desktop, I can only see ONE difference. Conky’s always-on-top clock appears on the ‘max’ but not the ‘fullscreen’.
Now the headache - where the f@rk did I find the setting to do that?
kwriteconfig --file kwinrc --group Windows --key BorderlessMaximizedWindows true
That might work
Unless you really need the ‘fullscreen’ status, it’s best just to use maximise with no window border - you don’t lose your menu… but you must remember how to manage without your max/min/close buttons (access the window menu via Alt+F3 and you’ll see actions there, along with shortcuts).
For watching video/tv/movies I generally use PlexHTPC (which goes ‘fullscreen’ when maximised and still shows my conky clock) or mpv (same story - no border, full screen, but not always on top).
As @linux-aarhus said, what you are talking about is not actually “full-screen” functionality, and the reason why applications behave differently on Wayland in this regard is due the difference between how X11 works and how Wayland works.