Environment
- OS: Windows 11 25H2 (Build 26200)
- Qoder: Latest version
Description
When the Windows “Documents” folder is redirected to a custom path (e.g., D:\System\Documents) via the standard Windows folder properties dialog, Qoder still creates its workspace directory at the hardcoded default path C:\Users\<username>\Documents\Qoder\ instead of respecting the redirected path.
Steps to Reproduce
- Redirect the Windows Documents folder to a custom path (e.g.,
D:\System\Documents) via File Explorer > Documents > Properties > Location > Move - Verify the registry
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personalcorrectly shows the redirected path - Open Qoder and start a new chat session
- Observe that Qoder creates workspace at
C:\Users\<username>\Documents\Qoder\instead ofD:\System\Documents\Qoder\
Expected Behavior
Qoder should use the Windows Shell Folders API (or equivalent) to resolve the actual Documents path, respecting user-configured folder redirection.
Actual Behavior
Qoder appears to construct the path by concatenating C:\Users\<username>\Documents directly, bypassing the system’s folder redirection configuration. This results in:
- Unwanted directories created on the C: drive
- Workspace data not being stored in the user’s intended location
Registry Verification
HKCU\...\Shell Folders\Personal = D:\System\Documents (correct)
C:\Users\skyler\Documents = exists as physical directory (not a symlink)
D:\System\Documents\Qoder = does not exist
Suggested Fix
Use SHGetKnownFolderPath(FOLDERID_Documents) or Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) in .NET to resolve the Documents path at runtime, instead of hardcoding C:\Users\<username>\Documents.