Re: file chooser not to display icons



On 31 March 2010 12:27, Jonh Wendell <jwendell gnome org> wrote:
> Em Qua, 2010-03-31 às 14:27 +1300, m c wilkins massey ac nz escreveu:
>> I am trying to open a file in a directory with about 15000 things in
>> it.  It takes forever (10 mins or so).  I do an strace and I can see
>> the following:
>
> Dude, this is an ancient version of gedit and very probably gtk+. There
> were huge improvements in open file dialog in recent versions of gtk+.
> Checkout for instance Federico's blog.
>
> Consider updating your system.

I just tried this program:

-----
#!/usr/bin/python

for i in range (1, 20000):
        file = open ('file%d' % i, 'w')
        file.write ('hello world')
        file.close ()
------

ie. create 20,000 files with some small amount of text in. If I start
gedit and click File / Open, it takes about 2 seconds for the file
browser to appear and about 20 seconds before all the icons have been
drawn. This is gedit 2.28.0 (the one in current Ubuntu) on a
5-year-old desktop PC.

John


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]