-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix unable to change directory in user access mode for 3.x #59838
Fix unable to change directory in user access mode for 3.x #59838
Conversation
I know we already merged the same fix in |
On |
I guess it can affect the current working directory of the editor process on Windows, but |
It's possible it was always broken, but editor was overwriting file dialog settings with some valid (on the developer machine, it's not necessery valid for the end user) value before #54399, so it was not noticed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix should be valid, regardless of the case of the issue, CWD is not appropriate default path for USER or RESOURCE file systems.
Sounds great, thanks for looking into it. |
Thanks! |
Ah, it might be a different problem on Linux then because I'm working on Windows and I found that Lines 38 to 47 in 20e4fa2
was returning a value (somewhere in %appdata%) that led to preventing changing of directories (coming from os_windows.cpp instead of os.cpp ). It seems to be the same bits on both master and 3.x . And in both, it does return CWD on Linux, so I guess the fix remains valid.
|
Cherry-picked for 3.4.5. |
Fix for #59828
Uses the solution from #58772