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:Michael Jansen (kd@michael-jansen.biz)
Date:Mar 17, 2008 12:44:06 pm
List:org.kde.kde-core-devel

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.

That's what i meant with doing the right thing. If the application is absolutely unusable without the global shortcut present a dialog on first start. If i say no "global shortcut please" tell me "sorry no app then" and exit.

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.

I don't think so. No api. KShortcutsEditor could get that functionality. They call KShortcutsEditor and we inform them if the user allowed their shortcuts. If they insist on their shortcuts they can do an exit immediately. No publi API for an developer to enable global shortcuts out of the reason you gave. They would use it all.

Only kdebase is allowed to enable shortcuts by default without user interaction. noone else

Mike