Comment 5 for bug 1343081

Revision history for this message
Enrico Weigelt, metux ITS (metux) wrote : AW: [Bug 1343081] Re: chromium: missing "http://" in URL bar on non-ssl http URLs

Folks, I'm talking about classic Xselection (using the "PRIMARY" selection), not xclipboard nor cut buffers.

IOW: that what usually happens when you're selecting text in one window and paste it via middle-button in another one.

The explicit copy (triggered by menu/hotkey) via xclipboard indeed seems to give correct results. But we're talking about different code pathes here.
While the latter seems to fix the broken URL coming from the widget (note: the prefix is also missing in the editline widget), that fixup is simply missing in the first (classic xselection) case.

My thesis is that classic Xselection is handled by a generic editline widget, while explicit xclipboard is done somewhere else.

Anyways, I really wonder why such broken URLs are put into the URL bar in the first place. Thats totally
useless and just causes bugs.

Perhaps someone could give me a hint where to find the responsible code ? I'd like to completely remove that misfeature, which is the root cause here, in the source.

cu
--
Enrico Weigelt,
metux IT consult
+49-151-27565287

----- Reply message -----
Von: "Florian W." <email address hidden>
An: "enrico weigelt" <email address hidden>
Betreff: [Bug 1343081] Re: chromium: missing "http://" in URL bar on non-ssl http URLs
Datum: Mi., Aug. 20, 2014 17:31

The http:// is prepended when using either the "select text -> middle
click" clipboard or the ctrl-c/ctrl-v clipboard. At least for me.

So I'd say this is not a bug, unless the reporter confirms there is some
way to copy/paste the almost complete URL without http://. In fact, this
new feature only removes the ability to copy only part of a URL starting
from (e.g.) "www.", like the hostname part, because http:// appears to
be always included when copying at least the host name.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1343081

Title:
  chromium: missing "http://" in URL bar on non-ssl http URLs

Status in “chromium-browser” package in Ubuntu:
  Confirmed

Bug description:
  Version 34.0.1847.116 Ubuntu 14.04 aura (260972)

  On http URLs (non-ssl), the url bar misses the "http://" prefix.
  This is especially ugly when copying URLs.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1343081/+subscriptions