Bug 153261 - Mouse: cannot select space just before the last letter in non-last line
Summary: Mouse: cannot select space just before the last letter in non-last line
Status: RESOLVED REMIND
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-02 06:33 UTC by alexsaa
Modified: 2010-09-30 20:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexsaa 2007-12-02 06:33:46 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Gentoo Packages
Compiler:           CFLAGS="-O2 -march=i686 -pipe"
OS:                Linux

When I have a line 'a b c' in konsole, and this line is not the last line, I cannot select the space between 'b' and 'c'. The line is selected up to the end to give ' c\n' instead.

Example:

user@host ~ $ echo -e "a\0040b\0040c"; echo zzz
a b c
zzz
user@host ~ $

Here, I can select the space between 'a' and 'b', the space between 'echo' and 'zzz', but not between 'b' and 'c'.
Also, it is not possible to select 'a b '.
Comment 1 William Hilton 2008-03-02 21:59:37 UTC
Confirmed. Running Konsole 1.6.6 and Konsole 2.0. Simplified command to: echo "1 2". For some reason, you can select "1", "1 2", and "1 2\n", but not "1 ".
Comment 2 Matthew Woehlke 2008-03-03 18:44:22 UTC
Confirmed here also; this seems to be a regression from 1.6.6. It's also unneeded to execute the command, I can reproduce on the prompt line as well. It seems to happen iff the line ends with a space followed by a non-space (i.e. with ' 1', but not ' 12').

Simplest test appears to be typing a single character at your prompt (assuming there is a space after the prompt, otherwise add a typed space), and try to select just the space.
Comment 3 Kurt Hindenburg 2009-04-29 17:11:58 UTC
KDE3 is not supported these days.  Reopen if you reproduce in KDE4.
Comment 4 alexsaa 2010-09-30 20:37:19 UTC
Seems NOT to reproduce with 4.4.5. However, rarely it is not possible now to select " c" in the first or " 2" in the second example. That does not annoy.