Mojira Archive
MCL-5438

Launcher does not consistently use OS directory seperation character

Affected version: 2.0.757 (Windows)

The bug

The launcher does not use the OS directory seperation character consistently. It appears it always uses a slash (/) where it creates a directory string itself but in other cases it uses the given one.

Affected situations

Slash after drive

For a profile directory the launcher uses always a slash after the drive. This happens when

  • it fills in the default directory
  • after the user selected a folder with the folder picker. In the text field it first shows the representation the OS uses (for example only backslashes) but after saving and opening the settings again it has a slash after the drive.
  • when pasting in a path then saving and opening the settings again.
Directories printed in the log and nativelog.txt

These directories sometimes use only slashes, sometimes only backslashes and then in other situations both.

Awaiting Response

Marcono1234

2017-02-04, 01:55 PM

2019-03-27, 04:24 PM

2019-03-27, 04:24 PM

0

1

Confirmed

OS, directory, seperate

2.0.729 (Windows) - 2.0.1004 (Mac OS)2.0.729 (Windows), 2.0.934 (Windows), 2.0.995 (Windows), 2.0.996 (Mac OS), 2.0.1003 (Windows), 2.0.1004 (Mac OS)

-