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

List:       kde-panel-devel
Subject:    Re: Review Request 114910: Patch for bug 317066 ("systray leaves garbage on the panel when resizing 
From:       "Dmitry Ivanov" <dm.vl.ivanov () gmail ! com>
Date:       2014-07-29 21:03:08
Message-ID: 20140729210308.15440.57814 () probe ! kde ! org
[Download RAW message or body]

--===============2564838757745324280==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit


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

(Updated July 29, 2014, 9:03 p.m.)


Status
------

This change has been marked as submitted.


Review request for kde-workspace and Plasma.


Bugs: 317066
    http://bugs.kde.org/show_bug.cgi?id=317066


Repository: kde-workspace


Description
-------

It is a proposed fix for bug 317066. The fix is a very simple one-liner setting \
FullViewportUpdate mode for FdoGraphicsWidget. I'm aware FullViewportUpdate has negative \
performance impact but I also know it efficiently leaves out any graphical glitches happening \
due to no repaint of widget when necessary (which is what the bug is about). I have tested my \
solution for a couple of days: the bug no longer reproduced and I also didn't see any \
noticeable performance problems. I'm still not sure what I propose is acceptable since it may \
seem like a hack to more experienced developers, however I just didn't want my patch attempt to \
get lost and forgotten in the bugzilla. Please have a look and decide whether the patch is good \
enough to be applied to the next bugfixing release of KDE 4.x series, thank you. 


Diffs
-----

  plasma/generic/applets/systemtray/protocols/fdo/fdographicswidget.cpp 1baa23d 

Diff: https://git.reviewboard.kde.org/r/114910/diff/


Testing
-------

I rebuilt plasma_applet_systemtray.so with the patch and replaced the package version with it \
(I'm on Linux Mint 16 KDE, x86_64, KDE 4.11.3). So far I can no longer reproduce bug 317066 and \
I don't see any noticeable performance problems of system tray applet. 


Thanks,

Dmitry Ivanov


--===============2564838757745324280==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit




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




<table bgcolor="#e0e0e0" width="100%" cellpadding="12" style="border: 1px gray solid; \
border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;">  <tr>
  <td>
   <h1 style="margin: 0; padding: 0; font-size: 10pt;">This change has been marked as \
submitted.</h1>  </td>
 </tr>
</table>
<br />


<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: 1px \
#888a85 solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;">  <tr>
  <td>

<div>Review request for kde-workspace and Plasma.</div>
<div>By Dmitry Ivanov.</div>


<p style="color: grey;"><i>Updated July 29, 2014, 9:03 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=317066">317066</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;">It is a proposed fix \
for bug 317066. The fix is a very simple one-liner setting FullViewportUpdate mode for \
FdoGraphicsWidget. I&#39;m aware FullViewportUpdate has negative performance impact but I also \
know it efficiently leaves out any graphical glitches happening due to no repaint of widget \
when necessary (which is what the bug is about). I have tested my solution for a couple of \
days: the bug no longer reproduced and I also didn&#39;t see any noticeable performance \
problems. I&#39;m still not sure what I propose is acceptable since it may seem like a hack to \
more experienced developers, however I just didn&#39;t want my patch attempt to get lost and \
forgotten in the bugzilla. Please have a look and decide whether the patch is good enough to be \
applied to the next bugfixing release of KDE 4.x series, thank you. <  /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;">I rebuilt \
plasma_applet_systemtray.so with the patch and replaced the package version with it (I&#39;m on \
Linux Mint 16 KDE, x86_64, KDE 4.11.3). So far I can no longer reproduce bug 317066 and I \
don&#39;t see any noticeable performance problems of system tray applet. </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/systemtray/protocols/fdo/fdographicswidget.cpp <span style="color: \
grey">(1baa23d)</span></li>

</ul>

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






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




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


--===============2564838757745324280==--



_______________________________________________
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