[Konsole-devel] [konsole] [Bug 318449] New: Selectable region should reflect the (character width of) content to be select

Yichao Yu yyc1992 at gmail.com
Tue Apr 16 14:19:32 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=318449

            Bug ID: 318449
           Summary: Selectable region should reflect the (character width
                    of) content to be select
    Classification: Unclassified
           Product: konsole
           Version: 2.10.2
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: copy-paste
          Assignee: konsole-devel at kde.org
          Reporter: yyc1992 at gmail.com

See detail below. The problem is when doing a selecting, konsole treats all
blank characters (at least space, TAB, and newline) as spaces and therefore
allow to select within a character or empty region.
These behaviors can be very confusing when you think what you have selected is
a single space but it is actually a tab or a newline. It also makes trailing
spaces and newline indistinguishable when selecting (since all of them are
treated the same).


Reproducible: Always

Steps to Reproduce:
1. echo -e '\ta'
2. try selecting the tab
3. try selecting the region after the last character

Actual Results:  
selecting the tab: http://wstaw.org/m/2013/04/16/plasma-desktopRTA475.png
selecting empty region: http://wstaw.org/m/2013/04/16/plasma-desktopAzm475.png


Expected Results:  
For selecting the tab, konsole should respect the width of the character being
selected and therefore only allow selecting the whole width of TAB all at once
(but not selecting each "space" in the TAB individually).
For selecting the empty region, konsole should not treat the region as if there
are anything (i.e. allow selecting each "space" in the region with nothing) and
therefore only allow selecting the whole region after the last character (and
not the last visible character) as a whole which will be interpreted as
selecting the newline.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the konsole-devel mailing list