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

List:       kde-edu-devel
Subject:    Re: Review Request 114006: Update min and max value at the same time in order to be more friendly wi
From:       "Yuri Chornoivan" <yurchor () ukr ! net>
Date:       2013-11-30 20:44:34
Message-ID: 20131130204434.21468.94658 () vidsolbach ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/114006/#review44904
-----------------------------------------------------------


Works as described here.

- Yuri Chornoivan


On Nov. 21, 2013, 7:20 p.m., Yichao Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/114006/
> -----------------------------------------------------------
> 
> (Updated Nov. 21, 2013, 7:20 p.m.)
> 
> 
> Review request for KDE Edu, Laurent Montel and Jeremy Whiting.
> 
> 
> Repository: kalzium
> 
> 
> Description
> -------
> 
> This patch makes the behavior while typing in the min/max boxes more friendly.
> 
> Currently if one types in the maximum value box, the minimum value will stuck at a \
> small value due to the small value in the maximum value box before one finish \
> typing. (I don't really call this a bug, but I think it is not friendly.) 
> This patch tries to update both the maximum and minimum values whenever one of them \
> changes (in the right order to always respect the one that changes) so that the \
> actual range displayed is always the closed possible to the input values. It also \
> covers the cases when min/max values change from illegal values to legal values \
> (max > min) in some other ways. 
> 
> Diffs
> -----
> 
> src/spectrumviewimpl.h c596154 
> src/spectrumviewimpl.cpp 0327202 
> src/spectrumwidget.h 5117d26 
> 
> Diff: http://git.reviewboard.kde.org/r/114006/diff/
> 
> 
> Testing
> -------
> 
> Compiles and fixes the problem.
> 
> 
> Thanks,
> 
> Yichao Yu
> 
> 


[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://git.reviewboard.kde.org/r/114006/">http://git.reviewboard.kde.org/r/114006/</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;">Works as described \
here.</pre>  <br />









<p>- Yuri Chornoivan</p>


<br />
<p>On November 21st, 2013, 7:20 p.m. UTC, Yichao Yu wrote:</p>








<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 KDE Edu, Laurent Montel and Jeremy Whiting.</div>
<div>By Yichao Yu.</div>


<p style="color: grey;"><i>Updated Nov. 21, 2013, 7:20 p.m.</i></p>









<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
kalzium
</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 makes the behavior while typing in the min/max boxes more \
friendly.

Currently if one types in the maximum value box, the minimum value will stuck at a \
small value due to the small value in the maximum value box before one finish typing. \
(I don&#39;t really call this a bug, but I think it is not friendly.)

This patch tries to update both the maximum and minimum values whenever one of them \
changes (in the right order to always respect the one that changes) so that the \
actual range displayed is always the closed possible to the input values. It also \
covers the cases when min/max values change from illegal values to legal values (max \
&gt; min) in some other ways. </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;">Compiles and fixes the 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>src/spectrumviewimpl.h <span style="color: grey">(c596154)</span></li>

 <li>src/spectrumviewimpl.cpp <span style="color: grey">(0327202)</span></li>

 <li>src/spectrumwidget.h <span style="color: grey">(5117d26)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/114006/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