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

Long file names collide with elements from the right side on Office Importer on Firefox

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 14.10.21, 15.10.13, 16.9.0
    • Office
    • Windows 11 Pro, Firefox 132, using a local instance of XWiki 15.10.13 on PostgreSQL 16, Tomcat 9.0.96, LibreOffice 24.2.6.2
    • Unknown

    Description

      Steps to reproduce

      1. Configure XWiki with LibreOffice and start it with Firefox (tested with Firefox 132)
      2. Login
      3. Click 'Create' button
      4. Select 'Page from Office'
      5. Fill a page title
      6. Click 'Create' button
      7. Click 'Browse' button
      8. Select a file with a long name (e.g. 80 characters, like: 111111111111111111111111111111111111111111111111111111111111111111111111111last5)
      9. Click 'Open' button
      10. Observe the length of the box corresponding to the selected file name

      Expected results

      Since it's long, the file name is truncated in the middle (by displaying ...). The box maintains it's original length like it was before the file was added.

      Actual results

      On Firefox, the long file name is not truncated and the box expands on the right, colliding with the elements from the right side (i.e. 'Split document' checkbox and it's name).

      The issue couldn't be reproduced on Edge 130 and Chrome 130.

      Attachments

        1. FileName_length_Chrome.png
          46 kB
          Ilie Andriuta
        2. FileName_length_Edge.png
          46 kB
          Ilie Andriuta
        3. FileName_length_Firefox.png
          40 kB
          Ilie Andriuta

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: