Finder comments not being written (or read from) file

I’ve searched the forum a bit, didn’t find quite my situation (I did find a lot of very interesting stuff though :slight_smile:

I am entering something in DT’s Inspector Annotations > Finder Comments

and it does not appear in the get info for the file in Finder

Likewise, if I add a comment to a Finder file - doesn’t seem to be picked up by DT’s Annotations > Finder Comments.

A permissions issue, or am I doing something wrong?

I just tried it one way (add comment in Finder, import into DT). It appeared just fine in the Annotations/Finder Comment.
Changing that one and exporting the modified record to the desktop didn’t pick up the changed comment, though.

Or rather: When I do an Export → Document, the finder comment is not exported.
When I do an Export → Files and Folders, it is (the updated one, actually).

DT 4.2, macOS 15.7

No idea if that is intentional or …

1 Like

Thanks Christian.

I think I need to be a bit more precise - I am referring to changing the Comments for an item already inside DT, which lives in one of DT’s Finder folders. So no exporting or importing, just trying to modify the Finder Comments for a file already there.

So, you’re talking about an indexed file? Yes, precision is helpful :innocent:

Anyway:

  • I added a comment to a file outside of DT.
  • Indexed that file in DT
  • The finder comment was where it was supposed to be, i.e. Annotations/Finder comments
  • Changed the finder comment
  • Changes reflected in Finder’s info window as well as by mdls on the command line

So, I’d say that it works. For me.

No, I’m not talking about an indexed file, I’m talking about an imported file.

If I import a new file, with comments, then it appears OK in DT’s inspector

If I try altering the comments once it’s inside DT, and then I do a “Reveal in Finder” - surprisingly, not only it is not catching the change, the entire comments get wiped out.

Yes, this exact procedure - indexing a file, works OK.

Importing doesn’t…

I’m referring to the files in here:

In this case the comment is only added when exporting.

Got it, thanks Christian!

I was trying to be too smart, and adding the x-DEVONthink-item:// link to the Finder comments :slight_smile:

So I could open a search result from, say ProFind or FAF, and open it in DT

As I haven’t been using Spotlight (slows my mac down too much)

What you show in your screenshot looks weird to me

  • Inbox.dtBase2 is the global inbox. Not a file, but a folder (aka “package”)
  • Files.noindex is a folder you’d usually only see inside a DT database.
  • Application Support is usually located in ~/Library.

What is the screenshot showing? And why are you fiddling around with these files in DT?

see the comments above, it explains why I was mucking around with the files in DT’s guts.

As it happens, if I do a brute force disk find anything using ProFind, Find Any File, etc - I do get results showing files inside DT’s guts - say inside a given database, so the Inbox here was just a casual example.

I was curious if I could, straight from the search results, open a search result in DT itself.

And why?

Because sometimes I am looking for stuff that may or may not be in DT. A disk search tool will show me potentially relevant results that could be outside but also inside DT. ProFind let’s see a QuickLook, even for a file in DT’s guts, so that’s helpful.

For stuff I know it will be in DT, of course, I use DT’s own facilities (e.g., DevonExpress)

The screenshot is just to refer to the file I was looking at, inside DT’s guts, yes, inside Inbox or other database.

I don’t know how Profind works (and from what I found on the web, it’s a bit terse on documentation). And I have no idea what FAF is referring to. If it is/they are programmable you could try to run an scripted search on the path of the document, get the uuid of said document and then open it using an DT item link.

It is, so I’ll try that, good suggestion.

FAF is Find Any File, Thomas Tempelmann’s venerable and great app :slight_smile: