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 739452 - Multiple duplicate shortcuts in PlacesSidebar in File Chooser
Multiple duplicate shortcuts in PlacesSidebar in File Chooser
Status: RESOLVED DUPLICATE of bug 737679
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
3.14.x
Other Windows
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2014-10-31 15:13 UTC by S Hatford
Modified: 2014-10-31 15:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot - Filechooser after shortcut added (176.45 KB, image/png)
2014-10-31 15:13 UTC, S Hatford
Details
Screenshot - Filechooser before shortcut added (185.49 KB, image/png)
2014-10-31 15:15 UTC, S Hatford
Details
Python script that show bug (2.47 KB, text/x-python)
2014-10-31 15:16 UTC, S Hatford
Details

Description S Hatford 2014-10-31 15:13:28 UTC
Created attachment 289746 [details]
Screenshot - Filechooser after shortcut added

When a shortcut is added in the Filechooser, it gets added to the sidebar more than once.

Steps to reproduce:

* Create a file chooser dialog 
* Add a shortcut using add_shortcut_folder
* Open file chooser dialog.

Actual Results:

The shortcut gets added 3 times to the list

Expected Results:

The shortcut gets added once to the list

Platform:
Gtk+ 3.14.1
Python bindings (Pygobject)
Python 3.4.2 32bit
Windows 7

Additional Information:

If you try and add two different shortcuts it adds previous one again.

I have attached two screenshots showing what happens to the sidebar when one shortcut is added to the file chooser. I have also attached a sample script which shows this happening.
Comment 1 S Hatford 2014-10-31 15:15:27 UTC
Created attachment 289747 [details]
Screenshot - Filechooser before shortcut added
Comment 2 S Hatford 2014-10-31 15:16:39 UTC
Created attachment 289748 [details]
Python script that show bug
Comment 3 Emmanuele Bassi (:ebassi) 2014-10-31 15:20:31 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.

*** This bug has been marked as a duplicate of bug 737679 ***