Hi,
I came across a bug that may have gone un-noticed: I have to edit a file and save it repeatedely (20-30 times) in a very big directoty with about 1500 files.
Once the save file dialog opens, the time it takes to show the file names gets bigger every time, it gets to several secons after only 6-10 saves. If I close and reopen Geany, the time goes back to "almost un-noticeable".
Please can someone test this to confirm?
I am using 0.18.1 compiled from geany-0.18.1.tar.gz from the download page. Using Kubuntu 8.04.2 (Freshly re-installed)
Thanks, Alain
On Fri, 26 Feb 2010 18:32:58 -0300 Alain Mouette alainm@pobox.com wrote:
Hi,
I came across a bug that may have gone un-noticed: I have to edit a file and save it repeatedely (20-30 times) in a very big directoty with about 1500 files.
Does the files have some special thing or just a normal folder with 1500 normal, let's say text files?
Once the save file dialog opens, the time it takes to show the file names gets bigger every time, it gets to several secons after only 6-10 saves. If I close and reopen Geany, the time goes back to "almost un-noticeable".
Please can someone test this to confirm?
I am using 0.18.1 compiled from geany-0.18.1.tar.gz from the download page. Using Kubuntu 8.04.2 (Freshly re-installed)
Which version of GTK are you using here?
Thanks, Frank
On Sun, 28 Feb 2010 01:47:22 +0100, Frank wrote:
On Fri, 26 Feb 2010 18:32:58 -0300 Alain Mouette alainm@pobox.com wrote:
Hi,
I came across a bug that may have gone un-noticed: I have to edit a file and save it repeatedely (20-30 times) in a very big directoty with about 1500 files.
Does the files have some special thing or just a normal folder with 1500 normal, let's say text files?
Once the save file dialog opens, the time it takes to show the file names gets bigger every time, it gets to several secons after only 6-10 saves. If I close and reopen Geany, the time goes back to "almost un-noticeable".
Please can someone test this to confirm?
I am using 0.18.1 compiled from geany-0.18.1.tar.gz from the download page. Using Kubuntu 8.04.2 (Freshly re-installed)
Which version of GTK are you using here?
The Save As dialog is a stock GTK dialog only with a few extensions by Geany. But the view of files and folders is completely read and rendered by GTK, we can't influence this. So your whole problem is rather a GTK bug than Geany.
Could you file an appropriate bug report on bugzilla.gnome.org please?
Regards, Enrico
FWIW At one point in the history of LInux large directories were evil, or perhaps naughty. Directory operations in general worked linearly. Once you had enough directory entries to require multiple reads, your bicycle got stuck in the mud.
While file systems have gotten cleverer, you still see this in programs like squid which organize their file cache as a tiered directory, rather than as a single whopper.
In terms of personal file management, I find that I'm limited by linear search. A directory that has enough files that I have to use "ls | less" or run several screens full by in a GUI is too big. 30-100 files and it's time to split.
Might be interesting to watch the memory use of Geany while this slow down occurs. Would also be interesting to know if you are actually swapping.
Anyway: As a workaround until you can convince the GTK people that there is a problem:
Move the file(s) into a working directory. Do your multiple edits/saves there. Move them back.
Sherwood of Sherwood's Forests
Sherwood Botsford Sherwood's Forests -- http://Sherwoods-Forests.com 780-848-2548 50042 Range Rd 31 Warburg, Alberta T0C 2T0
2010/2/28 Enrico Tröger enrico.troeger@uvena.de:
On Sun, 28 Feb 2010 01:47:22 +0100, Frank wrote:
On Fri, 26 Feb 2010 18:32:58 -0300 Alain Mouette alainm@pobox.com wrote:
Hi,
I came across a bug that may have gone un-noticed: I have to edit a file and save it repeatedely (20-30 times) in a very big directoty with about 1500 files.
Does the files have some special thing or just a normal folder with 1500 normal, let's say text files?
Once the save file dialog opens, the time it takes to show the file names gets bigger every time, it gets to several secons after only 6-10 saves. If I close and reopen Geany, the time goes back to "almost un-noticeable".
Please can someone test this to confirm?
I am using 0.18.1 compiled from geany-0.18.1.tar.gz from the download page. Using Kubuntu 8.04.2 (Freshly re-installed)
Which version of GTK are you using here?
The Save As dialog is a stock GTK dialog only with a few extensions by Geany. But the view of files and folders is completely read and rendered by GTK, we can't influence this. So your whole problem is rather a GTK bug than Geany.
Could you file an appropriate bug report on bugzilla.gnome.org please?
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.asc
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Sun, 28 Feb 2010 08:26:49 -0700, Sherwood wrote:
Anyway: As a workaround until you can convince the GTK people that there is a problem:
Move the file(s) into a working directory. Do your multiple edits/saves there. Move them back.
Or you symlinks instead of copying/moving :).
Regards, Enrico