[Interest] Standard QKeySequence for "Fullscreen"

Till Oliver Knoll till.oliver.knoll at gmail.com
Sat Apr 21 11:56:18 CEST 2012


Am 21.04.12 01:46, schrieb Nikos Chantziaras:
> On 20/04/12 12:33, Till Oliver Knoll wrote:
>> ...
>> I don't know whether this is already taken care of, but - where
>> applicable - the standard keys should also consider user settings
>> which might have changed these standard keys
>
> This is not changeable.  Like most HIGs, the shortcuts are a
> recommendation in all platforms.  You are not *required* to use it, but
> if you do, it's best to use those.

Last time I checked under KDE (the one coming with Kubuntu 10.10 - was 
that 4.5?) - and that is a minute ago ;) - there /is/ a user settings 
panel, in my german localised version it sais

   Systemeinstellungen
     -> Kurzbefehle und Gestensteuerung
        -> Standardkurzbefehle

("Standard shortcuts").

And you /can/ change the shortcut to Copy (normally CTRL + C), Paste, 
Print, New, Next Page, ... etc.

Just as indicated by Konstantin Tokarev in the previous thread, where 
upon you replied "You are confusing KWin's shortcut settings with 
application shortcut recommendations."

Now I think you are confusing things: These "standard shortcuts" (in 
their default settings) follow off course their own KDE HIG 
recommendations, but the user is free to change them. And every 
well-behaving KDE application (which refers to these "standard 
shortcuts") then automagically uses those user-defined shortcuts. That's 
a fact.

Now the current suggestion is that also Qt does the same with the 
standard QKeySequences (*): instead of "hard-coding" those values to the 
current HIG recommendations only, check IF there is a 
(platform-dependent) setting and take those user-defined shortcuts 
instead (where applicable).


Now when you say "this is not changeable", then this is true for OS X, 
where indeed I haven't found such an equivalent setting dialog (the 
shortcuts you can define in the Mac setttings are for global 
desktop-level features only such as Exposé, Minimise Windows etc.). Same 
probably on Windows, but I could imagine that at least on Gnome such 
settings would exist, just like on KDE.


Cheers, Oliver

(*) I haven't actually tried to a) change such a standard shortcut under 
KDE and b) run a Qt application and see whether the corresponding 
standard QKeySequence would actually change already - maybe we're 
talking about a feature which already exists? :)




More information about the Interest mailing list