37 messages in org.kde.kde-core-develRe: Global Shortcuts
FromSent OnAttachments
Michael JansenMar 16, 2008 7:49 pm 
Aaron J. SeigoMar 16, 2008 9:26 pm 
Andreas PakulatMar 17, 2008 2:09 am 
David FaureMar 17, 2008 2:31 am 
Andreas HartmetzMar 17, 2008 5:21 am 
Andreas HartmetzMar 17, 2008 5:29 am 
Anders LundMar 17, 2008 6:37 am 
Michael JansenMar 17, 2008 10:44 am 
Michael JansenMar 17, 2008 10:46 am 
Thiago MacieiraMar 17, 2008 11:03 am 
Andreas PakulatMar 17, 2008 11:04 am 
Eike HeinMar 17, 2008 11:19 am 
Anders LundMar 17, 2008 11:30 am 
Anders LundMar 17, 2008 11:33 am 
Andras MantiaMar 17, 2008 11:45 am 
Michael JansenMar 17, 2008 11:54 am 
Andreas PakulatMar 17, 2008 11:59 am 
Michael JansenMar 17, 2008 12:15 pm 
Michael JansenMar 17, 2008 12:16 pm 
Anders LundMar 17, 2008 12:18 pm 
Andreas PakulatMar 17, 2008 12:33 pm 
Michael JansenMar 17, 2008 12:44 pm 
Anders LundMar 17, 2008 12:58 pm 
Andreas PakulatMar 17, 2008 2:01 pm 
Thiago MacieiraMar 17, 2008 2:02 pm 
Andreas PakulatMar 17, 2008 2:02 pm 
Thiago MacieiraMar 17, 2008 2:04 pm 
Anders LundMar 17, 2008 2:39 pm 
Olivier GoffartMar 17, 2008 3:28 pm 
Andreas HartmetzMar 18, 2008 1:50 am 
Andreas HartmetzMar 18, 2008 1:54 am 
Andreas HartmetzMar 18, 2008 1:59 am 
Michael JansenMar 18, 2008 2:49 am 
Sven BurmeisterMar 18, 2008 7:48 am 
Alex MerryMar 18, 2008 9:15 am 
Christoph CullmannMar 18, 2008 12:44 pm 
Andreas PakulatMar 18, 2008 2:37 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Global ShortcutsActions...
From:Eike Hein (he@kde.org)
Date:Mar 17, 2008 11:19:26 am
List:org.kde.kde-core-devel

Michael Jansen wrote:

No global shortcuts without my consent. Basta. A application is allowed to advertise actions it thinks are appropriate for global shortcuts, and give default values, but after starting the application the first time they arent active. It's opt-in.

There are certain types of applications that have their UI hidden by default, and rely on a global shortcut to reveal themselves. Yakuake is one, Katapult is another, one of the KDE Beagle frontends does it to, iirc. Without that short- cut, the apps aren't usable. IOW, with regard to your "those aren't apps, those are the desktop" reaction to the kwin/Plasma features: Some apps aim for a similar "it's a service of my environment" user experience.

Yakuake presently defaults its Open/Retract action to F12. At first startup, it displays a first run dialog with an info message, along with a KKeyButton that shows the glo- bal hotkey and allows changing it, which is also where the conflict checking takes place. After clicking Ok or Cancel in the first run dialog, the main window rolls out. On subsequent application startups, the main window re- mains hidden until the global shortcut is triggered to re- veal it (the shortcut is shown in a KPassivePopup in the screen corner at subsequent startups, unless it is dis- abled). The KShortcutDialog is only accessible through the main window.

Bottom line: If global shortcuts are made opt-in, that opt- in must be public API so that e.g. said first run routine can register the shortcut as active, even when the user dismisses the dialog with its default value (since the app won't be accessible without it once the window gets closed or during the next app session). If it's public API, how- ever, apps authors are going to do it anyway, pretty much screwing over the opt-in thing.