Mojira Archive
MC-240502

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

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.

Works As Intended

[Mod] markderickson

[Mojang] Billy Sjöberg

2021-11-03, 07:13 PM

2021-11-11, 05:23 PM

2021-11-04, 07:23 PM

5

7

Confirmed

Normal

UI

21w44a

-