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

List:       kwin
Subject:    Re: Review Request: Only reserve required electric borders for ElectricAlways
From:       Thomas_Lübking <thomas.luebking () web ! de>
Date:       2012-02-25 1:49:51
Message-ID: 20120225014951.8723.70167 () 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/104073/
-----------------------------------------------------------

(Updated Feb. 25, 2012, 1:49 a.m.)


Review request for kwin, Martin Gräßlin and Philip Turmel.


Changes
-------

Fix refcounting
Fix border condition ( " > 0", tsts.. too much C++)
Add preproc defs

Tested by printing debug messages - the borders are there when they should and not \
otherwise


Description
-------

In competition to http://git.reviewboard.kde.org/r/104070/
This only reserves the electric borders that are actually required, depending on the \
configured desktop matrix.

I tested, but Philip should best try VBox as well


This addresses bug 293011.
    http://bugs.kde.org/show_bug.cgi?id=293011


Diffs (updated)
-----

  kwin/desktoplayout.cpp 7578559 
  kwin/effects.h f4ad2fb 
  kwin/effects.cpp 6c252c9 
  kwin/geometry.cpp d9ae97a 
  kwin/libkwineffects/kwineffects.h 780cc89 
  kwin/scene.cpp 0541198 
  kwin/screenedge.h cf08164 
  kwin/screenedge.cpp 9734a1e 
  kwin/workspace.h d5942dc 
  kwin/workspace.cpp b4fd277 

Diff: http://git.reviewboard.kde.org/r/104073/diff/


Testing
-------

2x2 - works
1x4 - works, autohiding panel with 1px proxy works


Thanks,

Thomas Lübking


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


<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://git.reviewboard.kde.org/media/rb/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 kwin, Martin Gräßlin and Philip Turmel.</div>
<div>By Thomas Lübking.</div>


<p style="color: grey;"><i>Updated Feb. 25, 2012, 1:49 a.m.</i></p>



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Changes</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;">Fix refcounting Fix border condition ( &quot; &gt; 0&quot;, tsts.. too \
much C++) Add preproc defs

Tested by printing debug messages - the borders are there when they should and not \
otherwise</pre>  </td>
 </tr>
</table>




<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 competition to http://git.reviewboard.kde.org/r/104070/ This only \
reserves the electric borders that are actually required, depending on the configured \
desktop matrix.

I tested, but Philip should best try VBox as well</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;">2x2 - works 1x4 - works, autohiding panel with 1px proxy works</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="http://bugs.kde.org/show_bug.cgi?id=293011">293011</a>


</div>


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

 <li>kwin/desktoplayout.cpp <span style="color: grey">(7578559)</span></li>

 <li>kwin/effects.h <span style="color: grey">(f4ad2fb)</span></li>

 <li>kwin/effects.cpp <span style="color: grey">(6c252c9)</span></li>

 <li>kwin/geometry.cpp <span style="color: grey">(d9ae97a)</span></li>

 <li>kwin/libkwineffects/kwineffects.h <span style="color: \
grey">(780cc89)</span></li>

 <li>kwin/scene.cpp <span style="color: grey">(0541198)</span></li>

 <li>kwin/screenedge.h <span style="color: grey">(cf08164)</span></li>

 <li>kwin/screenedge.cpp <span style="color: grey">(9734a1e)</span></li>

 <li>kwin/workspace.h <span style="color: grey">(d5942dc)</span></li>

 <li>kwin/workspace.cpp <span style="color: grey">(b4fd277)</span></li>

</ul>

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




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




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



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


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

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