There are 4 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-53eeaa65-4b1e-4ad2-9e0b-f3e05648e3c9 XWIKI-23967 Open

RealtimeWYSIWYGEditorIT#editFullScreen is flickering

 
View issue   ยท   Add comment
 

4 updates

 
cid:jira-generated-image-avatar-f3277a67-9922-4257-b0cb-ee674d698ce1 Changes by Marius Dumitru Florea on 02/Feb/26 11:19
 
Fix Version: 18.0.1
Fix Version: 18.1.0-rc-1
Fix Version: 17.10.4
Assignee: Marius Dumitru Florea
 
 

1 comment

 
cid:jira-generated-image-avatar-f3277a67-9922-4257-b0cb-ee674d698ce1 Marius Dumitru Florea on 02/Feb/26 11:19
 

I managed to reproduce with Chrome in the end. The test was returning from in-place edit to view mode after solving a merge conflict. The test was waiting for the merged conflicts to be solved, i.e. for the Saved message, but not for the view mode to be ready. Going from in-place edit to view mode happens without a page reload, and XWiki.editor remains set until view mode is ready. Without a wait for view mode to be ready TestUtils#maybeLeaveEditMode was seeing XWiki.editor set so it thought it was still in edit mode and waited for the Cancel button to be enabled. But since we were going to view mode the Cancel button remained disabled (it's still present after ending in-place edit, to be used for the next in-place edit session).