Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-56952

Long File Names causes overlappings in Media Gallery Portlet

    Details

      Description

      Steps to reproduce:

      1. Add a "Media Gallery" and "Documents an Media Display" Portlet on the Welcome page
      2. Go to Control Panel
      3. Create 2 folders with very long names, one with spaces in the name, one without spaces. E.g.:
      "verrrrrrrrrrrrrrrrrrrrrrrrrrrrrry verrrrrrrrrrrrrrrrrrrrrrrrrrrrrrry loooooooong folder"
      and
      "looooooooooooooooooooooooooooooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnggggfolder"
      4. Create 2 files with very long names, one with spaces in the name, one without spaces. E.g.:
      "verrrrrrrrrrrrrrrrrrrrrrrrrrrrrrry verrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrry loooooooooooooooong file"
      and
      "loooooooooooooooooooooooooooooooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnggggfile"
      5. Refresh Welcome page

      >>> In the Documents and Media Display portlet, the names are correctly displayed and the names without spaces are displayed in multiple lines.
      >>> In the Media Gallery portlet, you can see the following problems:

      a. The names without spaces are not truncated and they are displayed in a single line. This causes overlapping.
      b. The names with spaces are shown in multiple lines, but only the folder names are truncated.

        Attachments

        1. fixed.png
          fixed.png
          152 kB
        2. reproduced.png
          reproduced.png
          137 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 9 weeks, 6 days ago

                  Packages

                  Version Package
                  6.1.X EE