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:Andreas Hartmetz (ahar@gmail.com)
Date:Mar 17, 2008 5:21:53 am
List:org.kde.kde-core-devel

Am Montag, 17. März 2008 03:50:00 schrieb Michael Jansen:

Some ramblings over global shortcuts.

I have some problems with the current state of global shortcuts. So i tried to write up what >I< think is correct behavior. Some kind of vision i would say.

The things that annoy me currently

1. I don't care for applications registering global shortcuts without telling me and without giving me the oppurtunity to disable them. I start a application i don't know, accidently press some button combination and something happens. Don't like it. 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.

I am somewhat split on this. I can see the reasons for that but I think the reason against it is stronger: You want users to start using an app right away and if a user walks from one machine to the next it would be nice to have mostly (barring clashes which should be rare) the same shortcuts on both.

2. I don't care for kde shortcut dialogs dictating that having two applications listening to the same global shortcut is a conflict and not acceptable. When i want to configure a conflicting shortcut let me do it. A warning would be ok. Especially when shortcuts are opt in (1). I can imagine use cases were pressing one shortcut should trigger two or three actions and i would want that. And i don't think pointing to khotkeys is the right thing to do in that case.

It wouldn't hurt to let the user say "I know there is a conflict and it's okay". That would require some additional code; I would expect something like of 100 lines of rather involved and hard to debug code to implement it. It simply doesn't seem to be worth it to me but if you can pull it off without breaking anything, more power to you.

3. When running a application i do not care for kde telling me there exists a conflict between global shortcuts when the other application isn't running. Warn me when two applications listen to the same shortcuts at the same time. Perhaps give me the option to suppress that warning for selected shortcuts.

4. I don't like having all shortcuts together in kglobalshortcutsrc. Call it personal preference. I think the belong into the kxmlgui.rc file of the application.

You can "steal" shortcuts from other applications. This usually happens at the user's request. When the application from which you stole the shortcut isn't running you cannot save that decision. The idea seems to break here. It would have been nice to have indeed :(

[snip snip]

David seems to be better qualified to talk about XMLGUI so I keep my mouth shut here.