URL gets truncated when ctrl + clicking if partly visible

Bug #1642568 reported by Sebastian
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNOME Terminal
Confirmed
Medium
gnome-terminal (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Reproducing
-----------
1. Start gnome-terminal.
2. Type enough to activate scrolling (eg. hit enter about 24 times for default size).
3. Enter enough characters to get almost to end of line, then type an URL, e.g. "https://www.ubuntu.com/". The line should wrap somewhere in the URL.
4. Scroll up one line, so that only the first part of the URL is visible, e.g. "https://www.u".
5. Ctrl + click the URL.

Expected Result
---------------
Web browser opens with the complete URL, e.g. "https://www.ubuntu.com/".

Actual Result
-------------
Web browser opens with the truncated URL, e.g. "https://www.u".

Further Information
-------------------
The bug does not occur if the second line (with the last bit of the URL) is visible. I tried with both Firefox (49.0.2) and Chrome (54.0.2840.90) with the same result.

Versions
--------
$ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04

$ apt-cache policy gnome-terminal
gnome-terminal:
  Installed: 3.18.3-1ubuntu1
  Candidate: 3.18.3-1ubuntu1
  Version table:
 *** 3.18.3-1ubuntu1 500
        500 http://se.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: gnome-terminal 3.18.3-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-47.68-generic 4.4.24
Uname: Linux 4.4.0-47-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: GNOME-Flashback:Unity
Date: Thu Nov 17 12:03:58 2016
InstallationDate: Installed on 2016-04-08 (223 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: gnome-terminal
UpgradeStatus: Upgraded to xenial on 2016-04-22 (208 days ago)

Revision history for this message
Sebastian (berlin-sebastian) wrote :
description: updated
Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in gnome-terminal (Ubuntu):
status: New → Confirmed
Paul White (paulw2u)
tags: added: bionic
Changed in gnome-terminal:
importance: Unknown → Medium
status: Unknown → Confirmed
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.