Bug 97235

Summary: image files are corrupted by kdevelop-3.1.x on creating an instance of new project
Product: [Developer tools] kdevplatform Reporter: slackers <slackers>
Component: appwizardAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description slackers 2005-01-17 13:51:49 UTC
Version:           3.1.0 (using KDE KDE 3.3.0)
Installed from:    RedHat RPMs
OS:                Linux

i have created an "open inventor" project template for kdev 3.1.x, but on creating an instance of this project, which requires a jpg/png file for texture to be used for the initial program, kdevelop corrupts these image files!!! 

i did my own investigation to see whats causing it and found out kdev does not install any image file correctly when creating a project!!! this includes the default projects thats shipped with the package.
Comment 1 Jens Dagerbo 2005-01-17 17:58:33 UTC
Confirmed.

The problem is in AppWizardDialog::copyFile(), all files are copied as text.
Comment 2 slackers 2005-03-05 15:34:02 UTC
or may be it is not a problem. that was then intention. later found out that kdev does macro expansion for all files unless it is marked Process=false in the template
Comment 3 Jens Dagerbo 2005-05-24 15:57:45 UTC
Yes, files that shouldn't me processed for macro expansion should be marked with "Process=false" in the template description file. However, this appears to not always work as intended. Which means there IS a bug, if not the exact one reported.
Comment 4 Sascha Cunz 2005-10-20 21:37:07 UTC
As i tested together with Jens Dagerbo, the "Process=false" thing works nowadays. (And i actually doubt it ever failed unless there was a bug in KIO or a typo in the scripts.)

However, i've added the "Process=false" to all templates for all binary files that i found. This fix is commited for KDevelop4 branch and KDevelop3.4 branch; i'm waiting for approval, i can commit it to KDevelop3.3 (Which will go out with KDE3.5). So I'm going to close this.