This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-60cf9d04-86a9-4df6-a251-e57e9f0e89d8 XWIKI-24335 Open

Annotations need page refresh to complete actions after editing the page in-place

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-680af782-c6b8-4392-8f19-d07ff16fbe22 Ilie Andriuta created this issue on 12/May/26 15:25
 
Summary: Annotations need page refresh to complete actions after editing the page in-place
Issue Type: cid:jira-generated-image-avatar-60cf9d04-86a9-4df6-a251-e57e9f0e89d8 Bug
Affects Versions: 17.10.8, 18.0.0
Assignee: Unassigned
Attachments: After_Save_In_place.png
Components: Annotations
Created: 12/May/26 15:25
Environment: Windows 11 Pro, Firefox 150, using an instance of XWiki 18.0.0 on MySQL 9.7, Tomcat 11.0.22
Priority: cid:jira-generated-image-static-major-f78d817a-4b91-4d32-8103-ac793925a0c4 Major
Reporter: Ilie Andriuta
Description:

Steps to reproduce

  1. Go to a page with text content (e.g. Sandbox)
  2. Select a word
  3. Press CTRL+M, add some annotation text
  4. Click 'Add annotation'
  5. Click 'Edit' button to edit the page in-place
  6. Edit/add some more letters inside the previously annotated word
  7. Click 'Done'
  8. Click 'More Actions' > 'Annotate'
  9. Observe the state of 'Show annotations' checkbox from the top of the page
  10. Click on the checkbox to turn annotations on/off

Expected results

The 'Show annotations' checkbox from the top of the page is not checked.

When clicking to tick it, the annotations are displayed on the page (annotated words are highlighted).

Actual results

The 'Show annotations' checkbox from the top of the page is checked. Clicking on it to tick/ un-tick it does nothing.

The same happens if, at this point, the annotated word from the Comments tab is clicked (the anchor does not work), until the page is refreshed.

The issue does not reproduce if the page is edited in WYSIWYG or Wiki mode.