<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>84434</bug_id>
          
          <creation_ts>2004-07-03 23:21:13 +0000</creation_ts>
          <short_desc>keyboard input: cannot simulate input of a large word</short_desc>
          <delta_ts>2005-09-29 20:25:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>khotkeys</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>HI</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Monnerie">kde-bugreport</reporter>
          <assigned_to name="Lubos Lunak">l.lunak</assigned_to>
          <cc>balzer</cc>
    
    <cc>ganschow</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>40</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>245655</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Monnerie">kde-bugreport</who>
    <bug_when>2004-07-03 23:21:14 +0000</bug_when>
    <thetext>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 &quot;thisshouldbereadable&quot; being typed when I press a certain shortcut.

In &quot;khotkeys&quot;, 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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245896</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Rolf">mi.rolf</who>
    <bug_when>2004-07-05 12:10:03 +0000</bug_when>
    <thetext>I have the same problems under SuSE 9.1 (KDE 3.2.1) and Gentoo (KDE 3.2.3) here and I haven&apos;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
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>248961</commentid>
    <comment_count>2</comment_count>
    <who name="Gilles Schintgen">gschintgen</who>
    <bug_when>2004-07-15 11:24:03 +0000</bug_when>
    <thetext>I just wanted to report my problems with the tab character.
A:Tab:B gives me &quot;a       b&quot; whereas A:Tab:Tab:B results in &quot;ab&quot;. This is reproducible for me in KDE 3.2.2. Also A:Tab:B:Tab:C doesn&apos;t work as intended (abc). I don&apos;t know if I should report this as a separate bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256568</commentid>
    <comment_count>3</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2004-08-06 18:45:54 +0000</bug_when>
    <thetext>Qt bug.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>262093</commentid>
    <comment_count>4</comment_count>
    <who name="W. H.">bugzilla</who>
    <bug_when>2004-08-24 23:48:05 +0000</bug_when>
    <thetext>This problem seems to exist in BOTH KDE 3.2 and the newly released KDE 3.3.  KHotKeys-   Keyboard Shortcut-&gt;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&apos;s occurrence.

The result is: HHeellons



Shift+H:E:L:L:O:H:E:L:L produces

HHeellllo,

with the 4 l&apos;s grouped together, the 2 H&apos;s, matching the Shift+H in case, and the 2 e&apos;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&apos;s and the missing alphabet letters, now rearranged so they are grouped with each letter&apos;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-&gt;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&apos;s occurrence.

The result is: HHeellons


Shift+H:E:L:L:O:H:E:L:L produces

HHeellllo,

with the 4 l&apos;s grouped together, the 2 H&apos;s, matching the Shift+H in case, and the 2 e&apos;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&apos;s and the missing alphabet letters, now rearranged so they are grouped with each letter&apos;s respective first occurrence.)

Thank you for this sorely needed hotkey program!!!! 
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>262218</commentid>
    <comment_count>5</comment_count>
    <who name="W. H.">bugzilla</who>
    <bug_when>2004-08-25 04:30:19 +0000</bug_when>
    <thetext>sorry!  didn&apos;t intend to double the size of my post by replicating the entire body. :-( if u can edit it please do so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275774</commentid>
    <comment_count>6</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2004-10-12 11:54:02 +0000</bug_when>
    <thetext>CVS commit by lunakl: 

Workaround for Qt&apos;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 &amp;&amp; XSendEvent( qt_xdisplay(), window_P, True, KeyReleaseMask, ( XEvent* )&amp;ev );
 #endif
+    // Qt&apos;s autorepeat compression is broken and can create &quot;aab&quot; from &quot;aba&quot;
+    // XSync() should create delay longer than Qt&apos;s max autorepeat interval
+    XSync( qt_xdisplay(), False );
     return ret;
     }


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>307565</commentid>
    <comment_count>7</comment_count>
    <who name="David Rubio">deifo</who>
    <bug_when>2005-01-28 00:13:49 +0000</bug_when>
    <thetext>This workaround doesn&apos;t work for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>336542</commentid>
    <comment_count>8</comment_count>
    <who name="Carsten Nikiel">arkaga</who>
    <bug_when>2005-04-22 13:33:30 +0000</bug_when>
    <thetext>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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>336544</commentid>
    <comment_count>9</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2005-04-22 13:51:54 +0000</bug_when>
    <thetext>Tell your Qt packager to include qt-copy patch #0056.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365563</commentid>
    <comment_count>10</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2005-08-15 12:51:38 +0000</bug_when>
    <thetext>*** Bug 110806 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>377353</commentid>
    <comment_count>11</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2005-09-29 20:25:21 +0000</bug_when>
    <thetext>*** Bug 107330 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>