<?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>501052</bug_id>
          
          <creation_ts>2025-03-04 11:56:36 +0000</creation_ts>
          <short_desc>Plasmashell freezes at sshfs password prompt on command line</short_desc>
          <delta_ts>2025-06-21 12:55:13 +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>generic-performance</component>
          <version>6.3.2</version>
          <rep_platform>Debian unstable</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>regression</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          <blocked>504984</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter>grundik</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>aspotashev</cc>
    
    <cc>germano.massullo</cc>
    
    <cc>kde</cc>
    
    <cc>kdedev</cc>
    
    <cc>nate</cc>
    
    <cc>postix</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>6.4.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2404561</commentid>
    <comment_count>0</comment_count>
    <who name="">grundik</who>
    <bug_when>2025-03-04 11:56:36 +0000</bug_when>
    <thetext>When I mount a filesystem using sshfs, plasma totally freezes until actual connection is made, i.e. until I enter connection password or cancel connection by ctrl-c.

STEPS TO REPRODUCE
1. try to mount filesystem by sshfs, but do not enter ssh password;
2. observe plasmashell is frozen: you cannot restore applications from system tray, you cannot switch desktops, nothing;
3. stop connection attempt by ctrl-c;
4. observe plasmashell is working again like nothing happened.

OBSERVED RESULT

Plasmashell is frozen while password is being asked.

EXPECTED RESULT

Plasmashell should not freeze.

SOFTWARE/OS VERSIONS

Operating System: Debian GNU/Linux 12
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13-amd64 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION

This behavior started in 6.3, before that everything were fine. Only notification &quot;filesystem is not responding&quot; were shown, if password was not entered timely.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2418513</commentid>
    <comment_count>1</comment_count>
    <who name="">grundik</who>
    <bug_when>2025-04-23 22:11:03 +0000</bug_when>
    <thetext>Probably related: plasma is quite unresponsive when disks are on heavy load, like its almost impossible to use system tray. Looks like something synchronously polling mounts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2425157</commentid>
    <comment_count>2</comment_count>
    <who name="postix">postix</who>
    <bug_when>2025-05-18 12:52:29 +0000</bug_when>
    <thetext>*** Bug 502454 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2425159</commentid>
    <comment_count>3</comment_count>
    <who name="postix">postix</who>
    <bug_when>2025-05-18 12:55:27 +0000</bug_when>
    <thetext>Can confirm on 6.3.6. Unfortunately I have to use
```
sshfs user@host:/ mymount
```
which let Plasmashell freeze if the host is not responding (fast enough), as I can&apos;t mount the remote directory due to bug #504148.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2425163</commentid>
    <comment_count>4</comment_count>
    <who name="Kai Uwe Broulik">kde</who>
    <bug_when>2025-05-18 13:07:23 +0000</bug_when>
    <thetext>Confirmed. KFilePlacesModel (presumably from Notifications) reloads its list upon a new device appearing, querying mountpoints to find KDE Connect (which is also sshfs) and then blocking on a statvfs on that defunct sshfs mount.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2425185</commentid>
    <comment_count>5</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-05-18 15:31:38 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1897</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2429402</commentid>
    <comment_count>6</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-06-01 07:29:58 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1906</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2430110</commentid>
    <comment_count>7</comment_count>
    <who name="Kai Uwe Broulik">kde</who>
    <bug_when>2025-06-03 23:55:54 +0000</bug_when>
    <thetext>Git commit a00d12417064be64cdda93eb8bf73fffc3e5fb41 by Kai Uwe Broulik.
Committed on 03/06/2025 at 15:19.
Pushed by broulik into branch &apos;master&apos;.

KFilePlacesItem: Try harder not to check for KDE Connect

KMountPoint might block in statvfs on a broken sshfs mount.

We know that KDE Connect mounts into XDG_RUNTIME_DIR, so any
other mount can&apos;t be it. Furthermore, if the place has been
hidden before we don&apos;t need to do any of this.

M  +23   -12   src/filewidgets/kfileplacesitem.cpp

https://invent.kde.org/frameworks/kio/-/commit/a00d12417064be64cdda93eb8bf73fffc3e5fb41</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2433625</commentid>
    <comment_count>8</comment_count>
    <who name="">grundik</who>
    <bug_when>2025-06-17 13:34:50 +0000</bug_when>
    <thetext>Im sorry for maybe dumb question, but... Why this situation is even possible? How could it be, if single operation in a plugin causes blocking the whole plasma? Shouldnt it be done in separate thread in the first place?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2434780</commentid>
    <comment_count>9</comment_count>
    <who name="Germano Massullo (Thetra)">germano.massullo</who>
    <bug_when>2025-06-21 09:17:32 +0000</bug_when>
    <thetext>I cannot reproduce anylonger the bug on Plasma 6.4.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2434817</commentid>
    <comment_count>10</comment_count>
    <who name="postix">postix</who>
    <bug_when>2025-06-21 12:03:34 +0000</bug_when>
    <thetext>Looks like Plasmashell indeed no longer freezes, just Dolphin still doesn&apos;t open until the connection is established  or aborted.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>