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

List:       kwin
Subject:    Re: Review Request: Add appmenu support to kwin
From:       Bellegarde_Cédric <gnumdk () gmail ! com>
Date:       2012-08-31 13:45:54
Message-ID: 20120831134554.31891.62843 () 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/104344/
-----------------------------------------------------------

(Updated Aug. 31, 2012, 1:45 p.m.)


Review request for kwin.


Changes
-------

- Move menu availability cache to client as kcommondecoration is destroyed on button \
                re-positioning
- Add support for showRequest kded-appmenu signal for better menu placement when menu \
requested by application


Description
-------

Here a patch to add appmenu support to kwin via a menu button in titlebar

Works by Lionel Chauvin and me, original review request: \
https://git.reviewboard.kde.org/r/101162/

It depends on:
http://quickgit.kde.org/index.php?p=kded-appmenu.git

It looks like this:
https://www.youtube.com/watch?v=x1bm7Q6_SH4&hd=1

New version, all drawing code moved to kded-appmenu as asked.


Diffs (updated)
-----

  kwin/kcmkwin/kwindecoration/preview.h 52645fd 
  kwin/kcmkwin/kwindecoration/preview.cpp 587df7c 
  kwin/libkdecorations/kcommondecoration.h 3fe9fcf 
  kwin/libkdecorations/kcommondecoration.cpp 13a4c49 
  kwin/kcmkwin/kwindecoration/buttons.cpp 2d12244 
  kwin/clients/oxygen/oxygenbutton.h ea11717 
  kwin/clients/oxygen/oxygenbutton.cpp 28aa8b1 
  kwin/clients/oxygen/oxygenclient.h 98e60cc 
  kwin/clients/oxygen/oxygenclient.cpp 5fbb4fb 
  kwin/clients/oxygen/oxygenfactory.h b38b097 
  kwin/clients/oxygen/oxygenfactory.cpp 5502a6a 
  kwin/config-kwin.h.cmake e5ed2a6 
  kcontrol/style/kcmstyle.h cd1472f 
  kcontrol/style/kcmstyle.cpp 849a49b 
  kwin/CMakeLists.txt ce69e84 
  kwin/bridge.h 64108e5 
  kwin/bridge.cpp 32d4c84 
  kwin/client.h f31707b 
  kwin/client.cpp c541595 
  kcontrol/style/finetuning.ui 2d384bc 
  kwin/libkdecorations/kdecoration.h 614b902 
  kwin/libkdecorations/kdecoration.cpp 71f4f8d 
  kwin/libkdecorations/kdecorationbridge.h b7d0619 
  kwin/workspace.h 16630f7 
  kwin/workspace.cpp cf3f308 

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


Testing
-------


Thanks,

Bellegarde Cédric


[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/104344/">http://git.reviewboard.kde.org/r/104344/</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.</div>
<div>By Bellegarde Cédric.</div>


<p style="color: grey;"><i>Updated Aug. 31, 2012, 1:45 p.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;">- Move menu availability cache to client as kcommondecoration is \
                destroyed on button re-positioning
- Add support for showRequest kded-appmenu signal for better menu placement when menu \
requested by application</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;">Here a patch to add appmenu support to kwin via a menu button in \
titlebar

Works by Lionel Chauvin and me, original review request: \
https://git.reviewboard.kde.org/r/101162/

It depends on:
http://quickgit.kde.org/index.php?p=kded-appmenu.git

It looks like this:
https://www.youtube.com/watch?v=x1bm7Q6_SH4&amp;hd=1

New version, all drawing code moved to kded-appmenu as asked.</pre>
  </td>
 </tr>
</table>





<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/kcmkwin/kwindecoration/preview.h <span style="color: \
grey">(52645fd)</span></li>

 <li>kwin/kcmkwin/kwindecoration/preview.cpp <span style="color: \
grey">(587df7c)</span></li>

 <li>kwin/libkdecorations/kcommondecoration.h <span style="color: \
grey">(3fe9fcf)</span></li>

 <li>kwin/libkdecorations/kcommondecoration.cpp <span style="color: \
grey">(13a4c49)</span></li>

 <li>kwin/kcmkwin/kwindecoration/buttons.cpp <span style="color: \
grey">(2d12244)</span></li>

 <li>kwin/clients/oxygen/oxygenbutton.h <span style="color: \
grey">(ea11717)</span></li>

 <li>kwin/clients/oxygen/oxygenbutton.cpp <span style="color: \
grey">(28aa8b1)</span></li>

 <li>kwin/clients/oxygen/oxygenclient.h <span style="color: \
grey">(98e60cc)</span></li>

 <li>kwin/clients/oxygen/oxygenclient.cpp <span style="color: \
grey">(5fbb4fb)</span></li>

 <li>kwin/clients/oxygen/oxygenfactory.h <span style="color: \
grey">(b38b097)</span></li>

 <li>kwin/clients/oxygen/oxygenfactory.cpp <span style="color: \
grey">(5502a6a)</span></li>

 <li>kwin/config-kwin.h.cmake <span style="color: grey">(e5ed2a6)</span></li>

 <li>kcontrol/style/kcmstyle.h <span style="color: grey">(cd1472f)</span></li>

 <li>kcontrol/style/kcmstyle.cpp <span style="color: grey">(849a49b)</span></li>

 <li>kwin/CMakeLists.txt <span style="color: grey">(ce69e84)</span></li>

 <li>kwin/bridge.h <span style="color: grey">(64108e5)</span></li>

 <li>kwin/bridge.cpp <span style="color: grey">(32d4c84)</span></li>

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

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

 <li>kcontrol/style/finetuning.ui <span style="color: grey">(2d384bc)</span></li>

 <li>kwin/libkdecorations/kdecoration.h <span style="color: \
grey">(614b902)</span></li>

 <li>kwin/libkdecorations/kdecoration.cpp <span style="color: \
grey">(71f4f8d)</span></li>

 <li>kwin/libkdecorations/kdecorationbridge.h <span style="color: \
grey">(b7d0619)</span></li>

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

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

</ul>

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