Description
The file explorer widget does not remember the last opened directory on Linux Fedora. When navigating into a subdirectory and then closing/reopening the file explorer, it resets to the default/home directory instead of restoring the previously browsed location.
Steps to Reproduce
- Open the file explorer widget in Waveterm
- Navigate to a subdirectory (e.g.,
/home/user/Documents/project/src)
- Close the file explorer or switch away
- Reopen the file explorer / navigate back to it
- Observe that it starts at the home directory instead of the last location
Expected Behavior
The file explorer should persist and restore the last opened directory across sessions/navigation.
Actual Behavior
File explorer always resets to the home directory (or root of the workspace).
Environment
- OS: Fedora Linux
- Waveterm version: (please fill in:
waveterm --version)
- Desktop Environment: KDE
Additional Context
This may be a Linux-specific issue with the directory persistence mechanism, or a general cross-platform issue. Other file managers (VSCode, etc.) typically remember the last browsed directory. Not sure if this works correctly on macOS or Windows.
Description
The file explorer widget does not remember the last opened directory on Linux Fedora. When navigating into a subdirectory and then closing/reopening the file explorer, it resets to the default/home directory instead of restoring the previously browsed location.
Steps to Reproduce
/home/user/Documents/project/src)Expected Behavior
The file explorer should persist and restore the last opened directory across sessions/navigation.
Actual Behavior
File explorer always resets to the home directory (or root of the workspace).
Environment
waveterm --version)Additional Context
This may be a Linux-specific issue with the directory persistence mechanism, or a general cross-platform issue. Other file managers (VSCode, etc.) typically remember the last browsed directory. Not sure if this works correctly on macOS or Windows.