There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-4bbe8fdd-f152-4a45-a5f8-ab4379eed23b XWIKI-25066 Closed

LightboxIT fails intermittently with a StaleElementReferenceException when opening the lightbox from the image popover

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-0903716a-53ea-4bc1-a16e-9af2e70f01e2 Vincent Massol on 20/Oct/26 10:52
 

The timeout reported in the previous comment is explained: on stable-17.10.x and stable-18.4.x, ImagePopover#waitUntilReady() only waited for the popover to be visible. When the button went stale because the popover was hidden (lightbox.js hides it after a mouseleave), nothing showed it again, since only a mousemove over the image does and the pointer doesn't move. master already re-hovers the image in waitUntilReady() (XWIKI-24532), which was never backported.

Backported XWIKI-24532 to fix it: