Bug 415544 - wrong content when create new file with template
Summary: wrong content when create new file with template
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.08.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-25 08:53 UTC by coder-ingramyang
Modified: 2021-06-21 03:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description coder-ingramyang 2019-12-25 08:53:42 UTC
SUMMARY
Once you have created the template you need in your home directory, create a new related file using dolphin, and the contents of the file are replaced with dolphin's default content, such as a desktop file

STEPS TO REPRODUCE
1. make a demo.desktop file in /home/template
2. write lines in the file:
[Desktop Entry]
Name=xx
Comment=xx
Exec=xx
Icon=xx
Terminal=false
Type=Application
3. create new xx file in other location
4. open the new file, you'll find a different file content from template

OBSERVED RESULT
a different content with template

EXPECTED RESULT
a same content with template

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
Operating System: Manjaro Linux 
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2
Kernel Version: 5.3.15-1-MANJARO
OS Type: 64-bit
Processors: 6 × Intel® Core™ i5-9400 CPU @ 2.90GHz
Memory: 15.5 GiB
Comment 1 Justin Zobel 2021-06-21 03:18:04 UTC
Confirmed on dolphin from git master.