<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>457680</bug_id>
          
          <creation_ts>2022-08-09 14:03:23 +0000</creation_ts>
          <short_desc>if offline vault is open during shut down, system will start with vault closed but still offline</short_desc>
          <delta_ts>2026-09-03 01:54:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Vaults widget</component>
          <version>6.0.0</version>
          <rep_platform>Kubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>seby.trello</reporter>
          <assigned_to name="Ivan Čukić">ivan.cukic</assigned_to>
          <cc>EMuede</cc>
    
    <cc>ivan.cukic</cc>
    
    <cc>nate</cc>
    
    <cc>swiniastwo</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-vault/-/commit/c9a431badccedbdb8ab2a33ecb41262f878a2f7e</cf_commitlink>
          <cf_versionfixedin>6.7.5</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2144582</commentid>
    <comment_count>0</comment_count>
    <who name="">seby.trello</who>
    <bug_when>2022-08-09 14:03:23 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2144637</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-08-09 19:20:13 +0000</bug_when>
    <thetext>Can reproduce, interesting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2144655</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan Čukić">ivan.cukic</who>
    <bug_when>2022-08-09 19:55:58 +0000</bug_when>
    <thetext>Yes, this happens because it is not Vault that closes the mount, but the system shutdown.

Fixing this would require Vault to store the &apos;network is disabled due to Vault&apos; somewhere on the drive - to know that it should enable the network on next boot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2473022</commentid>
    <comment_count>3</comment_count>
    <who name="Ewald Müller">EMuede</who>
    <bug_when>2025-11-26 21:25:11 +0000</bug_when>
    <thetext>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&apos;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&apos;t change the status of the vault: it stays open and the network-connection isn&apos;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]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2534573</commentid>
    <comment_count>4</comment_count>
    <who name="">swiniastwo</who>
    <bug_when>2026-07-27 17:29:51 +0000</bug_when>
    <thetext>Confirmed on KDE Plasma 6.7.3. The bug seems to &quot;work&quot; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2544073</commentid>
    <comment_count>5</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2026-09-03 01:52:23 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-vault/-/merge_requests/84</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2544074</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2026-09-03 01:54:37 +0000</bug_when>
    <thetext>Git commit c9a431badccedbdb8ab2a33ecb41262f878a2f7e by Nate Graham, on behalf of Just Karol.
Committed on 03/09/2026 at 01:46.
Pushed by ngraham into branch &apos;Plasma/6.7&apos;.

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&apos;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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>