highlighting on left mouse double click ends at : (colon)
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | GNOME Terminal |
Invalid
|
Medium
|
||
| | gnome-terminal (Fedora) |
Confirmed
|
Undecided
|
||
| | gnome-terminal (Ubuntu) |
Medium
|
Unassigned | ||
Bug Description
I'm not perfectly sure when this regression occurred. I know that 3.14.2-0ubuntu4 did not have the issue, and that 3.16.2-1ubuntu1 does.
Its terribly annoying when copy and pasting links.
I'm not sure how this works or where the change occurred.
When i double click on a url (http://
its selection stops at the ':'. This means i keep pasting people urls that look like /paste.
Note, mouse over the url *does* underline the whole url.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: gnome-terminal 3.16.2-1ubuntu1
ProcVersionSign
Uname: Linux 3.19.0-20-generic x86_64
ApportVersion: 2.17.3-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jun 8 11:11:02 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-01-02 (156 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150101)
SourcePackage: gnome-terminal
UpgradeStatus: No upgrade log present (probably fresh install)
|
|
#8 |
See
bug 1208869
https:/
https:/
URL detection (underlining on mouseover, context menu, ctrl+click) has nothing to do with the word boundary (double click) behavior, these are two unrelated parts of the code. The colon character is not part of the default set of wordchars, see those discussions for rationale. It's unfortunate for URLs, but adds much more to usability elsewhere. And you can configure it for yourself.
| Scott Moser (smoser) wrote : | #1 |
| Changed in gnome-terminal: | |
| importance: | Unknown → Medium |
| status: | Unknown → Confirmed |
| Changed in gnome-terminal (Ubuntu): | |
| status: | New → Confirmed |
| importance: | Undecided → Medium |
| Changed in gnome-terminal (Ubuntu): | |
| status: | Confirmed → Invalid |
| Scott Moser (smoser) wrote : | #2 |
I marked this as Invalid as upstream says it is.
It is configurable via dconf. currently not configurable in the gnome-terminal UI at all.
To show how to do this:
$ dconf read /org/gnome/
['63575bfd-
$ dconf read /org/gnome/
'default'
$ dconf write /org/gnome/
I believe the default is: -,:.;/?%&#_=+@~.
and I just added ':' to the list.
| Changed in gnome-terminal: | |
| status: | Confirmed → Invalid |
| Dan Watkins (daniel-thewatkins) wrote : | #3 |
Scott's workaround doesn't work for me; I don't get any output when I run `dconf read /org/gnome/
I'm reopening this, because I think it will be painful for a _lot_ of Ubuntu users.
| Changed in gnome-terminal (Ubuntu): | |
| status: | Invalid → Confirmed |
| Iain Lane (laney) wrote : | #4 |
Use right click -> Copy Link Address until we get UI.
| Changed in gnome-terminal (Ubuntu): | |
| status: | Confirmed → Won't Fix |
| summary: |
- highlighting on left mouse double click ends at : + highlighting on left mouse double click ends at : (colon) |
| Christian Reis (kiko) wrote : | #5 |
This is a dupe of bug 1501250, but I'm not sure in which direction to duplicate it.
| Christian Reis (kiko) wrote : | #6 |
Hmm, actually, that is for vte, this one for gnome-terminal, but they both use the same underlying mechanism.
|
|
#9 |
The tl;dr on how to fix this:
Get id of default profile:
pid=$(dconf read /org/gnome/
Remove the boundary property of some additional characters:
dconf write /org/gnome/
Where the `@ms` denotes the maybe-string gvariant type.
With that a double-click should select URLs like:
http://
|
|
#10 |
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.
Thank you for reporting this bug and we are sorry it could not be fixed.
Still happening with f24
|
|
#13 |
It's not a bug. It's a faulty expectation from the users.
See my previous comment, follow the links from there, and see also https:/
| Changed in gnome-terminal (Fedora): | |
| importance: | Unknown → Undecided |
| status: | Unknown → Confirmed |


Description of problem:
Double-clicking on a URL displayed in a terminal, such as “https:/ /bugzilla. redhat. com/enter_ bug.cgi? product= Fedora”, only selects “//bugzilla. redhat. com/enter_ bug.cgi? product= Fedora” , and not the scheme part.
Version-Release number of selected component (if applicable):
gnome-terminal- 3.16.2- 1.fc22. x86_64
How reproducible:
Always.
Steps to Reproduce: /bugzilla. redhat. com/enter_ bug.cgi? product= Fedora
1. echo https:/
2. Double-click on “redhat”.
Actual results:
“//bugzilla. redhat. com/enter_ bug.cgi? product= Fedora” is selected.
Expected results:
“http:// bugzilla. redhat. com/enter_ bug.cgi? product= Fedora” is selected.
Additional info:
The expected result is what happened with Fedora 21.