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

List:       kde-panel-devel
Subject:    Re: Review Request 115409: Workaround battery detection at runtime
From:       "Christoph Feck" <christoph () maxiom ! de>
Date:       2014-03-07 12:19:34
Message-ID: 20140307121934.2613.17844 () probe ! kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115409/#review52338
-----------------------------------------------------------



plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml
<https://git.reviewboard.kde.org/r/115409/#comment37055>

    Removal of this causes two other regressions: bug 331797, bug 331831.
    
    I re-added the "onDataChanged:" handling and both bugs are gone, but I only have \
a single battery, so I cannot test if bug 324847 is still fixed.


- Christoph Feck


On Feb. 15, 2014, 10:19 p.m., Kai Uwe Broulik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115409/
> -----------------------------------------------------------
> 
> (Updated Feb. 15, 2014, 10:19 p.m.)
> 
> 
> Review request for Plasma, Solid and Sebastian Kügler.
> 
> 
> Bugs: 324847
> http://bugs.kde.org/show_bug.cgi?id=324847
> 
> 
> Repository: kde-workspace
> 
> 
> Description
> -------
> 
> For some reason when a new battery appears (eg. mouse plugged in), the battery does \
> not appear right away in the battery monitor. It appears instantly in \
> plasmaengineexplorer, however. I am really clueless on to what causes this, so I \
> just throw this patch in for enlightenment as it sort of makes it work. :/ 
> 
> Diffs
> -----
> 
> plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml c1c0169 
> 
> Diff: https://git.reviewboard.kde.org/r/115409/diff/
> 
> 
> Testing
> -------
> 
> Has some minor glitches, please see bugreport.
> 
> 
> Thanks,
> 
> Kai Uwe Broulik
> 
> 


[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="https://git.reviewboard.kde.org/r/115409/">https://git.reviewboard.kde.org/r/115409/</a>
  </td>
    </tr>
   </table>
   <br />











<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="https://git.reviewboard.kde.org/r/115409/diff/1/?file=241087#file241087line75" \
style="color: black; font-weight: bold; text-decoration: \
underline;">plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml</a>  \
<span style="font-weight: normal;">

     (Diff revision 1)

    </span>
   </th>
  </tr>
 </thead>



 
 

 <tbody>

  <tr>
    <th bgcolor="#ebb1ba" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2">75</font></th>  <td bgcolor="#ffc5ce" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; ">        <span \
class="k">onDataChanged:</span> <span class="p">{</span></pre></td>  <th \
bgcolor="#ebb1ba" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2"></font></th>  <td bgcolor="#ffc5ce" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  \
</tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Removal of \
this causes two other regressions: bug 331797, bug 331831.

I re-added the &quot;onDataChanged:&quot; handling and both bugs are gone, but I only \
have a single battery, so I cannot test if bug 324847 is still fixed.</pre> </div>
<br />



<p>- Christoph Feck</p>


<br />
<p>On February 15th, 2014, 10:19 p.m. UTC, Kai Uwe Broulik wrote:</p>








<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('https://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 Plasma, Solid and Sebastian Kügler.</div>
<div>By Kai Uwe Broulik.</div>


<p style="color: grey;"><i>Updated Feb. 15, 2014, 10:19 p.m.</i></p>







<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=324847">324847</a>


</div>



<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
kde-workspace
</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;">For some reason when a new battery appears (eg. mouse plugged in), the \
battery does not appear right away in the battery monitor. It appears instantly in \
plasmaengineexplorer, however. I am really clueless on to what causes this, so I just \
throw this patch in for enlightenment as it sort of makes it work. :/</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;">Has some minor glitches, please see bugreport.</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>plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml <span \
style="color: grey">(c1c0169)</span></li>

</ul>

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







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








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



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


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

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