Re: GTK+ File dialog hangs

2007-08-08 Thread Michelle Konzack
Am 2007-07-30 12:35:08, schrieb Ron Johnson:
> The closest to that which I have seen is that the larger a directory
> gets, the longer it takes to open a GTK File dialog.  And it just
> burns up the CPU.  If there's more than 12000 files, the File dialog
> will "never" open.

Hmmm, I know there is a limitation in GTK 1.2 which will only handel
arround 2600 files and then there are the scrollbars missing...

With GTK+2.6 I have already opened folder with over 60.000 images
without and problems...

Maybe the Computer has not enough memory to hold the file listing?

I can open 60.000 files on A Sempron 2200+ with 512 MByte memory
on Sarge, Etch, Lenny and Sid.

Thanks, Greetings and nice Day
Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: GTK+ File dialog hangs

2007-08-02 Thread David Fox
On 7/30/07, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:
>
>
> Wow.  I've never had a single directory with 12000 files.  What file
> dialog have you tried that does work?  How do KDE file dialogs handle
> it?



Well, my sylpheed mai-archive directory has almost 33K files in it (I
mostly use gmail these
days anyway). Still, from a shell, it doesn't take a whole long time
on my box (an Athlon 1000) to
list the contents:



[EMAIL PROTECTED]:~/.Mail/temp/inbox$ time (ls -l | wc -l)
32287

real 0m1.134s
user 0m0.744s
sys 0m0.352s

Any "file picker" will take at least that much time - if not a lot more - to
stat() all the files and get the metadata
info, thne it has to present all the data (in fairness, ls -l takes more
time than plain 'ls'.

Opening up krusader and having it show the same directory does take a bit of
time - at least a few seconds, probably
more, although I didn't time it. But at least it doesn't hang.


Doug.
>
>
>


Re: GTK+ File dialog hangs

2007-07-30 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/30/07 12:43, Douglas Allan Tutty wrote:
> On Mon, Jul 30, 2007 at 12:35:08PM -0500, Ron Johnson wrote:
>  
>> The closest to that which I have seen is that the larger a directory
>> gets, the longer it takes to open a GTK File dialog.  And it just
>> burns up the CPU.  If there's more than 12000 files, the File dialog
>> will "never" open.
>>
> 
> Wow.  I've never had a single directory with 12000 files.  What file
> dialog have you tried that does work?

The file picker *used* to handle large directories very well.  It
went south around GNOME 2.16, I think.  :(

>   How do KDE file dialogs handle
> it?

Can't say.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGrlvKS9HxQb37XmcRAoDKAJ9cX0X6Fr5KnoAA5qXOpQ045KQ42ACfTWun
oxDjA2a9laNQoTrUb/Xaqzg=
=akvy
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: GTK+ File dialog hangs

2007-07-30 Thread Douglas Allan Tutty
On Mon, Jul 30, 2007 at 12:35:08PM -0500, Ron Johnson wrote:
 
> The closest to that which I have seen is that the larger a directory
> gets, the longer it takes to open a GTK File dialog.  And it just
> burns up the CPU.  If there's more than 12000 files, the File dialog
> will "never" open.
> 

Wow.  I've never had a single directory with 12000 files.  What file
dialog have you tried that does work?  How do KDE file dialogs handle
it?

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: GTK+ File dialog hangs

2007-07-30 Thread Kumar Appaiah
On Mon, Jul 30, 2007 at 12:35:08PM -0500, Ron Johnson wrote:
> The closest to that which I have seen is that the larger a directory
> gets, the longer it takes to open a GTK File dialog.  And it just
> burns up the CPU.  If there's more than 12000 files, the File dialog
> will "never" open.

And, as I have already pointed out, you have hit the jackpot, since
that was the very problem I faced. :-)

Thanks.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


signature.asc
Description: Digital signature


Re: GTK+ File dialog hangs

2007-07-30 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/30/07 10:57, Kumar Appaiah wrote:
> On Mon, Jul 30, 2007 at 10:41:35AM -0500, Ron Johnson wrote:
>> You *know* that if all you say is "it just keeps doing something and
>> effectively hangs", you'll get fussed at for sending a useless message.
> 
> Right. The window becomes unusable, I am unable to regain control over
> the application, and am forced to kill it. The hard disk shows some
> activity initially, then the process uses the processor time
> sporadically increases and decreases for that application if I leave
> it running. Observed using top.
> 
> I can't describe it better. Sorry if this doesn't help.

The closest to that which I have seen is that the larger a directory
gets, the longer it takes to open a GTK File dialog.  And it just
burns up the CPU.  If there's more than 12000 files, the File dialog
will "never" open.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGriFMS9HxQb37XmcRAlK8AJ4vqD1q+ToxWvQ6zoQZSWqXpxZsxACfREpC
wDli/II8mJAAsBXhS7B2Q24=
=19Pd
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[solved] Re: GTK+ File dialog hangs

2007-07-30 Thread Kumar Appaiah
On Mon, Jul 30, 2007 at 09:40:47PM +0530, Kumar Appaiah wrote:
> OK, here's a narrowed down clue. This happens only when the "File
> System" option is involved. When I do Edit->Preferences and choose
> "File System" as the default save location, it just hangs in a similar
> fashion. And my default save location happens to be "File Systems", so
> it's hanging there (consistent with the earlier observation).

OK, it was my mistake. ntlmaps was spewing files by the hundreds into
/. So, no wonder it was struggling.

Thanks.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: GTK+ File dialog hangs

2007-07-30 Thread Kumar Appaiah
On Mon, Jul 30, 2007 at 09:40:47PM +0530, Kumar Appaiah wrote:
> OK, here's a narrowed down clue. This happens only when the "File
> System" option is involved. When I do Edit->Preferences and choose
> "File System" as the default save location, it just hangs in a similar
> fashion. And my default save location happens to be "File Systems", so
> it's hanging there (consistent with the earlier observation).

And even further, if the default selection on the left is my home
directory, the moment I type "/" in the file name bar, it repeats the
hanging business.

Further hints?

Thanks in advance.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: GTK+ File dialog hangs

2007-07-30 Thread Kumar Appaiah
On Mon, Jul 30, 2007 at 11:57:03AM -0400, Celejar wrote:
> I'm not seeing this when saving a simple file with mousepad (the GTK
> file dialog does take an annoyingly long time to start up, though,
> which I believe has been discussed on the list a while back).

