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

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


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


      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.


      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.


      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:


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

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