Bug 317503

Summary: When "open on click" is on, it's impossible to copy part of a link without it opening
Product: [Applications] konsole Reporter: David Martí <neikokz+kbugs>
Component: copy-pasteAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: a.samirh78, argonel
Priority: NOR    
Version: 2.10.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Martí 2013-03-28 18:17:10 UTC
When you enable "open on click" for links (a option that I think is new to KDE 4.10), it's not possible to copy part of a link without opening it, since the link will be opened on mouse down and not on mouse up as it should.

Reproducible: Always
Comment 1 Kurt Hindenburg 2013-03-29 14:26:36 UTC
I'm not sure what you expect - you can disable that option if you want.
Comment 2 David Martí 2013-03-29 14:27:44 UTC
I expect it to work correctly.
Comment 3 argonel 2013-03-29 20:29:21 UTC
On Fri, Mar 29, 2013 at 10:27 AM, David Martí <neikokz+kbugs@gmail.com> wrote:
> https://bugs.kde.org/show_bug.cgi?id=317503
>
> --- Comment #2 from David Martí <neikokz+kbugs@gmail.com> ---
> I expect it to work correctly.
>

I'm curious to know where you got the expectation that you could
select text in the middle of a clickable link. This has never worked
in any browser I've ever used, instead a click and drag on a link
drags the link. I've seen all sorts of interesting browser behaviour
as a result when trying to click just before or after a link to select
it as text.

If konsole does not drag links when you do this, *that* is the bug.

Regards, Eli
Comment 4 David Martí 2013-03-29 20:34:30 UTC
Though I understand what you mean, all elements on a GUI (and let me stress that: ALL) work on mouse up, and not in mouse down.

For any GUI interface you can see now: click and hold it. Nothing happens. Any action should happen only if you release the button, this is, on mouse up, and not when you hold the button down.

This behaviour Konsole has is wrong because it's unexpected. Forget for a moment the "it shouldn't be possible to select part of a link" part - that thing is just collateral to the main problem.
Comment 5 argonel 2013-03-30 04:07:15 UTC
I guess that depends on how you define "work". Click and hold is the beginning gesture of a drag. There's no precedent anywhere I'm aware of for links that open in one click but allow selection of the the URL as text instead of drag to copy.
Comment 6 Ahmad Samir 2018-03-15 19:54:48 UTC
You can disable "open files and links by direct click", to be able to select the text you want, and press and hold Ctrl and click a link to open with a single mouse click.

I think this addresses the issue of this report. Feel free to reopen if you disagree.

Closing as unmaintained as kde4/konsole is no longer maintained.