GNOME Bugzilla – Bug 685198
Duplicated partitions in the dashboard
Last modified: 2012-10-03 17:02:08 UTC
Created attachment 225479 [details] screenshot before mounting I am experiencing several bugs here. I get duplicated unmounted partitions reporting 0/0 size of usage. Once I click on it, it is mounted correctly and the scan starts. Here there is another bug, in the scan it appears the (I guess temp folder name) in the root of the treeview instead of the display name of the partition. Once it is mounted the size reported in the dashboard it looks correct. Although (in case it helps to debug) it just happens for the one I clicked on and not for the duplicated one. Also say that these are windows partitions.
dup of bug 684085?
(In reply to comment #0) > Created an attachment (id=225479) [details] > screenshot before mounting > > I get duplicated unmounted partitions Since duplicated entries appear after "Home folder", it seems to me that the only possibility is that for some reason the "volume-added" signal is triggered (the only place where we add unmounted locations). Maybe a bug in VolumeMonitor? but we could add some check for dups anyway.
(In reply to comment #2) > it seems to me that the > only possibility is that for some reason the "volume-added" signal is triggered It turns out that this is actually the case (see bug 684677) so we'll need a workaround for the 3.6 brach
Pushed a fix for the "0/0 usage" issue, commit 5c7c0144b6740c3898cd030b2eae42697715c844
Created attachment 225542 [details] [review] Check for duplicates before adding a volume So this is the porkaround, it can be committed after branching.
*** Bug 684085 has been marked as a duplicate of this bug. ***
Review of attachment 225542 [details] [review]: Looks good, but let's add a comment with an explanation and a link to the gio bug
Attachment 225542 [details] pushed as 8c87327 - Check for duplicates before adding a volume