<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/104641/">http://git.reviewboard.kde.org/r/104641/</a>
     </td>
    </tr>
   </table>
   <br />





 <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">This review has been submitted with commit 2e0a5041d042b12b4c24afe3aa6ab1f590f5d97c by Bastian Leyer to branch master.</pre>
 <br />







<p>- Commit</p>


<br />
<p>On May 1st, 2012, 8:48 p.m., Bastian Leyer wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for KDevelop.</div>
<div>By Bastian Leyer.</div>


<p style="color: grey;"><i>Updated May 1, 2012, 8:48 p.m.</i></p>






<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">KDevelop rewrite the .kdev4 file after opening a project.
The project name I entered in the project information dialog is replaced with the directory name.



Steps to Reproduce:
1. Create a project directory named "myproject"
2. Create in the project directory the directories "trunk" and "branches"
3. Create in the "trunk" directory a file named "makefile"
4. Import the Project by selecting the makefile
5. Enter the project name "My Project" in the "Project information" dialog
6. Everything's fine. KDevelop shows in the 'Projects' toolview the correct project name
7. Close the project
8. Reopen the project by selecting the .kdev4 file in the trunk directory
9. Oops...now the project is named "trunk"
10. Look into the .kdev4 file. The project configuration now contains the project name "trunk"

another scenario:
1. Select Project->New From Template
2. Choose a "Standard Terminal" application
3. Use the project name "myproject"
4. Ignore the "Version Control" Page and finish the wizard
5. Use the "build directory" default settings
6. The new project is now shown as "myproject"
7. Close the project
8. Rename the project directory to "foobar"
9. Reopen the project with the .kdev4 file
10. Now the project is named "foobar"</pre>
  </td>
 </tr>
</table>




<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>


 <a href="http://bugs.kde.org/show_bug.cgi?id=https://bugs.kde.org/show_bug.cgi?id=298263">https://bugs.kde.org/show_bug.cgi?id=298263</a>


</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>shell/projectcontroller.cpp <span style="color: grey">(38084df)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/104641/diff/" style="margin-left: 3em;">View Diff</a></p>




  </td>
 </tr>
</table>








  </div>
 </body>
</html>