This issue has been created
There are 4 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-feb99bae-0b23-42fa-8343-075364d8df15 XWIKI-23279 Open

Inserting a macro scrolls to the top of the page when editing a page with edit sheet

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-b3140008-11da-4062-ae8a-d23cd2bd2b4e Michael Hamann created this issue on 10/Jun/25 11:51
 
Summary: Inserting a macro scrolls to the top of the page when editing a page with edit sheet
Issue Type: cid:jira-generated-image-avatar-feb99bae-0b23-42fa-8343-075364d8df15 Bug
Affects Versions: 16.10.6, 17.2.0-rc-1
Assignee: Unassigned
Components: CKEditor
Created: 10/Jun/25 11:51
Labels: regression
Priority: cid:jira-generated-image-static-blocker-ccd78767-a18d-48ad-ba6a-bfa066b292ca Blocker
Reporter: Michael Hamann
Description:

Steps to reproduce:

  1. Go to the movies demo application
  2. Click on the edit link of the first entry
  3. Enlarge the upper editor to make it large enough to fill the screen
  4. Scroll to the lower editor
  5. Insert any macro like the HTML macro

Expected result:

The inserted macro is visible.

Actual result:

The page scrolled to the top, the editor where the macro was inserted isn't visible at all.

I suspect that this is related to XWIKI-22965 as this touched the code for restoring selections and the affects versions match. I've reproduced this issue on 17.3.0, 17.2.0 and 16.10.6 but not on 16.10.5, 17.1.0.

 
 

4 updates

 
cid:jira-generated-image-avatar-b3140008-11da-4062-ae8a-d23cd2bd2b4e Changes by Michael Hamann on 10/Jun/25 11:51
 
Fix Version: 17.4.1
Fix Version: 16.10.9
Fix Version: 17.5.0-rc-1
Attachment: Bildschirmaufnahme_20250610_113019.webm