No description
Selecting a broken network mount triggers an infinite loop of dialogs that requires killing the app: 1. Click invalid network mount 2. Try to mount network path 3. Show failure dialog 4. Trigger `NetworkDriveOpenEntityAfterMount` * BUG: This fires even if the mount failed or the user canceled the dialog! 6. Goto 2 Fix by having `network_drive(...)` return a Boolean indicating whether the mount actually happened and using that to break the infinite error loop. Fixes #1629 Sample broken network path that triggers the infinite dialog when selected: **~/.config/cosmic/com.system76.CosmicFiles/v1/favorites** ```ron [ Home, Documents, Downloads, Network( uri: "sftp://myserver/shared", name: "", path: "/tmp/fake-network/sftp-host=myserver/mnt", ), ] ``` - [x] I have disclosed use of any AI generated code in my commit messages. - [x] I understand these changes in full and will be able to respond to review comments. - [x] My change is accurately described in the commit message. - [x] My contribution is tested and working as described. - [x] I have read the [Developer Certificate of Origin](https://developercertificate.org/) and certify my contribution under its conditions. |
||
|---|---|---|
| .github | ||
| .zed | ||
| cosmic-files-applet | ||
| debian | ||
| examples | ||
| i18n | ||
| res | ||
| samples | ||
| scripts | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| i18n.toml | ||
| justfile | ||
| LICENSE | ||
| README.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||
| TESTING.md | ||
cosmic-files
File manager for the COSMIC desktop environment
Build the project from source
# Clone the project using `git`
git clone https://github.com/pop-os/cosmic-files
# Change to the directory that was created by `git`
cd cosmic-files
# Build an optimized version using `cargo`, this may take a while
cargo build --release
# Run the optimized version using `cargo`
cargo run --release
Community and Contributing
The COSMIC desktop environment is maintained by System76 for use in Pop!_OS. A list of all COSMIC projects can be found in the cosmic-epoch project's README. If you would like to discuss COSMIC and Pop!_OS, please consider joining the Pop!_OS Chat. More information and links can be found on the Pop!_OS Website.
License
This project is licensed under GPLv3