This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-8bcc0aba-a687-4e35-a653-ec503f354834 XWIKI-24361 Open

Imported images/tables are not rendered with the same size and alignment as in the original document after import

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-6ea81c98-ba21-454c-98fc-ad388d2bc25c Andreea Tarata created this issue on 14/May/26 15:34
 
Summary: Imported images/tables are not rendered with the same size and alignment as in the original document after import
Issue Type: cid:jira-generated-image-avatar-8bcc0aba-a687-4e35-a653-ec503f354834 Bug
Affects Versions: 16.10.15
Assignee: Unassigned
Attachments: Case1_Filter_styles_checked.mp4, Case2_Filter_styles_unchecked.mp4
Components: Office
Created: 14/May/26 15:34
Environment: Windows 11 Pro, Chrome 147, using an instance of XWiki 17.10.4 on MariaDB 12.2 , Tomcat 11
Priority: cid:jira-generated-image-static-minor-6b432deb-0980-4df0-bb13-8b6a9de062c8 Minor
Reporter: Andreea Tarata
Description:

Case 1 – “Filter Styles” enabled

Steps to reproduce:

  1. Import a document with a smaller table/picture aligned on center/right of the page (or use the attached document) 
  2. Observe the location of the table/picture imported on the page

Expected results:

The table/picture is imported in the same location and in the same size as the original document.

Actual results:

  • The image/table is stretched across the entire page.
  • The original dimensions and alignment are ignored.

Case 2 – “Filter Styles” disabled

Steps to reproduce:

  1. Create a page from Office
  2. Import a document with a smaller table/picture aligned on center/right of the page (or use the attached document) 
  3. Uncheck "Filter Styles"
  4. Observe the location of the table/picture imported on the page
  5. Edit the page

Expected results:

Step 2: In view mode the table/picture is imported in the same location and in the same size as the original document.

Step 3: In edit mode the table/picture is imported in the same location and in the same size as the original document.

Actual results:

View mode

  • The image/table is stretched across the entire page right after import.
  • The original dimensions and alignment are not preserved.

Edit mode

  • The original dimensions are preserved.
  • However, the original alignment/position is ignored.

Expected result

Images/tables should preserve both their original dimensions and alignment from the source document in both View and Edit modes.

Tested and reproduced also in XWiki 16.10.5 on Cloud.