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

Bug #1647359 reported by Saverio Miroddi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thunar (Ubuntu)
New
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)

Revision history for this message
Saverio Miroddi (64kramsystem) wrote :
description: updated
Revision history for this message
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..

Revision history for this message
Saverio Miroddi (64kramsystem) 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"

Revision history for this message
Saverio Miroddi (64kramsystem) wrote :

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

Revision history for this message
Saverio Miroddi (64kramsystem) wrote :

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

no longer affects: thunar
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.