Version: (using Devel)
Installed from: Compiled sources
Multi-key shortcuts does not work in KDE4. If I assign for example alt+space,x to some action, it is triggered on alt+space.
I also don't get that nice menu top left which lists multi-key shortcut after typing first part of a multi-key shortcut.
Multi-key shortcuts actuality work in applications, but they do not work in khotkeys, kwin and other components.
> Multi-key shortcuts actuality work in applications
How are they supposed to be entered then? I can't find a way to do this.
For Ctrl+A,C: hold ctrl and press A and then C while holding Ctrl.
For A,B,C: just press them consecutively fast.
It's less intuitive then before, I know :-(
Hi, I would like to have some information to be sure to understand correctly :
Single and Multi-key shortcuts are working only inside apps.
It means that we cannot "launch" an application using a multi shortcut ?
Will this functionality be added in the future ?
I was used with my CTRL-ALT-R + [A-Z] to launch all my apps, so now I must use my mouse... Eeeeeek ;-)
Is the following behaviour linked to the same bug ?
I can now assign a single/multi-key shortcut to one menu element (application) (thank you for the multi-key one, because it is new for me) but it does not work neither.
I guess that it is the same problem : kwin does not catch it ?
*** This bug has been confirmed by popular vote. ***
@Etienne Hilson: kwin shortcuts are global shortcuts - always afaik
@all: global shortcuts can only be single shortcuts for now. with kde 4.2 you are no longer able to record a multi key shortcut because we can't support them - currently?.
@all: multi key application shortcuts should work nicely in kde 4.2 - shameless plug: http://michael-jansen.biz/blog/mike/2008-11-23/kde-42-changes-kkeysequencewidget .
So only the wish for multi key global shortcuts should be left from the initial bug report. right?
please reopen a wish for that one. i will close this bug if noone disagrees.
Well, when I reported this I mostly had global shortcuts on my mind because I currently use multi key shortcuts only with global shortcuts. I don't see any sense in closing this and opening another one which would have only one word added in the title (Multi-key *global* shortcuts are broken in KDE4).
Also note this part:
"I also don't get that nice menu top left which lists multi-key shortcut after typing first part of a multi-key shortcut."
*** Bug 182507 has been marked as a duplicate of this bug. ***
This is currently a blocker for kde4 migration for me. I use khotkeys multi-key shortcuts HEAVILY in 3.5. My only other alternative, which I'm investigating, would be switching to a non-kde hotkey applet.
Just a comment: it seems KDE4 tries to reinvent the wheel for things which never raised any problem.
Developers usually love reinventing the wheel, much more than users.
Assigning the Meta key as shortcut is now a nightmare, sometimes works, sometimes not.
Sometimes needs "xmodmap -e 'keycode 133=Menu'" in .baschrc, sometimes not.
(Meta key was code 115, now 133, for the same keyboard, don't know why).
It's now time to nail down such basic issues, at least for people who expect to switch one day from KDE3 to KDE4.
Keyboard settings are spread in so different places that it became unmanagable, to not say unusable, unreliable.
Re comment #10, FWIW, I worked around the blocker, at least temporarily, by remapping most of my multi-key sequentials to multi-key-modifiered (using meta as the modifier, since it's the one still generally free of application, etc usage). But that's a workaround not a permanent solution.
Re comment #11:
Comment 7 says they are unable to support global multi-key, at least presently. It doesn't say why, I wish it did, but it sounds to me like it's a qt issue and therefore the trolls (umm... nokies? LOL! Just realized that nick actually fits if qt4's the problem, no-keys!), in which case the KDE devs would have little to do with it except having to deal with the complaints due to the very real regression and its effects on people who really did actually use and depend on global multikey functionality on their kde desktop.
Regardless, the fact is it's still a regression from kde3. Something worked. Now it doesn't. That's a regression. And ther'e people that are going to consider kde4 broken until the feature works again as they've come to depend on, because until it's fixed, kde4 IS broken for those users in that regard, and no "I'm tired of hearing how broken kde4 is, let's all party and pretend it's working great", is going to fix it. A case of the emperor has no clothes, anyone?
Meanwhile, on the meta key thing, if you upgraded to kde4 by upgrading distributions as most do (IOW, unliess you DID install kde4 on the same base platform including xorg that you had, previously, no updates, in particular no X updates or keyboard to evdev driver switches at the same time), the keycode remapping is very likely a combination of upstream xorg and your distribution switching to xorg's evdev driver from the previous keyboard driver. Unfortunately, the evdev developer apparently had a serious case of not-invented-here and couldn't simply take the existing codes from the keyboard driver, so whenever distributions and their end users switch to evdev, it causes issues such as you mention.
Unfortunately that's not the first time X has broken keyboard mappings, either, especially for the "extra" keys common on media/internet/etc keyboards, which seem to get remapped or renamed in /some/ form or another, every few releases. Every time, I have to spend time finding a model name that xev and khotkeys actually detects the hotkeys on, all over again, then remapping all my hotkeys to the new names. As you said, it's a nightmare, but that bit isn't kde's nightmare, and unlike kde4's entirely broken global multikey hotkeys, with some reconfig it always works again.
Unfortunately, that still leaves people scrambling to find a workaround (because there's no fix anywhere in sight) to something that shouldn't have been a regression in the first place, at least not by the time kde4 was declared fit for normal usage, which with 4.2, it was.
So does anyone have any suggestions about non-kde solutions? What about xbindkeys? What about xhotkeys? Others?
(FWIW, a google finds manpages for the above, which suggest that xhotkeys, like khotkeys4, only understands multiple-modifiers-single-key. xbindkeys, OTOH, appears to be very extensible as it uses the guile scheme interpreter for scripted extensions. I've not looked into it far enough yet to know whether that makes base configuration too complex for those who can at least manage an ordinary text config file, or not, but it does look like at least the ability to edit plain text config files will be needed for "non-trivial" actions such as (modifier)-double-click and timed-click mouse actions, or key combinations, as specifically mentioned in the manpage.)
*** Bug 216369 has been marked as a duplicate of this bug. ***
For me current behavior qualifies as a bug, not a wish: I am able to enter multiple key combination for global action, but it is lost when saving. This at least *looks* as a bug.
I readded this as a wish: Bug 217833.
*** This bug has been marked as a duplicate of bug 217833 ***