<?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>309751</bug_id>
          
          <creation_ts>2012-11-08 15:50:12 +0000</creation_ts>
          <short_desc>&quot;Disable swap file syncing&quot; disables swap files completely</short_desc>
          <delta_ts>2013-05-02 10:01:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kate</product>
          <component>general</component>
          <version>4.0</version>
          <rep_platform>Fedora RPMs</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>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Bram Vandoren">bram.vandoren</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          <cc>przemek.kobel</cc>
          
          <cf_commitlink>http://commits.kde.org/kate/f076a0de82a4534a42644c5f4aa8d914efad20cb</cf_commitlink>
          <cf_versionfixedin>4.10</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1313596</commentid>
    <comment_count>0</comment_count>
    <who name="Bram Vandoren">bram.vandoren</who>
    <bug_when>2012-11-08 15:50:12 +0000</bug_when>
    <thetext>If I enable &quot;Disable swap file syncing&quot;, kate disables the swap file is completely (it&apos;s not updated or created).

Reproducible: Always

Steps to Reproduce:
1. Enable &quot;disable swap files syncing&quot; in &quot;Configure Kate&quot; -&gt; Editor Component -&gt; Open/Save -&gt; Advanced
Actual Results:  
Swap file is completely disabled.

Expected Results:  
Only disable the fsync call.

The option should be renamed to &quot;disable swap file&quot;, fixed, or removed completely.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1313960</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Cullmann">christoph</who>
    <bug_when>2012-11-09 18:08:05 +0000</bug_when>
    <thetext>Git commit f076a0de82a4534a42644c5f4aa8d914efad20cb by Christoph Cullmann.
Committed on 09/11/2012 at 19:07.
Pushed by cullmann into branch &apos;master&apos;.

fix that disable swap file syncing caused no swap files at all
thanks for reporting this, stupid mistake

M  +2    -2    part/swapfile/kateswapfile.cpp

http://commits.kde.org/kate/f076a0de82a4534a42644c5f4aa8d914efad20cb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1361307</commentid>
    <comment_count>2</comment_count>
    <who name="Dominik Haumann">dhaumann</who>
    <bug_when>2013-04-16 14:53:06 +0000</bug_when>
    <thetext>*** Bug 309753 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1365685</commentid>
    <comment_count>3</comment_count>
    <who name="">przemek.kobel</who>
    <bug_when>2013-05-02 10:01:12 +0000</bug_when>
    <thetext>Actually, it was a quite useful &apos;mistake&apos; if you edit in directory mounted via sshfs. Right now such edits are not practical, since Kate is way too slow for this.

And I WAS using sshfs (not anymore after the &apos;fix&apos;), since it is the only way for Kate to remember folding state across sessions, since files opened in sftp/fish/ftp folders are always completely unfolded.

Now, if anyone could stop immediate auto-unfolding code after typing an opening quote...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>