Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-24361

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 16.10.15
    • Office
    • None
    • Windows 11 Pro, Chrome 147, using an instance of XWiki 17.10.4 on MariaDB 12.2 , Tomcat 11
    • Unknown

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            atarata Andreea Tarata
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: