PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > GTK+ File dialog hangs
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

GTK+ File dialog hangs

Réponse
 
LinkBack Outils de la discussion
Vieux 30/07/2007, 16h40   #1
Kumar Appaiah
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut GTK+ File dialog hangs

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

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

iD8DBQFGrgWhSd75awtatOcRAoluAJ9oScZ/+fldqCf3/j82MoVdoLQQMgCeJdEK
UGd+sNHLbHp/j50JRaiEBtk=
=A3Hw
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 30/07/2007, 16h50   #2
Ron Johnson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: GTK+ File dialog hangs

-----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)

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 30/07/2007, 17h00   #3
Kumar Appaiah
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: GTK+ File dialog hangs

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 .

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

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

iD8DBQFGrgp/Sd75awtatOcRArk2AJ0Sd6Z31hxyTy9dafgZUq0W3dANYQCbB7 Jc
ZLNZdEltc5P6t6SXc3sVQc0=
=fq2c
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 30/07/2007, 17h00   #4
Celejar
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: GTK+ File dialog hangs

On Mon, 30 Jul 2007 21:07:05 +0530
Kumar Appaiah <akumar@iitm.ac.in> 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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 30/07/2007, 17h10   #5
Kumar Appaiah
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: GTK+ File dialog hangs

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

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

iD8DBQFGrg2HSd75awtatOcRAtsmAJsEt3xOHhPyFz7J4650oF Lbel4R+wCcCQ7r
4WFN6a9Ty+jPFOyPpAsuxwM=
=zYkS
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 30/07/2007, 18h00   #6
Kumar Appaiah
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: GTK+ File dialog hangs

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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 30/07/2007, 18h00   #7
Kumar Appaiah
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: GTK+ File dialog hangs

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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 30/07/2007, 18h00   #8
Kumar Appaiah
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut [solved] Re: GTK+ File dialog hangs

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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 30/07/2007, 18h00   #9
Kumar Appaiah
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut [solved] Re: GTK+ File dialog hangs

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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 30/07/2007, 18h40   #10
Ron Johnson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: GTK+ File dialog hangs

-----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 .


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+ToxWvQ6zoQZSW qXpxZsxACfREpC
wDli/II8mJAAsBXhS7B2Q24=
=19Pd
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 30/07/2007, 18h50   #11
Kumar Appaiah
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: GTK+ File dialog hangs

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

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

iD8DBQFGriQhSd75awtatOcRAmUxAJ9oGoxILQG6hH58sXoXVe CDnyMpVgCdF072
tgt2w3Rl29Z9TAqn8Z2pt18=
=Y6Xk
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 30/07/2007, 20h10   #12
Douglas Allan Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: GTK+ File dialog hangs

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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 30/07/2007, 22h50   #13
Ron Johnson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: GTK+ File dialog hangs

-----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)

iD8DBQFGrlvKS9HxQb37XmcRAoDKAJ9cX0X6Fr5KnoAA5qXOpQ 045KQ42ACfTWun
oxDjA2a9laNQoTrUb/Xaqzg=
=akvy
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 03/08/2007, 05h40   #14
David Fox
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: GTK+ File dialog hangs

On 7/30/07, Douglas Allan Tutty <dtutty@porchlight.ca> 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:



dfox@m206-157:~/.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.
>
>
>


  Réponse avec citation
Vieux 03/08/2007, 05h40   #15
David Fox
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: GTK+ File dialog hangs

On 7/30/07, Douglas Allan Tutty <dtutty@porchlight.ca> 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:



dfox@m206-157:~/.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.
>
>
>


  Réponse avec citation
Vieux 08/08/2007, 18h30   #16
Michelle Konzack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: GTK+ File dialog hangs

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/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)

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

iD8DBQFGufwPC0FPBMSS+BIRArtiAKDJtfKZ9jxQcB4qlemEWa U9Y2SlNwCgsahX
A04gB0Io45pg9i5eyYB+qQ8=
=Ii0R
-----END PGP SIGNATURE-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h10.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,22266 seconds with 24 queries