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

List:       kwin
Subject:    Re: Review Request 109075: Rewrite of Scale In effect to JavaScript
From:       Thomas_Lübking <thomas.luebking () gmail ! com>
Date:       2013-03-05 21:29:49
Message-ID: 20130305212949.7692.68611 () vidsolbach ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> On March 5, 2013, 8:57 p.m., Thomas Lübking wrote:
> > kwin/effects/scalein/package/contents/code/main.js, line 62
> > <http://git.reviewboard.kde.org/r/109075/diff/6/?file=117135#file117135line62>
> > 
> > Not that it would actually belong here, but try hooking on windowClosed with \
> > opacity -> 0.0 and scale -> 1.1
> 
> Kai Uwe Broulik wrote:
> You want the windows to fly towards you when closing them?
> 
> Thomas Lübking wrote:
> Because of the fade-out that'S not the perceived effect. Just try :)

PS: use sth. like OutCubic


- Thomas


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


On March 5, 2013, 8:31 p.m., Kai Uwe Broulik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109075/
> -----------------------------------------------------------
> 
> (Updated March 5, 2013, 8:31 p.m.)
> 
> 
> Review request for kwin.
> 
> 
> Description
> -------
> 
> This patch re-implements the Scale In effect in JavaScript.
> 
> We probably need some sort of update script? Since the current effect is just \
> scalein.desktop while this one is now kwin4_effect_scalein.desktop 
> 
> Diffs
> -----
> 
> kwin/effects/CMakeLists.txt 6d2457c 
> kwin/effects/scalein/CMakeLists.txt 6a16861 
> kwin/effects/scalein/package/CMakeLists.txt PRE-CREATION 
> kwin/effects/scalein/package/contents/code/main.js PRE-CREATION 
> kwin/effects/scalein/package/metadata.desktop PRE-CREATION 
> kwin/effects/scalein/scalein.cpp e78b0b2 
> kwin/effects/scalein/scalein.desktop a084435 
> kwin/effects/scalein/scalein.h 0b3ae56 
> 
> Diff: http://git.reviewboard.kde.org/r/109075/diff/
> 
> 
> Testing
> -------
> 
> On OpenGL it works as expected (windows zoom in, but for instance Plasma popups \
> don't) but on my lightdm --test-mode session which only supports XRender, also the \
> Plasma popups zoom in. Couldn't figure out why that is. 
> 
> 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="http://git.reviewboard.kde.org/r/109075/">http://git.reviewboard.kde.org/r/109075/</a>
  </td>
    </tr>
   </table>
   <br />










<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <p style="margin-top: 0;">On March 5th, 2013, 8:57 p.m. UTC, <b>Thomas \
Lübking</b> wrote:</p>  <blockquote style="margin-left: 1em; border-left: 2px solid \
#d0d0d0; padding-left: 10px;">  



<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="http://git.reviewboard.kde.org/r/109075/diff/6/?file=117135#file117135line62" \
style="color: black; font-weight: bold; text-decoration: \
underline;">kwin/effects/scalein/package/contents/code/main.js</a>  <span \
style="font-weight: normal;">

     (Diff revision 6)

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



 
 

 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">62</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">        <span \
class="nx">effects</span><span class="p">.</span><span \
class="nx">windowAdded</span><span class="p">.</span><span \
class="nx">connect</span><span class="p">(</span><span \
class="nx">scaleInEffect</span><span class="p">.</span><span \
class="nx">added</span><span class="p">);</span></pre></td>  </tr>

 </tbody>

</table>

  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Not that it would \
actually belong here, but try hooking on windowClosed with opacity -&gt; 0.0 and \
scale -&gt; 1.1</pre>  </blockquote>



 <p>On March 5th, 2013, 9:01 p.m. UTC, <b>Kai Uwe Broulik</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">You want the windows to \
fly towards you when closing them?</pre>  </blockquote>





 <p>On March 5th, 2013, 9:07 p.m. UTC, <b>Thomas Lübking</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Because of the fade-out \
that&#39;S not the perceived effect. Just try :)</pre>  </blockquote>







</blockquote>
<pre style="margin-left: 1em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">PS: use \
sth. like OutCubic</pre> <br />




<p>- Thomas</p>


<br />
<p>On March 5th, 2013, 8:31 p.m. UTC, Kai Uwe Broulik 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 kwin.</div>
<div>By Kai Uwe Broulik.</div>


<p style="color: grey;"><i>Updated March 5, 2013, 8:31 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;">This patch re-implements the Scale In effect in JavaScript.

We probably need some sort of update script? Since the current effect is just \
scalein.desktop while this one is now kwin4_effect_scalein.desktop</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;">On OpenGL it works as expected (windows zoom in, but for instance Plasma \
popups don&#39;t) but on my lightdm --test-mode session which only supports XRender, \
also the Plasma popups zoom in. Couldn&#39;t figure out why that is.</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>kwin/effects/CMakeLists.txt <span style="color: grey">(6d2457c)</span></li>

 <li>kwin/effects/scalein/CMakeLists.txt <span style="color: \
grey">(6a16861)</span></li>

 <li>kwin/effects/scalein/package/CMakeLists.txt <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>kwin/effects/scalein/package/contents/code/main.js <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>kwin/effects/scalein/package/metadata.desktop <span style="color: \
grey">(PRE-CREATION)</span></li>

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

 <li>kwin/effects/scalein/scalein.desktop <span style="color: \
grey">(a084435)</span></li>

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

</ul>

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