Finder Sync Extension turning sidebar icons into generic document icons

Not able to replicate this myself but have had a couple of users report this. I have a Finder Sync Extension. It does not, at least intentionally, change any sidebar icons. The hosting app mostly uses asset catalogs and the icon file it specifies in its info.plist is a icns file, not an iconset.

Any idea what may be causing this? Seems odd to me that there isn't some explicit setting to enable this instead of requiring some set of configurations lining up.

Not able to replicate this myself but have had a couple of users report this. I have a Finder Sync Extension. It does not, at least intentionally, change any sidebar icons.

Can you be more specific about what the user is actually seeing and the relationship between your extension the the icons being changed? Of the top of my head, if you're monitoring a hierarchy and the user places an directory inside your monitored hierarchy into the sidebar, then it's possible that might cause the sidebar icon to change? However, I'd really need to understand what you're monitoring and what they're placing in the sidebar.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

I'm basically monitoring everything. The files I'm interested in can be located most anywhere so I'm watching every filesystem.

Most users aren't seeing this behavior so I'm trying to figure out why it's acting like this for the ones where it is happening. I don't think my bundle is set up to have any icons overridden.

To clarify, I realize I'm using things out of their recommended context, as mentioned in this thread here: https://developer.apple.com/forums/thread/756711?answerId=806555022#806555022

I'm basically monitoring everything. The files I'm interested in can be located most anywhere so I'm watching every filesystem.

Most users aren't seeing this behavior so I'm trying to figure out why it's acting like this for the ones where it is happening. I don't think my bundle is set up to have any icons overridden.

Alright. So what icon is it changing the object "to"? And is there any pattern to the directories that are changing?

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

User reports that it's being replaced with a generic document icon. They claim it's everything in the sidebar. I'll see if they can provide a screenshot.

Icons are the generic document icon (page with bent corner).

User says that after a Finder restart, all the icons are ok except for one (which one seems to change) which changes after a few seconds. Dragging a file over any of the icons changes them to a generic icon as well.

Apple's shutting down for Thanksgiving so I won't be looking at this until the week after next, but in the meantime there is some data worth getting. Please file a bug and includes as much of the following as you can:

  • The general background of what you're app does (context is really helpful for this sort of thing).

  • The directories you're monitoring.

  • Any details about specific sidebar icons that are changing.

  • If possible, a sysdiagnose from a machine that's experiencing the issue and time stamps of the then issue(s) occurred, particularly when this transition is occurring:

User says that after a Finder restart, all the icons are ok except for one (which one seems to change) which changes after a few seconds. Dragging a file over any of the icons changes them to a generic icon as well.

Finally, on the side bar icons themselves:

  • Does your app define any sidebar icon?

  • If it doesn't and you're able to reproduce the issue (or are working with a user who can), I would try testing with a build that DID include a sidebar icon to see how that changes things. I'd like to try and understand whether the system is incorrectly apply your icon and falling back to generic, or whether something more complex is going on.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Filed FB16023451 though details are scant since only a couple of people have reported this so far.

My app does not define a sidebar icon but if I add one, it does show up.

Looking over the bug, I had two questions:

  1. You mentioned "FB15923408" as a related issue, but can you double check that it's the right number? I wasn't able to pull that issues up.

  2. You said that you'd seen the issue on "macOS 14.7.1", but have you seen it on any macOS 15 release, particularly the current one? It's easier to get an issue looked at if it's confirmed to be happening on the current system.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Finder Sync Extension turning sidebar icons into generic document icons
 
 
Q