fork-dev / Tracker

Bug and issue tracker for Fork for Mac
493 stars 12 forks source link

"Rescan Repositories…" in context menu … wants to rescan wrong folder #2123

Closed tomi-engel closed 1 month ago

tomi-engel commented 1 month ago

I use Version 2.42.2 … and

This is not what I was expecting from the context menu item.

For me this is a "bug" … or is this "by design"?

Aloha

DanPristupov commented 1 month ago

Well, you should say what you expected.

tomi-engel commented 1 month ago

Sorry for not being precise enough.

I would have expected that the command would only rescan the folder on which I "right-clicked" to get the context menu.

If it actually does that (which I did not try) then at least the alert panel is confusing to me, because it explicitly mentions another folder (the default repo as defined in the settings).

DanPristupov commented 1 month ago

I would have expected that the command would only rescan the folder on which I "right-clicked" to get the context menu.

No, rescanning a particular folder is not possible. Folders in repo-manager are not tied to folders on disk. You can reorganize them, delete an create new ones. They are virtual.

Regarding the 'Rescan' option, we added it to the context menu to make it more discoverable because some users couldn't find 'Rescan repos' in preferences.

tomi-engel commented 1 month ago

Thank you for clarifying … I did not realise so far, that the folder hierarchy is not a fix mapping of the actual folders … but a free form tree that is based on the initial folder hierarchy derived from the initial opening of my repos.