Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-64230

The filename of files with long names in the file picker are being clipped

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.3
    • Fix Version/s: 3.7
    • Component/s: Repositories
    • Labels:
    • Testing Instructions:
      Hide

      Note: Test on Boost and Clean

      1. Log in
      2. Go to your private files
      3. Open the File picker
      4. Select Wikimedia.
      5. Search for something (e.g. dog)
      6. Check the search results.
      7. Confirm that the file name of files with short names are shown in full.
      8. Confirm that files with long names are truncated with an ellipsis "..."
      9. Hover on a file with a truncated name.
      10. Confirm that the full name of the file is being displayed.
      11. Pick a file with a long name.
      12. When the file picker dialogue closes, check the file that you picked.
      13. Confirm that it is truncated with an ellipsis "..."
      14. Hover on the file.
      15. Confirm that the full name of the file is being displayed.
      Show
      Note: Test on Boost and Clean Log in Go to your private files Open the File picker Select Wikimedia. Search for something (e.g. dog) Check the search results. Confirm that the file name of files with short names are shown in full. Confirm that files with long names are truncated with an ellipsis " ... " Hover on a file with a truncated name. Confirm that the full name of the file is being displayed. Pick a file with a long name. When the file picker dialogue closes, check the file that you picked. Confirm that it is truncated with an ellipsis " ... " Hover on the file. Confirm that the full name of the file is being displayed.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull Master Branch:
      MDL-64230-master

      Description

      When a file with a long file name is shown on the file picker, the file name is being clipped, which may be confusing.

      On hover, the full filename is being displayed.

        Attachments

        1. image-2019-03-13-11-09-32-029.png
          image-2019-03-13-11-09-32-029.png
          387 kB
        2. screenshot-1.png
          screenshot-1.png
          146 kB
        3. screenshot-2.png
          screenshot-2.png
          66 kB
        4. screenshot-3.png
          screenshot-3.png
          35 kB
        5. screenshot-4-on-hover.png
          screenshot-4-on-hover.png
          40 kB
        6. screenshot-5.png
          screenshot-5.png
          14 kB
        7. truncated-with-ellipsis.png
          truncated-with-ellipsis.png
          238 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                20/May/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 20 minutes
                5h 20m