| Summary: | if offline vault is open during shut down, system will start with vault closed but still offline | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | seby.trello |
| Component: | Vaults widget | Assignee: | Ivan Čukić <ivan.cukic> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | EMuede, ivan.cukic, nate, swiniastwo |
| Priority: | NOR | ||
| Version First Reported In: | 6.0.0 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-vault/-/commit/c9a431badccedbdb8ab2a33ecb41262f878a2f7e | Version Fixed/Implemented In: | 6.7.5 |
| Sentry Crash Report: | |||
|
Description
seby.trello
2022-08-09 14:03:23 UTC
Can reproduce, interesting. Yes, this happens because it is not Vault that closes the mount, but the system shutdown. Fixing this would require Vault to store the 'network is disabled due to Vault' somewhere on the drive - to know that it should enable the network on next boot. This affected me too, but now, after updating to Kubuntu 24.04.3 LTS there is a different behaviour: Now the widget (and the dolphin-entry of the vault) doens't represent the status of the tresore. Even if the vault has been opened there is no switch/button/context-menue-entry for closing it. Also a rebooting of the machine doesn't change the status of the vault: it stays open and the network-connection isn't deactivated. My Environment: [Code] Operating System: Kubuntu 24.04 KDE Plasma Version: 5.27.12 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.13 Kernel Version: 6.8.0-88-generic (64-bit) Graphics Platform: X11 Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz Memory: 7.3 GiB of RAM Graphics Processor: Mesa Intel® Iris® Xe Graphics Manufacturer: LENOVO Product Name: 82HS System Version: IdeaPad Flex 5 14ITL05 [/Code] Confirmed on KDE Plasma 6.7.3. The bug seems to "work" either when a computer is powered off or a reboot is done. Maybe the bug can be fixed by enabling the Internet/Bluetooth connection just after the drive is unmounted during the power off procedure? Also, I think that the bug can be applicable to Bluetooth, but cannot verify it. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-vault/-/merge_requests/84 Git commit c9a431badccedbdb8ab2a33ecb41262f878a2f7e by Nate Graham, on behalf of Just Karol. Committed on 03/09/2026 at 01:46. Pushed by ngraham into branch 'Plasma/6.7'. Allow networking to be restored when offline vault was not closed before shutdown Networking was not enabled again when an offline vault was in use when the computer was shut down. This commit fixes that by allowing Plasma Vault to store the networking status in plasmavaultrc (option is-networking-inhibited). When it's set to false (which happens when a vault is opened), then applet automatically restores it via the NetworkManager::setNetworkingEnabled() function. FIXED-IN: 6.7.5 M +29 -0 kded/service.cpp https://invent.kde.org/plasma/plasma-vault/-/commit/c9a431badccedbdb8ab2a33ecb41262f878a2f7e |