Clicking inside address bar does not update PRIMARY buffer (middle-mouse clipboard)

Bug #1625517 reported by Thijs van Dijk
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Won't Fix
Low
Unassigned
firefox (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I click in the address bar once, the entire URL is selected. In most other applications, this is an indicator that my PRIMARY buffer [1] has been updated with the full URL.
However, when I MMB-paste, the previous contents of the buffer appear. This has tripped me up on many occasions.

Steps to reproduce:

1: Open a text editor, or any other recepticle for pasted text.
2: Select some text on a page.
3: Middle-click in the text editor, and verify that it's the text you selected in step 2.
4: Click the address bar in Chromium. The URL is highlighted.
5: Middle-click in the text editor again.
6: Hit Ctrl+z. Frustratedly go back to your browser. Click the address bar once, then again to deselect everything. Then drag or triple-click to select all.
7: Middle-click in the text editor again. Now it works.

Expected results:
In step 5, the full URL of the page you were visiting should have appeared. However, it's still the text you selected in step 2.

I'm using Chromium version 52.0.2743.116 Built on Ubuntu , running on Ubuntu 16.04 (64-bit)

[1]: I'm not shouting, this is what it's called. It's also known as the "middle-mouse clipboard". See also https://tronche.com/gui/x/icccm/sec-2.html#s-2.6.1

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in chromium-browser (Ubuntu):
status: New → Confirmed
Revision history for this message
Maxime Accadia (maxacc) wrote :

This is also an issue with Firefox : see upstream bug https://bugzilla.mozilla.org/show_bug.cgi?id=1653191

Either an agreement is found with Chromium and Firefox developers or I think this should be patched to comply with the standard behavior and what users can expect to happen. I tested nautilus and epiphany and both (correctly IMHO) put address bar text selected with CTRL+L in primary selection.

There is an similar issue with what happens in web forms with TAB and MAJ+TAB (should I file an other bug ?) :

On Firefox : TAB change focus and select text in input but don't put selected text in primary selection.

On Chromium and any standard GTK application : TAB change focus and select text in input and put selected text in primary selection.

Changed in firefox (Ubuntu):
status: New → Confirmed
Changed in chromium-browser (Ubuntu):
importance: Undecided → Low
Revision history for this message
Nathan Teodosio (nteodosio) wrote :
Changed in chromium-browser (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.