Bug 199381 - When triple click is used to select a line, the final LF should not be included.
Summary: When triple click is used to select a line, the final LF should not be included.
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: copy-paste (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-08 07:09 UTC by Maciej Pilichowski
Modified: 2017-01-22 19:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Pilichowski 2009-07-08 07:09:52 UTC
Version:            (using KDE 4.2.90)
Installed from:    SuSE RPMs

Line selection with mouse -- you click 3 times and you get line selected.

Currently there is some inconsistency among KDE apps -- some include LF (Konsole, Kate) some not (Konqueror). I prefer the latter behaviour but with Konsole it is another issue -- LF at the end is usually not needed, worse, it is an obstacle. LF is easy to achieve (you have to press enter) but hard to remove (in my case -- ctrl+c, up to bring bash history, delete).

So it would be better to select a sentence (line w/o LF) and if user needs he/she can press enter easily.
Comment 1 Kurt Hindenburg 2009-10-20 03:22:50 UTC
There appears to be no definitive say on what 3 clicks should do.  The other terminal I tried did as Konsole does.  I might agree that it should leave out the LF.
Comment 2 Martin Sandsmark 2017-01-22 19:12:01 UTC
Git commit 62a38933194d2e7a37c7b185b330c190b1eb1d2f by Martin T. H. Sandsmark.
Committed on 22/01/2017 at 19:11.
Pushed by sandsmark into branch 'master'.

Don't include newlines in selection if trimming is on
REVIEW: 129837

M  +3    -2    src/Screen.cpp

https://commits.kde.org/konsole/62a38933194d2e7a37c7b185b330c190b1eb1d2f