<?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>329258</bug_id>
          
          <creation_ts>2013-12-26 22:44:20 +0000</creation_ts>
          <short_desc>&quot;save as&quot; of a file with a name containing a &quot; (double quote) character saves under truncated name</short_desc>
          <delta_ts>2018-04-10 21:57:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kfile</product>
          <component>general</component>
          <version>4.12.0</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>185433</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="realnobody">kdespam34fb987</reporter>
          <assigned_to name="kdelibs bugs">kdelibs-bugs-null</assigned_to>
          <cc>nate</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>1420744</commentid>
    <comment_count>0</comment_count>
    <who name="realnobody">kdespam34fb987</who>
    <bug_when>2013-12-26 22:44:20 +0000</bug_when>
    <thetext>&quot;save as&quot; of a file with a name containing a &quot; (double quote) character saves under truncated name

Reproducible: Always

Steps to Reproduce:
1. have a file test&quot;ooo&quot;bar.txt (see test case file)
2. open in kwrite (4.12.0 and KDE base same version)
3. file → save as → ok
Actual Results:  
saved into a new file named ooo.

Expected Results:  
file gets  saved under the old file name (as shown in the dialog window)

Same happens for saving in the KDE program okular (when a file name is asked for).
A simple &quot;save&quot; works as expected.

Impact: could lead to data loss if it is not noticed that the desired and old name was not used for the saved (possibly altered) data.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1420745</commentid>
    <comment_count>1</comment_count>
      <attachid>84285</attachid>
    <who name="realnobody">kdespam34fb987</who>
    <bug_when>2013-12-26 22:45:51 +0000</bug_when>
    <thetext>Created attachment 84285
test case file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1420746</commentid>
    <comment_count>2</comment_count>
    <who name="realnobody">kdespam34fb987</who>
    <bug_when>2013-12-26 22:47:46 +0000</bug_when>
    <thetext>Maybe it is related to bug 185433 (see comment 7 there), but that bug is about opening multiple files.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1420747</commentid>
    <comment_count>3</comment_count>
    <who name="realnobody">kdespam34fb987</who>
    <bug_when>2013-12-26 22:49:21 +0000</bug_when>
    <thetext>forget this useless attachment (no file name)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1420750</commentid>
    <comment_count>4</comment_count>
    <who name="realnobody">kdespam34fb987</who>
    <bug_when>2013-12-26 23:05:40 +0000</bug_when>
    <thetext>same happens for kwrite/KDE 4.11.4 (also ArchLinux)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1744565</commentid>
    <comment_count>5</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-04-10 21:57:58 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 185433 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>84285</attachid>
            <date>2013-12-26 22:45:51 +0000</date>
            <delta_ts>2013-12-26 22:45:51 +0000</delta_ts>
            <desc>test case file</desc>
            <filename></filename>
            <type>text/plain</type>
            <size>35</size>
            <attacher name="realnobody">kdespam34fb987</attacher>
            
              <data encoding="base64">bm8gY29udGVudCBoZXJlLCBubywgcmVhbGx5IG5vdC4uLi4=
</data>

          </attachment>
      

    </bug>

</bugzilla>