Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-8030

Title gets excessively truncated if it only contains space near heading point

    XMLWordPrintable

Details

    • Bug
    • Resolution: Answered
    • Low
    • N/A
    • 4.1.2, 4.2.1, 4.3.1, 4.4.0
    • None

    Description

      Summary

      Crucible truncates title too much if it only contains space near heading point.
      This behaviour's severity is more serious for non latin char users because they don't use space as word divider.

      Environment

      Verified by major latest browsers

      • Chrome Version 58.0.3029.110 (64-bit)
      • Safari Version 10.1.1 (11603.2.5)

      Steps to Reproduce

      1. Create review whose title is "AT-12345: 諸行無常の響きあり、沙羅双樹の花の色、盛者必衰のことわりをあらはす、おごれる人も久しからず、ただ春の夜の夢のごとし、猛きものも終には滅びぬ、ひとへに風の前の塵に同じ"
      2. Close the review
      3. Check the title is excessively truncated. In this case, it will be "AT-12345:...".

      Expected Results

      Truncate a proper amount of title.

      Actual Results

      The first ASCII chars will be rendered.
      It is more likely to be excessively truncated if review status is closed.

      Notes

      I verified that this behaviour depends on some conditions such as:

      • Title length should be long enough: 81+ chars
      • Title should only contains space in heading point
      • Review status affects rendering:
        • Chrome: it happens only if review status is closed
        • Safari: it happens even review status is open/closed

      This behaviour occurs not only in multibyte chars but also ASCII chars if it only contains space near heading point such as:
      AT-12345: TXUAARDCGTZJXKJVSCZOPYZDYSNMCAYFGVHAFRJKIHJJBZBMXRUUDJWOENOHECCPXUFTWKUDRNCFJFVB

      Workaround

      • Click title to edit if review status is open. This isn't applicable for closed review.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kyamamoto@atlassian.com K. Yamamoto
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: