This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-0ffa6c24-b45d-4516-8f79-5decb85e5c1e XWIKI-23846 Open

Editor initialization causes duplicated fullscreen button in wiki editor

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-5692a7d2-ba59-4a02-9d59-b1a217ecaed9 Sebastian Klipper created this issue on 29/Dec/25 11:52
 
Summary: Editor initialization causes duplicated fullscreen button in wiki editor
Issue Type: cid:jira-generated-image-avatar-0ffa6c24-b45d-4516-8f79-5decb85e5c1e Bug
Affects Versions: 17.10.1
Assignee: Unassigned
Created: 29/Dec/25 11:52
Environment: XWiki version: 17.10.1
Wiki type: Sub-wiki
Flavor: Standard
OS: macOS Tahoe 26.2
Browser:
- Chrome 143.0.7499.170 (arm64)
- Safari 26.2 
Editor: Wiki Editor
Labels: usability
Priority: cid:jira-generated-image-static-minor-93bbf6ee-b84a-4fbc-93c2-9c45f429f169 Minor
Reporter: Sebastian Klipper
Description:

Description

The wiki editor toolbar sometimes displays duplicated fullscreen buttons.
The behavior is non-deterministic and appears to be caused by a race condition during editor initialization, as it changes simply by reloading the same edit page.

The issue can be reproduced reliably by repeatedly reloading the editor page.

Steps to Reproduce

  • Create a new sub-wiki using the standard flavor
  • Open any page in wiki edit mode (/bin/edit)
  • Reload the editor page multiple times
  • Observe the editor toolbar and fullscreen behavior

Observed Results

  • On many page loads, two fullscreen buttons are displayed in the editor toolbar
  • On other page loads, only one fullscreen button is shown
  • Reloading the same page toggles between both states
  • When entering fullscreen mode, a duplicated fullscreen edit button remains visible in the fullscreen overlay (“fullscreen mirror”)

Case 1 – duplicated fullscreen button

Selector:

#xwikieditcontentinner > div.leftmenu2 > img.fullScreenEditButton

→ Two instances present simultaneously

Case 2 – fullscreen mode

Selectors:

#xwikieditcontentinner > div.leftmenu2 > img.fullScreenEditButton
#xwikieditcontentinner > div.leftmenu2 > img.fullScreenCloseButton

→ The fullscreen edit button remains visible next to the close button

Expected Results

  • Exactly one fullscreen button should be displayed at all times
  • When entering fullscreen mode, only the close button should be visible
  • Editor initialization should be deterministic, independent of reload timing

Additional Notes

  • Issue persists after hard refresh
  • Observed only in the wiki editor, not in the object editor