RATIONAL It is hard to discover how to toggle on/off an application fullscreen in fullscreen mode. PROPOSAL For the applications that support fullscreen, an icon is displayed in the titlebar for toggle on this mode. In fullscreen mode, a fake title bar appears when the cursor hit the top of the screen. This fake titlebar has an icon for toggle off fullscreen mode. RELATED ISSUES https://bugs.kde.org/show_bug.cgi?id=413255 https://bugs.kde.org/show_bug.cgi?id=177094 PREVIOUS ART fullscreen mode on macos: https://www.youtube.com/watch?time_continue=19&v=EbkbaQDFQ9U&feature=emb_logo
That would be very problematic for games and virtual machines and such. I'm not convinced we can/should do something on a kwin level.
I think the fullscreen icon need a modification of kwin decorations. The fake titlebar could be implemented in plasma and the application could ask for it. How fullscreen is managed in plasma-mobile ? How the user makes the controls appear when the application is in fullscreen ?
At its core, this is a request to make more consistent and discoverable how you enter and exit full screen mode. The consistency part is doing it in KWin (or elsewhere, if KWin isn't appropriate; maybe KXmlGui?) rather than making every app implement the behavior itself. The discoverability part is showing the titlebar when the cursor is moved to the top of the screen, so there's always a visible method to leave full screen mode. I agree that for games, the discoverability angle is likely to be detrimental. However even games might benefit from the consistency angle, particularly if this meant that the same keyboard shortcut was used to enter and exit full screen mode in all apps. Having the same shortcut do the same thing regardless of the context is beneficial.