SUMMARY When I try to create a profile (with a short simple name) in konsole, I got this error msg: > Profile name exceeded maximum allowed length (-6). According to https://invent.kde.org/utilities/konsole/-/merge_requests/877 : > On Windows, it is done by inspecting the MAX_PATH environment variable. I'm using Windows 10 (20H2), there is no `MAX_PATH` in env var by default. So I set `MAX_PATH` manually, and then I can create new profile now. I think konsole should work without MAX_PATH in env. Maybe there should be a default value for MAX_PATH on Windows, 256 or 260 or something else? STEPS TO REPRODUCE 1. Go to settings - manage profiles - new (create a new profile) 2. Input a short simple name for the profile. 3. Click OK to save profile. OBSERVED RESULT Fail, and got this error msg: > Profile name exceeded maximum allowed length (-6). EXPECTED RESULT A new profile should be created. SOFTWARE/OS VERSIONS Windows: Windows 10 (20H2 19042.508) Konsole: 23.11.70 (got from https://binary-factory.kde.org/job/Konsole_Nightly_win64/)
How are you installing Konsole. I'm using craft and it works. I agree the code should check if the variable exist.
(In reply to Kurt Hindenburg from comment #1) > How are you installing Konsole. I'm using craft and it works. I agree the > code should check if the variable exist. Nevermind I see you are using the binary factory. And I'm using 23.08 which doesn't use this code. I'll try to check this out.
(In reply to Kurt Hindenburg from comment #2) Thank you very much =)
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/910
I also have the issue using the binary from the binary factory.