<?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>176273</bug_id>
          
          <creation_ts>2008-11-27 22:04:48 +0000</creation_ts>
          <short_desc>word characters for double click selection does not appear to work</short_desc>
          <delta_ts>2009-03-20 09:31:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konsole</product>
          <component>general</component>
          <version>2.1</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>186048</dup_id>
          
          <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 name="Mike Frysinger">vapier</reporter>
          <assigned_to name="Konsole Bugs">konsole-bugs-null</assigned_to>
          <cc>kjb-temp-2013</cc>
    
    <cc>sibskull</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>671604</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Frysinger">vapier</who>
    <bug_when>2008-11-27 22:04:48 +0000</bug_when>
    <thetext>Version:           2.1 (using KDE 4.1.3)
Compiler:          gcc 4.3.2 x86_64
OS:                Linux
Installed from:    Gentoo Packages

the profile has the option to declare characters which will be used as word breaks when double clicking text.  the default setting defines these as word breaks:
:@-./_~?&amp;=%+#
which is fine except that none of these appear to work

for example, i type this string into my konsole:
aaa:bbb@ccc-ddd.eee/fff_ggg~hhh?iii&amp;jjj=kkk%lll+mmm#nnn

double clicking anywhere in that string results in the entire string being selected

testing with konsole from kde-3.5.10 shows expected behavior: only individual char strings are select (like &quot;hhh&quot; and &quot;iii&quot; rather than the whole thing)

i dont think my locale settings should matter, but i&apos;m using LANG=en_US.UTF8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>699098</commentid>
    <comment_count>1</comment_count>
    <who name="Jeff Long">long</who>
    <bug_when>2009-01-13 23:07:33 +0000</bug_when>
    <thetext>*** This bug has been confirmed by popular vote. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>721133</commentid>
    <comment_count>2</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2009-02-23 00:24:18 +0000</bug_when>
    <thetext>SVN commit 930286 by hindenburg:

Allow double-click selection to check for word boundaries.

BUG: 176273


 M  +11 -3     TerminalDisplay.cpp  
 M  +3 -0      TerminalDisplay.h  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=930286</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>721195</commentid>
    <comment_count>3</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2009-02-23 03:37:56 +0000</bug_when>
    <thetext>SVN commit 930327 by hindenburg:

Allow double-click selection to check for word boundaries.

Backport
CCBUG: 176273


 M  +11 -3     TerminalDisplay.cpp  
 M  +3 -0      TerminalDisplay.h  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=930327</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>725166</commentid>
    <comment_count>4</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2009-03-04 18:29:06 +0000</bug_when>
    <thetext>SVN commit 935236 by hindenburg:

Revert 930327.  Patch actually does word separation.

CCBUG: 176273
CCBUG: 186048


 M  +3 -11     TerminalDisplay.cpp  
 M  +0 -3      TerminalDisplay.h  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=935236</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>725372</commentid>
    <comment_count>5</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2009-03-05 05:12:58 +0000</bug_when>
    <thetext>I thought that the entries in the &apos;mouse interaction&apos; were for chars that were meant to break words.  However, if you read the mouse-over comment, it says &apos;Characters which are considered part of a word when double-clicking to select whole words in the terminal&apos;

So in the posters example the result is correct.

Unfortunately this patch made it into KDE 4.2.1 before I realized my mistake.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>725383</commentid>
    <comment_count>6</comment_count>
    <who name="Mike Frysinger">vapier</who>
    <bug_when>2009-03-05 07:36:49 +0000</bug_when>
    <thetext>indeed, the behavior was correct.  kde-4.x made this situation confusing because it changed the label.  in kde-3, the label was explicit (if verbose):
&quot;Consider the following characters part of a word when double clicking&quot;

other terminals typically define the optional chars as things that *break up* the word, not *join* them.  so simply describing it as &quot;word characters&quot; is too ambiguous.

perhaps adding &quot;join&quot; in there would be better ?  &quot;word join characters&quot; ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>732896</commentid>
    <comment_count>7</comment_count>
    <who name="Andrey Cherepanov">sibskull</who>
    <bug_when>2009-03-20 09:31:38 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 186048 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>