<?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>297001</bug_id>
          
          <creation_ts>2012-03-29 00:34:18 +0000</creation_ts>
          <short_desc>New text files not named properly when created</short_desc>
          <delta_ts>2012-03-29 07:43:28 +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>2.0</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>295490</dup_id>
          
          <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="Jared B.">nitro</reporter>
          <assigned_to name="Peter Penz">peter.penz19</assigned_to>
          <cc>adaptee</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>1240811</commentid>
    <comment_count>0</comment_count>
    <who name="Jared B.">nitro</who>
    <bug_when>2012-03-29 00:34:18 +0000</bug_when>
    <thetext>If I try to create a new text file through Dolphin, I cannot name it &lt;whatever&gt;.txt.  If I try to add the .txt extension, Dolphin will rename the file to &lt;whatever&gt;.txt.desktop.

To repeat:
1. In Dolphin, right-click in an empty part of the file browser pane
2. Select Create New, Text file...
3. Enter filename.txt, and press Enter

Notice that the output is named filename.txt.desktop instead of simply filename.txt.

Some other observactions:
* Using no extension works as expected (eg., filename -&gt; filename)
* Using unknown/unregistered extensions works as expected (eg., filename.bat -&gt; filename.bat)
* Using known/registered extensions triggers the bug (eg., filename.sh -&gt; filename.sh.desktop, filename.jpg -&gt; filename.jpg.desktop, etc.)

This is with KDE 4.8.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1240851</commentid>
    <comment_count>1</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2012-03-29 07:43:28 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 295490 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>