Bug 297001

Summary: New text files not named properly when created
Product: [Applications] dolphin Reporter: Jared B. <nitro>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: normal CC: adaptee
Priority: NOR    
Version: 2.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jared B. 2012-03-29 00:34:18 UTC
If I try to create a new text file through Dolphin, I cannot name it <whatever>.txt.  If I try to add the .txt extension, Dolphin will rename the file to <whatever>.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 -> filename)
* Using unknown/unregistered extensions works as expected (eg., filename.bat -> filename.bat)
* Using known/registered extensions triggers the bug (eg., filename.sh -> filename.sh.desktop, filename.jpg -> filename.jpg.desktop, etc.)

This is with KDE 4.8.1.
Comment 1 Jekyll Wu 2012-03-29 07:43:28 UTC

*** This bug has been marked as a duplicate of bug 295490 ***