<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/109986/">http://git.reviewboard.kde.org/r/109986/</a>
     </td>
    </tr>
   </table>
   <br />




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

<div>Review request for KDevelop.</div>
<div>By Sebastian Kügler.</div>







<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;">This patch changes the categorization in KDevelop's Documents sidebar to categorizing by path, not by mimetype anymore.

The problems with sorting by mimetypes are:

- files that are related to each other are often far away in the UI
- there are often files with the same name right underneath each other, making picking the right one almost impossible

With this patch, the sidebar is organized per path, in alphabetical order. This makes the location of a file in the UI more predictable, groups file in a more meaningful way.


I've asked a few people on IRC about this, nobody was particularly attached to the current design, so I changed the current one, instead of adding a new plugin. (It makes sense to me personally as well, I don't see how categorization by mimetype there is useful, but my use case is rather limited).

Please give it a try, tell me what you think of it. You can find the code in the sebas/sidebar branch in kdevplatform.</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </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;">Tested with my actual projects, behaviour feels much better, I now (kind of ;)) enjoy the sidebar, rather than outright hating it. :-)

I didn't notice any particular misbehaviour or breakage, performance also doesn't seem to be a problem.</pre>
  </td>
 </tr>
</table>




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

 <li>plugins/documentview/kdevdocumentviewdelegate.cpp <span style="color: grey">(b172ac0d5b2c1a60cbd45d26e30b72ef725d8678)</span></li>

 <li>plugins/documentview/kdevdocumentview.desktop.cmake <span style="color: grey">(a89e79e18a9b79becd669813ead2d2e31f588a4d)</span></li>

 <li>plugins/documentview/kdevdocumentview.cpp <span style="color: grey">(b8c4a02ad31fb8aaf29691d7d7d991c4b699360e)</span></li>

 <li>plugins/documentview/kdevdocumentview.h <span style="color: grey">(e237f1050aee6c4ef383c809d929b524f94cb938)</span></li>

 <li>plugins/documentview/kdevdocumentmodel.cpp <span style="color: grey">(b411a815680ee92d8eaf81b19266f24c6b4a4f13)</span></li>

 <li>plugins/documentview/kdevdocumentmodel.h <span style="color: grey">(05cff452c403156cd53e9caaf029d6bbcd394862)</span></li>

</ul>

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







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




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