Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-240502

JFR links copy the path to the report when clicked, inconsistent with other functions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 21w44a
    • None
    • Confirmed
    • UI
    • Normal

      The Bug

      Upon clicking the link given in the chat after generating a JFR report, the path to the report is copied. This is inconsistent with the screenshot function and the debug tick profiling function, which both either open a file or open a file explorer to view the file.

      How to Reproduce

      1. Run /jfr start
      2. Run /jfr stop
      3. Click the link given in the chat to the JFR report
        Nothing opens

      Observed Behavior

      The link didn't bring up any file, but instead copied the file's path to the clipboard.

      Expected Behavior

      The File Explorer (Finder on macOS) would open to the JFR report generated, or the JFR report would open in a default application. This would be consistent with other functions.

            billy.sjoberg [Mojang] Billy Sjöberg
            markderickson [Mod] markderickson
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: