After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 500906 - Duplicate entries when re-selecting Places
Duplicate entries when re-selecting Places
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
: 492218 517292 531494 572674 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-12-01 19:01 UTC by quazgar
Modified: 2009-02-22 21:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (59.15 KB, image/png)
2007-12-01 23:33 UTC, Yevgen Muntyan
  Details
gtk2-filechooser-unix-fix-async-refresh.diff (439 bytes, patch)
2008-03-06 19:59 UTC, Federico Mena Quintero
none Details | Review

Description quazgar 2007-12-01 19:01:53 UTC
Description:

When double-clicking onto a "Places" entry (like bookmarks, Desktop, Home) that is shown already, the entries in the file list are duplicated.  Another double-clicking restores the original content.

This could be confirmed on irc by someone with a recent svn version.

My gtk+-version:  2.12.1, gentoo linux, amd64
Comment 1 Luca Bruno 2007-12-01 21:28:25 UTC
Hello,
can't reproduce this bug, i'm also using gentoo on amd64. Double clicking on places does nothing. What's your nickname on IRC? Mine is "Lethalman"
Comment 2 Yevgen Muntyan 2007-12-01 23:30:16 UTC
I see the bug too. What may matter is filesystem backend, I guess. I am using Gtk's one here. Bug is present in both debian's gtk-2.12.1 and my svn copy.
Comment 3 Yevgen Muntyan 2007-12-01 23:33:06 UTC
Created attachment 100011 [details]
screenshot

Screenshot. Note that there is only one copy of x11, though other entries are duplicated.
Comment 4 Federico Mena Quintero 2008-03-06 19:47:14 UTC
*** Bug 492218 has been marked as a duplicate of this bug. ***
Comment 5 Federico Mena Quintero 2008-03-06 19:50:44 UTC
This has happened before in the Unix backend; it was not purging the old files
when reloading the folder.  I'll take a look.

Just to be sure, though, can you please try this with the latest trunk?  I
committed an important fix for the Unix backend; it wasn't setting the folder
flags correctly when reloading folders.
Comment 6 Federico Mena Quintero 2008-03-06 19:56:58 UTC
If you are on gtk+-2.12.x, try SVN revision 19678.

If you are on trunk, try SVN revision 19677.
Comment 7 Federico Mena Quintero 2008-03-06 19:59:45 UTC
Created attachment 106711 [details] [review]
gtk2-filechooser-unix-fix-async-refresh.diff

This is the patch in question.  It was not meant for this bug, but it's in a related code path, so could you please test it?
Comment 8 Yevgen Muntyan 2008-03-11 22:53:28 UTC
I didn't understand anything about the patch and revisions; but it is fixed in the today trunk, revision 19753.
Comment 9 Federico Mena Quintero 2008-03-12 01:53:30 UTC
Excellent, thanks for confirming :)  Closing the bug.
Comment 10 Yevgen Muntyan 2008-09-10 05:33:51 UTC
*** Bug 517292 has been marked as a duplicate of this bug. ***
Comment 11 Yevgen Muntyan 2008-09-10 05:36:30 UTC
*** Bug 531494 has been marked as a duplicate of this bug. ***
Comment 12 Osmo Salomaa 2009-02-22 21:29:17 UTC
*** Bug 572674 has been marked as a duplicate of this bug. ***