<?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>179205</bug_id>
          
          <creation_ts>2008-12-31 13:54:03 +0000</creation_ts>
          <short_desc>In single line entry fields keys combined with CTRL are executed twice</short_desc>
          <delta_ts>2009-01-05 13:00:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>kdeui</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>kgw</reporter>
          <assigned_to name="kdelibs bugs">kdelibs-bugs-null</assigned_to>
          <cc>aacid</cc>
    
    <cc>finex</cc>
    
    <cc>kdedevel</cc>
    
    <cc>modax.reg</cc>
    
    <cc>mpyne</cc>
    
    <cc>pano9000</cc>
    
    <cc>projects.gg.aaron</cc>
    
    <cc>richard.bos</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>690027</commentid>
    <comment_count>0</comment_count>
    <who name="">kgw</who>
    <bug_when>2008-12-31 13:54:03 +0000</bug_when>
    <thetext>Version:            (using Devel)
Installed from:    Compiled sources

Key combinations such as CTRL-V and CTRL-&lt;Left arrow key&gt; and CTRL-&lt;Right arrow key&gt; are all executed twice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>690033</commentid>
    <comment_count>1</comment_count>
    <who name="FiNeX">finex</who>
    <bug_when>2008-12-31 13:58:50 +0000</bug_when>
    <thetext>Confirmed in current trunk r903695.
(reproduced in krunner and kmail too)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>690141</commentid>
    <comment_count>2</comment_count>
    <who name="FiNeX">finex</who>
    <bug_when>2008-12-31 15:45:38 +0000</bug_when>
    <thetext>*** Bug 179212 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>693259</commentid>
    <comment_count>3</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-01-03 18:07:41 +0000</bug_when>
    <thetext>*** Bug 179501 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>693438</commentid>
    <comment_count>4</comment_count>
    <who name="Simon St James">kdedevel</who>
    <bug_when>2009-01-04 00:01:32 +0000</bug_when>
    <thetext>I&apos;ve grabbed some installs from my archives, and I can&apos;t reproduce with trunk at revision 902831, but I can with 903483 and later, so it was probably introduced somewhere between these.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>693562</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Pyne">mpyne</who>
    <bug_when>2009-01-04 06:12:01 +0000</bug_when>
    <thetext>Seems to be related to changes introduced in revision 902991 ( http://websvn.kde.org/?view=rev&amp;revision=902991 ).  The keyReleaseEvent() handler does a lot of actions on each non-action keypress, I suspect somehow that it playing with its internal logic.  I&apos;ll try looking at it to see what&apos;s going on.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>693564</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Pyne">mpyne</who>
    <bug_when>2009-01-04 07:21:45 +0000</bug_when>
    <thetext>SVN commit 905299 by mpyne:

Revert commit 902991 (and a related BC-maintaining commit which is now unnecessary).  This commit
was intended to improve support for accented characters from what I gather but it moved the keyPress
event handler to act on key release instead which is causing bug 179205 (KLineEdits have actions
using Ctrl key duplicated twice).  This is because pasting on key release doesn&apos;t stop Qt from
pasting on key press (and we can&apos;t just disable various Qt actions on key press as that&apos;s really
an implementation detail for Qt IMO).

I&apos;m sure there is a way to implement the accented chars thing that makes everyone happy but I&apos;d
rather fix the more pressing bug at this point.

CCMAIL:ereslibre@kde.org
BUG:179205


 M  +12 -26    klineedit.cpp  
 M  +0 -7      klineedit.h  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=905299
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>693931</commentid>
    <comment_count>7</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2009-01-04 18:18:54 +0000</bug_when>
    <thetext>I&apos;m not sure duplicate Ctrl events are more important than the inhability of writting accents, everybody writes accents, just power users use Ctrl key.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>694060</commentid>
    <comment_count>8</comment_count>
    <who name="Richard Bos">richard.bos</who>
    <bug_when>2009-01-04 20:49:16 +0000</bug_when>
    <thetext>People that work on both linux -and- MS windows will use &lt;ctrl&gt;C and
&lt;ctrl&gt;V.  The latter always works in MS....  So, not only power users will
use the &lt;ctrl&gt; key sequence.  If &lt;ctrl&gt; key sequences are not working people
(migrating) from the other platform will be disappointed, not the best way
to keep people on linux.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>694061</commentid>
    <comment_count>9</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2009-01-04 20:52:45 +0000</bug_when>
    <thetext>People that work on both linux -and- MS windows will use accents, how i&apos;m supposed to write &quot;balcón&quot; without them? If accents are not working people
(migrating) from the other platform will be disappointed, not the best way
to keep people on linux.

That unless the accents thing is for shortcuts with accents, that is something like Ctrl+ó which i can agree on being less important.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>694121</commentid>
    <comment_count>10</comment_count>
    <who name="">kgw</who>
    <bug_when>2009-01-04 22:24:16 +0000</bug_when>
    <thetext>@Albert,
accents do work after the reverted patch, I have looked at the code and it seems to be wrong in the case of accented characters as well which I just confirmed: You can&apos;t enter accented characters with commit 902991 in place.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>694128</commentid>
    <comment_count>11</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2009-01-04 22:30:16 +0000</bug_when>
    <thetext>Good then :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>694143</commentid>
    <comment_count>12</comment_count>
    <who name="Michael Pyne">mpyne</who>
    <bug_when>2009-01-04 22:54:14 +0000</bug_when>
    <thetext>Reported as Qt bug 239918 http://trolltech.com/developer/task-tracker/index_html?method=entry&amp;id=239918</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>694446</commentid>
    <comment_count>13</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2009-01-05 13:00:14 +0000</bug_when>
    <thetext>*** Bug 179695 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>