Page 1 of 1

Managing favorites list? [CLOSED]

Posted: Thu Sep 08, 2016 3:46 pm
by deseven
Can i add or remove something from favorites list? I looked everywhere (i guess), but didn't find a way.

Re: Managing favorites list?

Posted: Fri Sep 09, 2016 10:42 am
by mike
Hello deseven and welcome to the forum!

Currently Favorites list is synchronized with Finder's sidebar:
http://magnumbytes.com/forum/viewtopic.php?f=6&t=101

Re: Managing favorites list?

Posted: Fri Sep 09, 2016 11:19 am
by deseven
Hello, thanks!
Doesn't look like it works then. Am i missing something?
screenshot

Re: Managing favorites list?

Posted: Sun Sep 11, 2016 9:08 am
by mike
Hmm, this set of folders is a fallback one, in case getting them from Finder has failed.
This scenario is not usual at all.

Can you please check the Console.app - if there're any messages from Nimble Commander?
Also, what MacOSX version do you use?

Re: Managing favorites list?

Posted: Sun Sep 11, 2016 12:24 pm
by deseven
My OS X version is 10.11.6.
Here is what i get in Console after launching NimbleCommander:
Image

Seems to be unrelated.

I also tried to run NC via terminal, but there is no output to stdout or stderr.

Re: Managing favorites list?

Posted: Sun Sep 11, 2016 12:40 pm
by mike
Right the opposite - this looks suspiciously related!
NC uses exactly the LSSharedFileList API.
BTW, did you hit F1/F2 before opening Console.app?

Any possibility this can be related with this previously-known issue?
http://magnumbytes.com/forum/viewtopic.php?f=5&t=44

Anyway, I can build a special version with detailed logging of that API usage, if you wish.

Re: Managing favorites list?

Posted: Sun Sep 11, 2016 2:24 pm
by deseven
I didn't have this type of issue (“File Open” dialog is missing sidebar items), but i thought that clearing finder preferences might help.
And yeah, it helped. Everything works fine now.

Oneliner from AD answer which i used:

Code: Select all

cd ~/Library/Preferences && sudo find com.apple.finder.plist* -exec rm {} \; && killall Finder
Thanks for your help!

Re: Managing favorites list? [CLOSED]

Posted: Sun Oct 02, 2016 9:52 am
by deseven
It stopped working again.
Also it shows my mounted NFS filesystems twice:
Image

Re: Managing favorites list? [CLOSED]

Posted: Tue Oct 04, 2016 3:17 pm
by mike
Dammit!
Ok, I'll build a version with a detailed debug information for that routine.
Don't like that smell at all - those APIs are deprecated since El Capitan, it seems that a custom favorites manager should be written as quick as possible.

Re: Managing favorites list? [CLOSED]

Posted: Wed Oct 05, 2016 11:28 am
by deseven
That will be great!
Not just because of the plist parsing problems, but also because it's not really convenient to populate this list from Finder's favorites.
I use favorites in finder to define save locations, since they are shown in a standard save/open dialog. Usually it doesn't have anything to do with my working directories.