Can't copy address text in Thunar, using Ctrl+C

Bug #1647359 reported by Mary Sherman on 2016-12-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thunar (Ubuntu)
Undecided
Unassigned

Bug Description

(This bug is reproducible 100% of the times; it also happens on the Yakkety version)

When I try to copy the address text in thunar, instead of it being copied, the URI of the currently highlighted file is.

Example:

- mkdir /tmp/pizzas
- touch /tmp/pizzas/margherita
- thunar /tmp/pizzas
- type Arrow Down key
- type Ctrl+L
- type Ctrl+C

Now in the buffer you will have `file:///tmp/pizzas/margherita` instead of `/tmp/pizzas`.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: thunar 1.6.10-2ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-51.72-generic 4.4.30
Uname: Linux 4.4.0-51-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl wl
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: XFCE
Date: Mon Dec 5 14:19:21 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-07-11 (147 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: thunar
UpgradeStatus: No upgrade log present (probably fresh install)

Mary Sherman (spot9019) wrote :
Mary Sherman (spot9019) on 2016-12-05
description: updated
David Pearson (akxwi-dave) wrote :

Ctrl + C works correct if you don't do the Arrow Down key.

to me it seems that the arrow down, is correctly selecting the margherita file, which in conjunction with with the Ctrl+L (which selects the location bar) resulting in the full path of /tmp/pizzas/margherita being copied and pasted on the ctrl+c and then paste.

Without the arrow down the result is correct /tmp/pizzas/

Now whether this is a bug in the usage of Ctrl+L I cannot say..

Mary Sherman (spot9019) wrote :

That would be a weirdly non-standard behavior.

It's standard that copy/paste operations act on selections operated by the cursor.

Therefore if you for example select, with the mouse, "izza", and type Ctrl+C, you would expect "izza" to be copied into the copy buffer, but it isn't.

Even assuming that this crazy behavior would be appropriate, it still is inconsistent with the mouse copy operation (and this can't be argued, as it's a standard that both actions yield the same results):

- select a string (say, "izza") in the location bar, either with the mouse or the cursor
- type Ctrl+C -> you get "file:///tmp/pizzas/margherita"
- right-click with the mouse and `copy` -> you get "izza"

Mary Sherman (spot9019) wrote :

As of thunar (packages) version 1.6.11-1, this is fixed.

Mary Sherman (spot9019) wrote :

Actually, it's not fixed at all - ignore comment #4.

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

Other bug subscribers