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

Cannot open relative game directories in system file picker

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 2.3.228 (New Windows App)
    • 2.2.3963 (Linux), 2.2.5518 (Mac), 2.2.5516 (Linux), 2.2.7268 (Mac), 2.2.7266 (Linux), 2.2.7448 (Linux), 2.2.7449 (Mac), 2.2.7955 (Linux), 2.2.7956 (Mac), 2.2.8354 (Linux), 2.2.8353 (Mac), 2.2.8543 (Mac), 2.2.8540 (Linux), 2.2.8909 (Mac), 2.2.8906 (Linux), 2.2.10273 (Linux), 2.2.10274 (Mac), 2.2.10321 (Linux), 2.2.10674 (Linux), 2.2.11106 (Linux), 2.2.11697 (Linux), 2.2.12148 (Linux), 2.3.136 (Linux), 2.3.173 (Linux), 2.3.200 (Linux)
    • Minecraft Launcher
    • None
    • Confirmed
    • 705566

      On macOS and Linux operating systems, the launcher cannot open game directories in the system file picker when they are specified with a relative path. Note the game still launches and uses relative game directories without issue.

      How to reproduce

      1. Open the Minecraft launcher using a macOS or Linux operating system.
      2. Navigate to the Installations tab under Minecraft: Java Edition.
      3. Create a new installation by pressing New Installation.
      4. Set the game directory to any relative path of the .minecraft folder. For example, the relative paths myprofile and ./myprofile both represent the absolute path /home/user/.minecraft/myprofile.
      5. Create the installation by pressing Create.
      6. Launch the game once with the newly created profile to create the game directory.
      7. Attempt to open the game directory of the newly created profile by pressing the folder icon.
        An error message appears with the message "Unable to open directory". The game directory is never opened in the system file manager.

            Unassigned Unassigned
            Bytzo Bytzo
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: