Contextual highlight sub-menu in DT pdf viewer seems permanently greyed out

The highlighting tools are suddenly greyed out for all pdfs that I try to annotate in the DT-internal pdf viewer. I noted this the first time yesterday, while on DT 4.4.1 and macOS 27.0.1. A few days ago this still worked. The files can be highlighted in DTTG and also externally, say in Preview. I just updated to 4.4.2 and this behaviour did not change. This applies even to pdfs that I generate internally, via “convert to”. In Apple Preview, the info→security panel shows no restrictions. None of the files is locked using the DT lock mechanism. There got to be a simple explanation that I just can’t see right now. Any ideas?

P.S.: Unrelated to this, there have always been some oddities with highlighting/annotating. I have some files (generally journal articles) that cannot be highlighted at first in DT. In that case, the “highlight” contextual menu is not even shown (different from the situation above, where it is there, but the submenu items are greyed out). I then open this file in Apple Preview. Info→Security shows no restrictions! When I then attempt to highlight in Preview, a panel pops up that tells me that the file is locked and offers me to unlock. When I do that, the highlighting proceeds successfully. After I save the file, it can then be highlighted without further issues in Preview but from then on also in the DT pdf viewer. Go figure.

Which app is the creator of these PDFs?

All over the place. LaTex, Acrobat Distiller (Windows), etc., but I also cannot highlight pdfs that I created internally in DT using “convert to” from a Markdown file I created myself, also in DT (creator: Devonthink). This also persists across several databases. Re-started DT several times, also upgraded from 4.4.1 to 4.4.2. Have not rebooted my machine, because I have too many work files open right now. First want to see if there is something trivial that I’m missing.

I also see nothing in the database properties that could cause this. DB verifies properly.

Update: Highlighting still works using the icon in the edit bar. I can’t stand that mode of highlighting (while on, anything you touch gets immediately highlighted), so I never use it. After using this method, the contextual highlight submenu is still greyed out. So clearly this is not a matter of annotations being somehow blocked by file security.

And what did change few days ago? Update of macOS? Installation of third-party software?

  • Are the commands in the Format > Highlight Color submenu disabled?
  • Select text in a PDF document and press Command-Shift-L. Does it apply the highlight?

Good question. I updated macOS 27.0.1 pretty much when it came out. That must have been several weeks ago. DT 4.4.1 is also not that recent, IIRC. Nothing else really installed since then. I just listed recently modified files in DT and looked for the ones that got highlights. The problem is that the vast majority is typically done on DTTG. It appears that I cannot confirm for sure that in the past 2 weeks I did a highlight on DT. In that case, I can’t really rule out that this happened with upgrading to 27.0.1 or 4.4.1. I will bite the bullet and restart my machine to check whether that does something.

Presumably, you are on 4.4.2 and macOS 27 and the highlight submenu works for you as usual?

Yes, that also works. This seems to me to be the shortcut for the edit bar highlight function.

Thanks for checking and yes, please see if the behavior persists after a reboot,

Rebooted, still a problem. The actions in the menu Tools → Annotate also work. It is just that the contextual submenu Highlight is greyed out.

To confirm: For you, this submenu works as expected?

Sorry, missed that one at first. No, Format→Highlight Color is available. I can choose a different default, and Ctrl-Shift-L will then proceed with that color.

For now, my workaround can be to just use Format→Highlight Color→[color] to highlight an already selected section. That does exactly the same as using the contextual menu. Just a bit more cumbersome to have to go to the top of the screen to trigger this. But as I said the bulk of my annotating is done on DTTG.

I can just wait to see if this goes away with further updates of macOS and/or DT. I don’t think reinstalling DT makes sense, as I just did the 4.4.2 upgrade. Zapping preferences I am afraid of since I have so many things set up my way.


Just a bit more cumbersome to have to go to the top of the screen to trigger this.

That’s also unnecessary. Read this…

…followed by…

I’ve been doing this for years and years now. Want to see how quickly I can switch my highlights? In real-time…

dt-highlight

I just noticed an exception causing weird issues at least on the macOS 27.2 beta after trying to open this submenu. Not sure whether this is a another new issue of Golden Gate, we’ll check this,

Thanks.

Nice! First I thought you had hacked something together where the highlight is actually blinking! That’s my next feature request: Format→Highlight→Geocities1999→[fgcolor/bgcolor].

Yes, I’ve custom-named highlights and have assigned shortcuts in the past. My problem is that I cannot remember reliably what the 7 of them mean :frowning: (I modify them every now and then depending on the context, most of the time it’s for thesis proofreading). I like to pick them from a menu that explains the meaning of the colour. I think @cgrunenberg is onto something with the contextual menu.

1 Like

Indeed. The next release will work around this issue on Golden Gate. In the meantime I’d recommend to use the Format menu (and its shortcut).

Shortcut keys don’t have to be complicated, finger-benders. For years, I have used the Control key and “southeast punctuation” (English QWERTY) for these highlights, e.g.,…

Yes, I could remember the shortcuts themselves (could be something like ctrl-opt-[1-7]) but I meant that I can’t remember what colour corresponds to which meaning in my annotation scheme. In the highlight submenus they are nice displayed together with the colours.