Tag assignment does not work

I assign a tag (tag is of public type) to a file. From the UI it looks like tag is properly assigned (tag appears on the file row and also under Tags filter page - index.php/apps/files/tags).

However, the event/activity of tag assignment does NOT appear in the activity app (index.php/apps/activity/all).

I double checked this with different tags and with different users.

In raw mysql table called ‘oc_activity’ there is also no such activity.

Log, even under debug level, does not mention anything about problems with tag assignment.

Nextcloud 31.02
Collaborative tags 1.21.1
No upgrade history, fresh install.

The weird thing is that IF ‘Files automated tagging’ app is used for automatic tagging of files (like new files), then this event (triggered by the app) does appear in the activity app.

The problem with this is that I wanted to create a flow to generate PDFs based on tag assignment. It is not possible to do this with this bug, since NextCloud does not know that the tag has been assigned.

Here is a screenshot of how this looks like when ‘Files automated tagging’ app tags a file itself.

My problem is exactly what was mentioned here back in 2018:

Probably related to the following issue:

Please double check the tagging within the details bar. This should work properly (but only file by file).