<?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>328244</bug_id>
          
          <creation_ts>2013-11-30 10:31:16 +0000</creation_ts>
          <short_desc>Swap file handling options</short_desc>
          <delta_ts>2013-12-28 14:52:27 +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>unspecified</version>
          <rep_platform>unspecified</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>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="David Bobb">zeroangelmk1</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          <cc>code</cc>
    
    <cc>michal.humpula</cc>
          
          <cf_commitlink>http://commits.kde.org/kate/5bc16f7edf1fda6db33cdd8cbe96122f595c510b</cf_commitlink>
          <cf_versionfixedin>5.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1415293</commentid>
    <comment_count>0</comment_count>
    <who name="David Bobb">zeroangelmk1</who>
    <bug_when>2013-11-30 10:31:16 +0000</bug_when>
    <thetext>The current implementation of swap files stores the files directly in the folder that the document is stored in. This creates problems with syncronizing the file to cloud storage services or even backup services, including log file and notification spamming as well as additional network i/o which may not be wanted. 

My first suggestion is to allow the swap file to write to be written the local tmpfs instead of the current folder. 

My second solution is to change the checkbox element &apos;Disable Swapfile Syncing&apos; to something like this:

Periodic Backups: [ Do Not Use | Back up to document folder | Back up to temporary file system ]
Backup Interval: # minutes (Precise to 0.1 minutes)

Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1416367</commentid>
    <comment_count>1</comment_count>
    <who name="Felix Walter">code</who>
    <bug_when>2013-12-04 11:12:16 +0000</bug_when>
    <thetext>+1
Known problem. See also bug #321135 and bug #258897 ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1421076</commentid>
    <comment_count>2</comment_count>
    <who name="Michal Humpula">michal.humpula</who>
    <bug_when>2013-12-28 14:48:29 +0000</bug_when>
    <thetext>Git commit 5bc16f7edf1fda6db33cdd8cbe96122f595c510b by Michal Humpula.
Committed on 23/12/2013 at 17:59.
Pushed by michalhumpula into branch &apos;frameworks&apos;.

add posibility to change swap file location

REVIEW: 114229
Related: bug 321135

M  +67   -4    part/dialogs/katedialogs.cpp
M  +1    -0    part/dialogs/katedialogs.h
M  +132  -26   part/dialogs/opensaveconfigadvwidget.ui
M  +4    -3    part/document/katedocument.cpp
M  +21   -8    part/swapfile/kateswapfile.cpp
M  +73   -14   part/utils/kateconfig.cpp
M  +22   -4    part/utils/kateconfig.h

http://commits.kde.org/kate/5bc16f7edf1fda6db33cdd8cbe96122f595c510b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>