Cannot copy-paste a link

Bug #1169255 reported by Samu Nuutamo on 2013-04-15
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Terminal
Fix Committed
Low
Unassigned

Bug Description

When I try to select a URL from the terminal the click is always registered as if I wanted to open the link. What I think should be changed is the way the click event is handled. When link is clicked it should be opened only 1) on mouseup event and 2) if the cursor has not moved from mousedown position. If the cursor is moved between mousedown and mouseup the text should be selected instead.

Related branches

David Gomes (davidgomes) on 2013-04-15
Changed in pantheon-terminal:
assignee: nobody → elementary UX Team (elementary-design)
David Gomes (davidgomes) on 2013-04-16
Changed in pantheon-terminal:
status: New → Confirmed
importance: Undecided → Low
Daniel Fore (danrabbit) on 2013-05-13
Changed in pantheon-terminal:
assignee: elementary UX Team (elementary-design) → nobody
Changed in pantheon-terminal:
assignee: nobody → Gerald Javier Padilla (gpadillaq)
Changed in pantheon-terminal:
assignee: Gerald Javier Padilla (gpadillaq) → nobody
assignee: nobody → Gerald Javier Padilla (gpadillaq)
Changed in pantheon-terminal:
assignee: Gerald Javier Padilla (gpadillaq) → nobody
RabbitBot (rabbitbot-a) on 2017-04-20
Changed in pantheon-terminal:
status: Confirmed → Fix Committed
Daniel Fore (danrabbit) on 2017-04-20
Changed in pantheon-terminal:
milestone: none → juno-beta1
Samu Nuutamo (carbon) wrote :

Hello and thanks for the fix. There is one issue though: if the link is clicked and the cursor is moved after the button has been released, text will be selected while the browser opens. There is around 1 sec window after clicking when the text is still selected. This causes text to be highlighted by accident almost every time I click a link :(.

I'm wondering if the call to open the url blocks while the binary is loading and this causes the text to be erroneously selected. On the other hand it didn't matter if the browser was already open - the issue was still there.

My terminal is in version 0.4.1-0~r960+pkg48~ubuntu0.4.1 and I'm using chromium as the browser.

Carl Groner (c.groner) wrote :

Good catch. I think I have the fix for this and will submit a pull request for this on the github project.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers