Bug 390827 - Add a window button to enter fullscreen mode
Summary: Add a window button to enter fullscreen mode
Status: RESOLVED LATER
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-21 00:01 UTC by Vlad Zahorodnii
Modified: 2018-02-21 16:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
[Mockup] buttons: close, minimize, maximize, full screen (5.28 KB, image/png)
2018-02-21 00:01 UTC, Vlad Zahorodnii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vlad Zahorodnii 2018-02-21 00:01:02 UTC
Created attachment 110864 [details]
[Mockup] buttons: close, minimize, maximize, full screen

It would be great to have a window button which triggers a window to enter full screen mode.
Comment 1 Martin Flöser 2018-02-21 05:18:48 UTC
From UI perspective I'm not sure whether it is a good button as it is one way. One cannot exit fullscreen in the same way.
Comment 2 Vlad Zahorodnii 2018-02-21 15:40:05 UTC
(In reply to Martin Flöser from comment #1)
> From UI perspective I'm not sure whether it is a good button as it is one
> way. One cannot exit fullscreen in the same way.

There are several ways to solve this:

(a) show titlebar when mouse cursor is near the top of the screen

    Pros:
      - good UX/UI
    Cons:
      - requires a lot changes to KWin
      - it may not match the "Plasma look"

(b) use shortcuts("Make Window Fullscreen" under "System Settings/Shortcuts/Global Shortcuts/KWin")

    Pros:
      - small amount of changes
    Cons:
      - bad UX/UI


Also, there is no way to determine whether a window is fullscreenable, right? (except by using
some heuristics)
Comment 3 Kai Uwe Broulik 2018-02-21 15:46:40 UTC
Also note that forcing the window into full screen will most likely cause problems with the application. For example, if I full screen my browser through KWin it keeps its address bar as it doesn't expect to end up in full screen by external means.
Comment 4 Vlad Zahorodnii 2018-02-21 16:05:38 UTC
(In reply to Kai Uwe Broulik from comment #3)
> For example, if I full screen my browser
> through KWin it keeps its address bar as it doesn't expect to end up in full
> screen by external means.

Oh, I see.

Maybe, in the future, the situation with full screen windows would be better. I close it for now.