Bug 457680 - if offline vault is open during shot down, system will start with vault closed but still offline
Summary: if offline vault is open during shot down, system will start with vault close...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Vaults widget (other bugs)
Version First Reported In: 6.0.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-09 14:03 UTC by seby.trello
Modified: 2025-11-26 21:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description seby.trello 2022-08-09 14:03:23 UTC
So when I shut down or restart my system while a offline vault is open, the vault is closed when the computer is started the next time but the computer is still offline. It is easy to fix that by reopening a offline vault and closing it.
However, if one does not remember that it was due to an offline vault, it is difficult to fix (I forgot that it was due to that last time, spending a whole day trying different things which did not work). 

STEPS TO REPRODUCE
1. open a offline vault
2. reboot the computer (without closing the vault)

OBSERVED RESULT
The computer is (still) disconnected from the internet after the reboot, eventhough the vault is closed.

EXPECTED RESULT
The computer behaves as normal, with access to internet and all. 

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION

I am using kubuntu 22.04 (updated first from 21.04 then 21.10). This is not the first time this problem occurred, I can remember it happen up to a year back - but this time I wasted a whole day fixing it and thus I thought about reporting it.
Comment 1 Nate Graham 2022-08-09 19:20:13 UTC
Can reproduce, interesting.
Comment 2 Ivan Čukić 2022-08-09 19:55:58 UTC
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.
Comment 3 Ewald Müller 2025-11-26 21:25:11 UTC
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]