GNOME Bugzilla – Bug 695421
No UI to remove a folder from view after scanning it
Last modified: 2021-05-26 09:26:54 UTC
1. Click the gear button and select Scan Folder... 2. Enter a folder to be scanned 3. Click the back arrow to return to the main view 4. The folder you scanned has been added to the list in the main view. There's no UI to remove that folder from the main view. This means that if you use the app to look at say 10 different folders, the app quickly gets cluttered and there's no obvious way to remove the clutter. Here's a few ideas... - I think it should always be possible to explicitly remove a folder from the main view "history". - I also think there should be an option to have Baobab not remember recently used folders. - Perhaps explicit "favoriting" or starring of scanned folders would be a better approach. And then a user could unstar scanned folders the user didn't need to keep easily accessible any more. - I'm not sure there's a lot of value in having more than say, 10, recently viewed folders so maybe older ones should age off from view.
I would prefer to see some sort of UI to remove the folders form the Devices list. A quick fix would be to add a context menu with a "Remove folder from list" item, while a more "GNOMEy" fix would be to have an edit mode/view for reordering and deleting items from that list. The latter would be a bit of a pain to document, so I would prefer to see the first done from that point of view.
Created attachment 346584 [details] [review] location-list: Reload recent locations instead of adding new Each "Scan folder" adds a new location in the list if it is not already there. Consequently, the location list may be pretty overfilled. Let's reload the recent items after each "Scan folder" instead. As the result, max 5 recent locations will be always shown.
Comment on attachment 346584 [details] [review] location-list: Reload recent locations instead of adding new I've pushed this commit by mistake: https://git.gnome.org/browse/baobab/commit/?id=851b50fbc6c7fbdc81d5513f29a86663bac76956 I'm really sorry for that and I suppose that I should revert it. But before reverting it, I will gently ask any maintainer to take a look at it please, to see whether it isn't really acceptable...
Hi Ondrey, the patch seems totally acceptable even if it doesn't address directly the bug's issue. I think we can keep it, but I'll leave the bug open for now
Thanks and sorry again. Yea, it doesn't address directly the bug's issue, though I don't think it makes sense to provide some API for deleting/reordering, that's why I provided this patch. It is just a list of recent files, which can be deleted from Privacy panel if needed. Applications like gedit also don't provide API for manipulating with recent files...
Created attachment 350856 [details] [review] location-list: add remove button for recent locations This patch would add a remove button for each recent items on the location list. Nautilus offers the same for its recent servers list. An alternative to make the interface less cluttered would be to move recent items to their own list e.g. This Computer list, Recent Locations List, Remote Locations List.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of Baobab, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/baobab/-/issues/ Thank you for your understanding and your help.