[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwin
Subject:    Re: Add F11 as full screen shortcut
From:       Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date:       2009-06-01 18:04:55
Message-ID: h01587$460$1 () ger ! gmane ! org
[Download RAW message or body]

(Please do not quote my e-mail address unobfuscated in message bodies. 
That means you, folks on -usability...)

Martin Gräßlin wrote:
> On Monday 01 June 2009 18:34:00 Matthew Woehlke wrote:
>> Louai Al-Khanji wrote:
>>> On Mon, Jun 1, 2009 at 4:59 PM, Jos Poortvliet wrote:
>>>> On Mon, Jun 1, 2009 at 1:50 PM, John Tapsell wrote:
>>>>> For consistency among apps, could F11 be made an alternative
>>>>> shortcut for full screen, in addition to ctrl+shift+f?
>>>> For what it's worth, I've set F11 to be fullscreen in KWin. It will
>>>> give ANY application window fullscreen capabilities by default. Maybe
>>>> an idea to solve this universally?
>>> Some applications have special handling for full screen though, for
>>> example firefox will switch to small icons and slide the toolbars out
>>> of view.
>> Does the X WM spec allow a WM to notify an app when it is being made
>> full-screen? (Or can the app detect this in the geometry-changed event?)
> Yes the specification has a section to fullscreen windows.  There are allowed 
> actions ([1]):
> "_NET_WM_ACTION_FULLSCREEN indicates that the window may be brought to 
> fullscreen state"
> 
> and there is the window state ([2]):
> "_NET_WM_STATE_FULLSCREEN indicates that the window should fill the entire 
> screen and have no window decorations. Additionally the Window Manager is 
> responsible for restoring the original geometry after a switch from fullscreen 
> back to normal window. For example, a presentation program would use this 
> hint."
> 
> And if you have a look at the way it is handled in different applications you 
> can see that applications can react on it. So if you use alt+f3 -> advanced -> 
> fullscreen in Kontact, just the decoration will be removed, while in Konqueror 
> the menu bar is removed as well.

Thanks. I see that konq reacts, but gwenview does not. Does this mean it 
is reasonable to consider it a bug if an application has an internal 
"full screen" mode that behaves differently from being made full-screen 
by the WM?

> [1] http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#id2551927
> [2] http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#id2551694

-- 
Matthew
73% of all statistics are made up on the spot.

_______________________________________________
kwin mailing list
kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic