Slow gtk filechooser

Bug #242412 reported by Kitt Tientanopajai
4
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: libgtk2.0-0

I'm now using libgtk2.0-0 version 2.12.9-3ubuntu4. I got about 20 sec. stall every time I open/save/save as through gtk filechooser.

I'm not sure if this bug is duplicated/related to:
https://bugs.launchpad.net/ubuntu/+bug/189494
https://bugs.launchpad.net/ubuntu/+bug/218230
https://bugs.launchpad.net/ubuntu/+bug/229539

However, the result from strace suggests that it's about my bookmarks:

  22:42:24.002490 open("/home/kitt/.gtk-bookmarks", O_RDONLY|O_LARGEFILE) = 8 <0.000036>
  ...
  22:42:24.010359 poll([{fd=8, events=POLLIN}], 1, 25000) = 0 <24.999541>

I've found that my bookmarks contain network locations (i.e., sftp, and smb). Removing those locations solves the problem.

Revision history for this message
Dmitriy Geels (dmig) wrote :

Thanks for workaround!

I found out, that problem was caused by line "smb://192.168.4.8/ хлам" in my .gtk-bookmarks file.

Revision history for this message
Dmitriy Geels (dmig) wrote :

That's looks like a DBus problem, just got a message about that bookmark: DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Revision history for this message
Dmitriy Geels (dmig) wrote :

The exact reason: invalid network bookmark (in my case - inaccessible IP) causes gtk filechooser to freeze

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.

Changed in gtk+2.0:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.