Managing favorites list? [CLOSED]

Questions, glitches, bugs and crashes
Post Reply
User avatar
deseven
Posts: 20
Joined: Thu Sep 08, 2016 1:56 pm
Location: Serbia
Contact:

Managing favorites list? [CLOSED]

Post by deseven » Thu Sep 08, 2016 3:46 pm

Can i add or remove something from favorites list? I looked everywhere (i guess), but didn't find a way.

User avatar
mike
Posts: 800
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Managing favorites list?

Post by mike » Fri Sep 09, 2016 10:42 am

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

User avatar
deseven
Posts: 20
Joined: Thu Sep 08, 2016 1:56 pm
Location: Serbia
Contact:

Re: Managing favorites list?

Post by deseven » Fri Sep 09, 2016 11:19 am

Hello, thanks!
Doesn't look like it works then. Am i missing something?
screenshot

User avatar
mike
Posts: 800
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Managing favorites list?

Post by mike » Sun Sep 11, 2016 9:08 am

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?

User avatar
deseven
Posts: 20
Joined: Thu Sep 08, 2016 1:56 pm
Location: Serbia
Contact:

Re: Managing favorites list?

Post by deseven » Sun Sep 11, 2016 12:24 pm

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.

User avatar
mike
Posts: 800
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Managing favorites list?

Post by mike » Sun Sep 11, 2016 12:40 pm

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.

User avatar
deseven
Posts: 20
Joined: Thu Sep 08, 2016 1:56 pm
Location: Serbia
Contact:

Re: Managing favorites list?

Post by deseven » Sun Sep 11, 2016 2:24 pm

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!

User avatar
deseven
Posts: 20
Joined: Thu Sep 08, 2016 1:56 pm
Location: Serbia
Contact:

Re: Managing favorites list? [CLOSED]

Post by deseven » Sun Oct 02, 2016 9:52 am

It stopped working again.
Also it shows my mounted NFS filesystems twice:
Image

User avatar
mike
Posts: 800
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Managing favorites list? [CLOSED]

Post by mike » Tue Oct 04, 2016 3:17 pm

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.

User avatar
deseven
Posts: 20
Joined: Thu Sep 08, 2016 1:56 pm
Location: Serbia
Contact:

Re: Managing favorites list? [CLOSED]

Post by deseven » Wed Oct 05, 2016 11:28 am

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.

Post Reply