! 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 !
Invalid symlink not handled gracefully
Status:
RESOLVED: FIXED

Comments

Description V p 2007-06-06 07:07:27 CEST
Create an invalid symlink (ln -s toto titi) and try to double-click it : it disappear from the folder listing. Then try to view its properties : the window quickly appears then disappears.

If one wants to change the destination of the link, it's impossible because of this beahviour.
Comment 1 Benedikt Meurer editbugs 2007-06-07 10:33:22 CEST
Works fine here with Gamin/inotify and Gamin/kqueue. You are probably using FAM, which doesn't handle this properly, but tells Thunar, that the file was deleted.
Comment 2 V p 2007-06-07 13:07:50 CEST
I'm using gamin 0.1.8 too and probably inotify (how do you check this ? like below ?).

$ zgrep INOT /proc/config.gz
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
Comment 3 Benedikt Meurer editbugs 2007-06-07 15:31:23 CEST
Tested with gamin 0.1.8, works as expected over here. Maybe you (or your distributor) configured gamin to use polling instead of inotify? See http://www.gnome.org/~veillard/gamin/config.html for an explanation of the configuration. Beside gamin/FAM, there's nothing that could tell Thunar, that a file was deleted (except for the case that you explicitly delete it using the file manager, of course).
Comment 4 Yves-Alexis Perez editbugs 2008-02-27 15:04:53 CET
Using gamin 1.9 with inotify (well at least nothing is configured in gaminrc and I'm working in /home), I can reproduce this.

A debian user experienced this doing another weird testcase [0]. So I guess there's still a problem somewhere (maybe in gamin 1.9, or in debian gamin, I agree, and will investigate).
Comment 5 Yves-Alexis Perez editbugs 2008-02-27 15:07:58 CET
Hmhm anyway, I dont think that's a refresh problem.

The test case is:

cd ~
mkdir trouc
cd trouc
ln -s trouc bleh

Then go with thunar in that directory, right clic on bleh, properties. The properties window opens then closes immediately, then the folder in thunar window appears empty (_that_ may be a gamin problem, but I doubt).

Cheers,
Comment 6 Yves-Alexis Perez editbugs 2009-11-15 18:47:10 CET
Hmh, Jannis, are you aware of this one? :)
Comment 7 Lionel Le Folgoc 2011-03-29 19:31:53 CEST
This seems to be fixed in thunar gio (I can't reproduce with 1.2.1).

Bug #3319

Reported by:
V p
Reported on: 2007-06-06
Last modified on: 2011-03-29

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Attachments

Additional information