! 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 !
constant refreshing doubles files
Status:
CLOSED: FIXED

Comments

Description sodi 2006-02-13 17:36:21 CET
If you hold down F5 (refresh constantly ~10 sec, time depends on system I guess)
you'll get everything double (or more) after some time. Using latest svn and gamin.
Comment 1 Benedikt Meurer editbugs 2006-02-13 18:36:22 CET
Fixed with revision 19858.

2006-02-13	Benedikt Meurer <benny@xfce.org>

	* thunar/thunar-folder.c(thunar_folder_reload): Properly cancel any
	  previous job to make sure it will terminate as soon as possible.
	  Bug #1457.


Comment 2 sodi 2006-02-14 12:33:10 CET
It it MUCH worse in latest svn now
Comment 3 Benedikt Meurer editbugs 2006-02-14 12:39:37 CET
Hm, I cannot reproduce that anymore. Not even on a slower machine.

Any hints what causes this to happen? I.e. does it happen only on large/small
folders? etc.
Comment 4 sodi 2006-02-14 12:55:03 CET
It happens on small folders as well as big ones (like /usr/bin). Tried cleaning
old version with make uninstall, didn't help either. 
Using gamin 0.1.7-3 (debian) but I have HAL 0.5.6-2 also installed. 
Compiled using gcc (GCC) 4.0.3 20060128 (prerelease) (Debian 4.0.2-8) and using
flags -pipe -march=pentium2. 

Any way to debug it? Tried running gdb gaim, but it says program exited normally
and I get no backtrace...
Comment 5 sodi 2006-02-14 13:24:35 CET
Ah, I'm missing hal devel packages, so I guess Thunar is only using gamin. And
gdb problem was also my mistake, I'll try compiling with full debug and maybe
I'll get some reasonable bt.
Comment 6 Benedikt Meurer editbugs 2006-02-14 13:28:02 CET
Created attachment 443 
First try

Please try this patch and check if it solves the problem.
Comment 7 sodi 2006-02-14 14:29:12 CET
yep, that fixed it finally
Comment 8 Benedikt Meurer editbugs 2006-02-14 14:31:41 CET
Committed with revision 19867.

2006-02-14	Benedikt Meurer <benny@xfce.org>

	* thunar/thunar-folder.c: Properly merge the current files with the
	  previous files when reloading the folder content. This finally fixes
	  bug #1457.


Bug #1457

Reported by:
sodi
Reported on: 2006-02-13
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
0.2.1svn

Attachments

First try (1.63 KB, patch)
2006-02-14 13:28 CET , Benedikt Meurer
no flags

Additional information