I can confirm this behavior in nautilus 1:2.22.3-0ubuntu2 on hardy.
Steps to reproduce:
1. Open Nautilus to home directory
2. Create a new file in Nautilus Right click -> Create Document -> empty file
3. Name the file foo.theme
4. Edit the file (double click) - add several lines of text.
5. Rename the file to foo.bar
Note that Isaac made a typo above in step 3. You must create a .theme file originally (not .txt) and then rename it to some other extension.
This bug causes data loss as a user does not expect the behavior nor is he warned by nautilus that it is going to overwrite the contents of the file.
I can confirm this behavior in nautilus 1:2.22.3-0ubuntu2 on hardy.
Steps to reproduce:
1. Open Nautilus to home directory
2. Create a new file in Nautilus Right click -> Create Document -> empty file
3. Name the file foo.theme
4. Edit the file (double click) - add several lines of text.
5. Rename the file to foo.bar
Note that Isaac made a typo above in step 3. You must create a .theme file originally (not .txt) and then rename it to some other extension.
This bug causes data loss as a user does not expect the behavior nor is he warned by nautilus that it is going to overwrite the contents of the file.