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 695421 - No UI to remove a folder from view after scanning it
No UI to remove a folder from view after scanning it
Status: RESOLVED OBSOLETE
Product: baobab
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Baobab Maintainers
Baobab Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-03-08 02:42 UTC by Jeremy Bicha
Modified: 2021-05-26 09:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
location-list: Reload recent locations instead of adding new (3.29 KB, patch)
2017-02-23 16:28 UTC, Ondrej Holy
committed Details | Review
location-list: add remove button for recent locations (4.29 KB, patch)
2017-05-02 10:27 UTC, Gabriel Rauter
none Details | Review

Description Jeremy Bicha 2013-03-08 02:42:36 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.
Comment 1 Kat 2013-07-24 11:08:42 UTC
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.
Comment 2 Ondrej Holy 2017-02-23 16:28:38 UTC
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 3 Ondrej Holy 2017-02-23 16:56:28 UTC
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...
Comment 4 Stefano Facchini 2017-02-23 20:47:52 UTC
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
Comment 5 Ondrej Holy 2017-02-24 08:19:58 UTC
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...
Comment 6 Gabriel Rauter 2017-05-02 10:27:41 UTC
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.
Comment 7 André Klapper 2021-05-26 09:26:54 UTC
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.