! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
. confusing in Open Location dialog
Status:
RESOLVED: FIXED

Comments

Description Jérôme Guelfucci editbugs 2007-08-10 23:15:32 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.6) Gecko/20061201 Epiphany/2.18 Firefox/2.0.0.6 (Ubuntu-feisty)
Build Identifier: 

This was reported on Launchpad : https://bugs.launchpad.net/ubuntu/+source/thunar/+bug/76669
by : https://bugs.launchpad.net/~jarnos

In Open Location dialog, typing ./ shows listing of /home/MyUserName/, not the current directory as I would expect.

Reproducible: Always

Steps to Reproduce:
1. Open Thunar
2. In the location bar, type and adress starting by ./


Actual Results:  
The items proposed to complete the adress are from /home/MyUserName/.

Expected Results:  
They should be from the current directory as when doing this in a terminal.
Comment 1 Jannis Pohlmann editbugs 2008-12-10 01:45:52 CET
Created attachment 2024 
Patch to make ./ expand to the current directory of the Thunar window

Personally, I consider this more of a feature request than an actual bug report, but I don't have a strong opinion on how we call it. It requires quite a lot of changes in both Thunar and thunar-vfs to make this work (see the attached patch), so I'd rather wait with implementing it until 1.0 has been released.
Comment 2 Nick Schermer editbugs 2008-12-11 09:18:41 CET
I agree.
Comment 3 Jannis Pohlmann editbugs 2010-11-13 16:42:40 CET
Fixed in master, will be part of Thunar 1.2.

commit cd913e51a2611e847a3dbff048195a22670bed49
Author: Jannis Pohlmann <jannis@xfce.org>
Date:   Sat Nov 13 16:40:17 2010 +0100

    Expand paths with ./ based on the current working directory (bug #3451).
    
    This involves a number of changes but it's an existing bug that was
    reported first in 2007. Paths starting with '.' or './' are now resolved
    based on the current working directory.

Bug #3451

Reported by:
Jérôme Guelfucci
Reported on: 2007-08-10
Last modified on: 2010-11-13

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Attachments

Additional information