<?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>469397</bug_id>
          
          <creation_ts>2023-05-05 19:48:38 +0000</creation_ts>
          <short_desc>Changing view mode on sshfs mountpoint freezes Dolphin</short_desc>
          <delta_ts>2025-06-16 13:43:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>dolphin</product>
          <component>general</component>
          <version>22.12.3</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=423187</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>efficiency-and-performance</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>504984</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Nicolai Weitkemper">kde-bugs</reporter>
          <assigned_to name="Dolphin Bug Assignee">dolphin-bugs-null</assigned_to>
          <cc>bugseforuns</cc>
    
    <cc>dolphin-bugs-null</cc>
    
    <cc>kde-bugs</cc>
    
    <cc>kdedev</cc>
    
    <cc>nate</cc>
    
    <cc>postix</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2228310</commentid>
    <comment_count>0</comment_count>
    <who name="Nicolai Weitkemper">kde-bugs</who>
    <bug_when>2023-05-05 19:48:38 +0000</bug_when>
    <thetext>SUMMARY
When I mount my TrueNAS server&apos;s pool directory using sshfs, Dolphin thinks I can write into it (right-click shows the &quot;create new file&quot; option), but actually can&apos;t (gives an error message). If per-directory view modes are enabled, Dolphin therefore tries to save a .directory file upon change, but fails and freezes. 
This seems to be the relevant part of code: https://invent.kde.org/system/dolphin/-/blob/master/src/views/viewproperties.cpp#L78


STEPS TO REPRODUCE
1. Have a TrueNAS instance or presumably any remote server where a directory is not writable (i.e., one cannot create a file in this very directory)
2. sshfs serveraddress:/mnt/mypool /path/to/mountpoint
3. Open /path/to/mountpoint in Dolphin
4. Change the view mode

OBSERVED RESULT
Dolphin freezes

EXPECTED RESULT
Dolphin silently handles the error (and saves the config elsewhere). 
Ideally, it also detects that the directory is not actually writable and hides menu options accordingly, although I am not sure who is to blame in this case.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro 22.1.0
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Related: https://bugs.kde.org/show_bug.cgi?id=214560</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2228347</commentid>
    <comment_count>1</comment_count>
    <who name="Nicolai Weitkemper">kde-bugs</who>
    <bug_when>2023-05-05 22:19:07 +0000</bug_when>
    <thetext>Permalink to the previously mentioned line of code: https://invent.kde.org/system/dolphin/-/blob/8e85fbb70c4b2e15eb13a8e30753c4c6bdeb1007/src/views/viewproperties.cpp#L78</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2431916</commentid>
    <comment_count>2</comment_count>
    <who name="TraceyC">kdedev</who>
    <bug_when>2025-06-10 17:54:07 +0000</bug_when>
    <thetext>Thanks for the bug report. I&apos;m sorry we weren&apos;t able to get to this yet. There have been many fixes and improvements since this was reported, and this issue may have been fixed.

Can you please re-test on your system with Dolphin 25.04.1 or later and let us know if you can still reproduce the problem? If you can, please set this report back to REPORTED. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2433388</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-06-16 13:43:56 +0000</bug_when>
    <thetext>Unfortunately I don&apos;t think there&apos;s any reason to expect that this has gotten better on its own; returning to REPORTED status.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>