Fwd: Global Shortcuts
Michael Jansen
kde at michael-jansen.biz
Mon Mar 3 23:45:42 GMT 2008
On Monday 03 March 2008 14:25:05 David Faure wrote:
> On Thursday 28 February 2008, Michael Jansen wrote:
> > But if we keep the change its current form it is possible for an user to make
> > each and every action a global action. A programmer has no way to prevent that.
>
> If I want to configure my KDE so that Ctrl+Alt+C executes "new composer window" in kmail,
> whereever the focus currently is, why should a programmer (i.e. the KAction design) prevent
> me from doing that? I don't understand why we would want to limit configurability arbitrarily.
>
> (Yes there other ways of doing the above example, like khotkeys and running "kmail --composer" there,
> but that's just one example, and "kmail --composer" requires command-line knowledge, while setting
> a global shortcut in the shortcut configuration dialog does not)
>
> I thought "globalShortcutAllowed" was more of a setEnabled() call; enabling/disabling the
> shortcut at a given time, with the possibility that a change in the state of the application
> might toggle this later on.
>
Looking at andreas patch i would say's youre understanding was correct. I will fix kcm_keys when andreas commits.
@andreas please inform me when commiting. I guess next monday?
Mike
--
Michael Jansen
Available for contract work ( Development / Configuration Management )
http://www.michael-jansen.biz
More information about the kde-core-devel
mailing list