[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu-devel
Subject:    [kde-edu]: Re: Review Request: KTouch: Fix for "clear history" bug
From:       "Anne-Marie Mahfouf" <annma () kde ! org>
Date:       2011-02-26 13:22:24
Message-ID: 20110226132224.16257.14397 () vidsolbach ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/6549/#review9911
-----------------------------------------------------------


Hi Peter, when I use the Clear History button KTouch crashes with your paste in line \
158 of KTouchStatisticsDialog which is --last_it; and this goes out of range \
probably.

- Anne-Marie


On Feb. 25, 2011, 10:30 p.m., Peter Rüthemann wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/6549/
> -----------------------------------------------------------
> 
> (Updated Feb. 25, 2011, 10:30 p.m.)
> 
> 
> Review request for KDE-Edu.
> 
> 
> Summary
> -------
> 
> In the current version it's not possible to clear the statistics in the "training \
> statistics" window. Only a part of the statistics was cleared. 
> Changelog:
> - The fix clears the current statistics and refreshes the UI
> - The sessions restarts at the current level
> - The clearStatistics function has now a parameter. The parameter decides whether a \
> new session should be started or not. 
> This is my first bug fix. Let me know if I violated some coding rules.
> 
> Peter
> 
> 
> This addresses bug 149758.
> https://bugs.kde.org/show_bug.cgi?id=149758
> 
> 
> Diffs
> -----
> 
> /trunk/KDE/kdeedu/ktouch/src/ktouch.h 1222767 
> /trunk/KDE/kdeedu/ktouch/src/ktouch.cpp 1222767 
> /trunk/KDE/kdeedu/ktouch/src/ktouchstatisticsdialog.cpp 1222767 
> /trunk/KDE/kdeedu/ktouch/src/ui/ktouchkeyboardeditordialog.ui 1222767 
> 
> Diff: http://svn.reviewboard.kde.org/r/6549/diff
> 
> 
> Testing
> -------
> 
> Works with compiled KTouch.
> 
> 
> Thanks,
> 
> Peter
> 
> 


[Attachment #5 (text/html)]

<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://svn.reviewboard.kde.org/r/6549/">http://svn.reviewboard.kde.org/r/6549/</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;">Hi Peter, when I use the \
Clear History button KTouch crashes with your paste in line 158 of \
KTouchStatisticsDialog which is --last_it; and this goes out of range probably.</pre> \
<br />







<p>- Anne-Marie</p>


<br />
<p>On February 25th, 2011, 10:30 p.m., Peter Rüthemann wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://svn.reviewboard.kde.orgrb/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 KDE-Edu.</div>
<div>By Peter Rüthemann.</div>


<p style="color: grey;"><i>Updated Feb. 25, 2011, 10:30 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;">In the current version it&#39;s not possible to clear the statistics in \
the &quot;training statistics&quot; window. Only a part of the statistics was \
cleared.

Changelog:
- The fix clears the current statistics and refreshes the UI
- The sessions restarts at the current level
- The clearStatistics function has now a parameter. The parameter decides whether a \
new session should be started or not.

This is my first bug fix. Let me know if I violated some coding rules.

Peter
</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;">Works with compiled KTouch.</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="https://bugs.kde.org/show_bug.cgi?id=149758">149758</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>/trunk/KDE/kdeedu/ktouch/src/ktouch.h <span style="color: \
grey">(1222767)</span></li>

 <li>/trunk/KDE/kdeedu/ktouch/src/ktouch.cpp <span style="color: \
grey">(1222767)</span></li>

 <li>/trunk/KDE/kdeedu/ktouch/src/ktouchstatisticsdialog.cpp <span style="color: \
grey">(1222767)</span></li>

 <li>/trunk/KDE/kdeedu/ktouch/src/ui/ktouchkeyboardeditordialog.ui <span \
style="color: grey">(1222767)</span></li>

</ul>

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




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








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



_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic