Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-21250

Logged text is not split between lines at whitespaces, if present

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 2.3.136 (Mac), 2.3.173 (Mac), 2.3.200 (Mac), 2.3.240 (Mac), 2.3.280 (Mac), 2.3.324 (Mac), 2.3.580 (New Windows App), 2.3.619 (New Windows App), 2.3.645 (New Windows App), 2.4.30 (Mac), 2.4.30 (Win 10/11 App), 2.4.36 (Win 10/11 App), 2.4.57 (Win 10/11 App), 2.4.69 (Win 10/11 App), 2.4.79 (Mac), 2.4.79 (Win 10/11 App), 2.5.9 (Win 10/11 App), 2.7.12 (Win 10/11), 2.8.2 (Win 10/11), 2.12.2 (Win 10/11), 2.15.23 (Win 10/11)
    • Minecraft Launcher
    • None
    • Confirmed
    • 764929

      The bug

      Due to the fix of MCL-21100, logged text now is split between lines if it otherwise would not fit on one line. However, previously, if the text contained whitespaces, the Launcher would split the text at a whitespace. Now, the text is split at the last possible character that can fit on the line, regardless of whether or not it is a whitespace.

      How to reproduce

      1. Ensure the "Open output log when Minecraft: Java Edition starts" option is checked
      2. Start Minecraft in a version of your choice
      3. Navigate to Singleplayer -> Create New World, and create a new world with cheats enabled
      4. Enter the command /say @e
        Some entity names are split partway through the word, rather than at a whitespace

            Unassigned Unassigned
            markderickson [Mod] markderickson
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: