Version: khotkeys -v [shows] Qt: 3.3.2 KDE: 3.2.2 KHotKeys: 2.0 (using KDE KDE 3.2.2) Installed from: SuSE RPMs Compiler: SUSE RPM SUSE RPM OS: Linux You cannot simulate simple input from the keyboard. Example, I want to have the text "thisshouldbereadable" being typed when I press a certain shortcut. In "khotkeys", I enter: T:h:i:s:S:h:o:u:l:d:B:e:R:e:a:d:a:b:l:e And when I press the shortcut, I get: thhissoullddbbeeeraa Not exactly what I wanted... Any ideas? In case of questions: m.zieger@zmi.at, +43 660 4156531 (Austria)
I have the same problems under SuSE 9.1 (KDE 3.2.1) and Gentoo (KDE 3.2.3) here and I haven't found any workaround for it. Why does KHotKeys groups same characters together? Add the moment KHotKeys is only useful for 1:1 replacements, which normally (except for the gestures) is already included in the kde applications itself. Michael
I just wanted to report my problems with the tab character. A:Tab:B gives me "a b" whereas A:Tab:Tab:B results in "ab". This is reproducible for me in KDE 3.2.2. Also A:Tab:B:Tab:C doesn't work as intended (abc). I don't know if I should report this as a separate bug.
Qt bug.
This problem seems to exist in BOTH KDE 3.2 and the newly released KDE 3.3. KHotKeys- Keyboard Shortcut->Keyboard Input (simple) The hot key defined in the example HELLO works seemingly fine, but upon changing the keyboard input settings from Shift+H:E:L:L:O to Shift+H:E:L:L:O:H:E:N:S, the result is grouped, with ANY repeated letters (in this case H and E) grouped together at the first letter's occurrence. The result is: HHeellons Shift+H:E:L:L:O:H:E:L:L produces HHeellllo, with the 4 l's grouped together, the 2 H's, matching the Shift+H in case, and the 2 e's. and Shift+H:E:L:L:O:A:B:C:D:E:F:G:H:I:J:K:L:M:N:O:P:Q produces HHeelllooabcdfgijkmnpq (notice 3 l's and the missing alphabet letters, now rearranged so they are grouped with each letter's respective first occurrence.) Thank you for this sorely needed hotkey program!!!! This problem seems to exist in BOTH KDE 3.2 and the newly released KDE 3.3. KHotKeys- Keyboard Shortcut->Keyboard Input (simple) The hot key defined in the example HELLO works seemingly fine, but upon changing the keyboard input settings from Shift+H:E:L:L:O to Shift+H:E:L:L:O:H:E:N:S, the result is grouped, with ANY repeated letters (in this case H and E) grouped together at the first letter's occurrence. The result is: HHeellons Shift+H:E:L:L:O:H:E:L:L produces HHeellllo, with the 4 l's grouped together, the 2 H's, matching the Shift+H in case, and the 2 e's. and Shift+H:E:L:L:O:A:B:C:D:E:F:G:H:I:J:K:L:M:N:O:P:Q produces HHeelllooabcdfgijkmnpq (notice 3 l's and the missing alphabet letters, now rearranged so they are grouped with each letter's respective first occurrence.) Thank you for this sorely needed hotkey program!!!!
sorry! didn't intend to double the size of my post by replicating the entire body. :-( if u can edit it please do so.
CVS commit by lunakl: Workaround for Qt's broken autorepeat compression. CCMAIL: 84434-done@bugs.kde.org M +3 -0 input.cpp 1.4 --- kdebase/khotkeys/shared/input.cpp #1.3:1.4 @@ -227,4 +227,7 @@ bool Kbd::send_macro_key( unsigned int k ret = ret && XSendEvent( qt_xdisplay(), window_P, True, KeyReleaseMask, ( XEvent* )&ev ); #endif + // Qt's autorepeat compression is broken and can create "aab" from "aba" + // XSync() should create delay longer than Qt's max autorepeat interval + XSync( qt_xdisplay(), False ); return ret; }
This workaround doesn't work for me.
This is still present in KDE 3.4.0 which I am running. Interestingly it seems to work for KWrite but if I use the same long words in KMail it fails. Maybe this is a sort of timing issue?
Tell your Qt packager to include qt-copy patch #0056.
*** Bug 110806 has been marked as a duplicate of this bug. ***
*** Bug 107330 has been marked as a duplicate of this bug. ***