[macOS] Cannot go back to displaying field values after "Toggle field codes"

Hello all,

I see a weird behaviour on macOS with documents: if I have a document with a field in it - either created directly with “Insert” - “Field” or indirectly with “Insert” - “Date & time” for example -, if I click on it, I can see that it is indeed a field: the background color for the text changes, and right-clicking on it shows the entries for fields in the contextual menu (“Update field”, “Edit field” & “Toggle field codes”).

So far so good. Now if I select “Toggle field codes” in the contextual menu, it does what it is supposed to do: the field value is replaced by its code in the document’s text. But after that, if I click on the field code, I can’t get the insertion point inside it, it is always moved just before the field code, and the text background color doesn’t change. Worse: if I right-click on the field code and select “Toggle field codes”, nothing happens: the field code stays on display and there doesn’t seem to be any easy way to get the field value back. Doing a wider selection, then selecting “Toggle field codes” in the contextual menu doesn’t work either: the field codes are still displayed, and not their values. The only way I found to get back to displaying field values is to close the document and re-open it.

I didn’t see this behaviour on the other platform I can test which is Linux, so it seems to be a macOS-specific issue.

Thanks!

OS version: macOS Ventura 13.7.5
OnlyOffice version: 8.3.3
Downloaded from: official website

Hello @eb303

I did not manage to reproduce the issue. Does a specific document produce it or even an empty new one? Can you record a quick demo of your actions?