OK, here's a narrowed down clue. This happens only when the "File
System" option is involved. When I do Edit->Preferences and choose
"File System" as the default save location, it just hangs in a similar
fashion. And my default save location happens to be "File Systems", so
it's hanging there (consistent with the earlier observation).

Further hints anyone?

Thanks!

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


signature.asc
Description: Digital signature


Re: GTK+ File dialog hangs

2007-07-30 Thread Celejar
On Mon, 30 Jul 2007 21:07:05 +0530
Kumar Appaiah <[EMAIL PROTECTED]> wrote:

> Dear Debian user,
> 
> I am having this problem with the GTK+ file dialogs that whenever I
> try to save a file in any GTK+ based applications, it just keeps doing
> something and effectively hangs. Is someone else facing the same
> problem?
> 
> I am on sid, by the way.
> libgtk2.0-0 version 2.10.13-1
> 
> Thanks!

I'm not seeing this when saving a simple file with mousepad (the GTK
file dialog does take an annoyingly long time to start up, though,
which I believe has been discussed on the list a while back).

I'm also on Sid with the same libgtk2.0-0

> Kumar
> -- 
> Kumar Appaiah,

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: GTK+ File dialog hangs

2007-07-30 Thread Kumar Appaiah
On Mon, Jul 30, 2007 at 10:41:35AM -0500, Ron Johnson wrote:
> You *know* that if all you say is "it just keeps doing something and
> effectively hangs", you'll get fussed at for sending a useless message.

Right. The window becomes unusable, I am unable to regain control over
the application, and am forced to kill it. The hard disk shows some
activity initially, then the process uses the processor time
sporadically increases and decreases for that application if I leave
it running. Observed using top.

I can't describe it better. Sorry if this doesn't help.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


signature.asc
Description: Digital signature


Re: GTK+ File dialog hangs

2007-07-30 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/30/07 10:37, Kumar Appaiah wrote:
> Dear Debian user,
> 
> I am having this problem with the GTK+ file dialogs that whenever I
> try to save a file in any GTK+ based applications, it just keeps doing
> something and effectively hangs. Is someone else facing the same
> problem?
> 
> I am on sid, by the way.
> libgtk2.0-0 version 2.10.13-1

You *know* that if all you say is "it just keeps doing something and
effectively hangs", you'll get fussed at for sending a useless message.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGrgavS9HxQb37XmcRAiYbAKDBFaogqGZGnR7WjOXEh0ERwFqx/QCfeAmE
hYPV9/V2+bpZiVr4w8M3ATg=
=6Bed
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



GTK+ File dialog hangs

2007-07-30 Thread Kumar Appaiah
Dear Debian user,

I am having this problem with the GTK+ file dialogs that whenever I
try to save a file in any GTK+ based applications, it just keeps doing
something and effectively hangs. Is someone else facing the same
problem?

I am on sid, by the way.
libgtk2.0-0 version 2.10.13-1

Thanks!

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


signature.asc
Description: Digital signature