https://bugs.kde.org/show_bug.cgi?id=476032
Bug ID: 476032 Summary: Can't create profile due to lack of MAX_PATH Classification: Applications Product: konsole Version: master Platform: Microsoft Windows OS: Microsoft Windows Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: konsole-de...@kde.org Reporter: wangsi...@aliyun.com Target Milestone: --- 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/) -- You are receiving this mail because: You are watching all bug changes.