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





<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
 <p style="margin-top: 0;">On September 23rd, 2014, 5:39 a.m. UTC, <b>Martin Gräßlin</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;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">I am not comfortable with this going into the master branch yet. I do want master to get into the state where we can provide API and ABI stability. By adding development code it would become difficult to reach this state.</p>
<p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">What I find most problematic is the requirement of having to use the QPA connection. This means the code is currently unusable as it requires an unreleased Qt component (I don't accept QtWayland dependency neither direct or indirect till it's released and we depend on that Qt version). Also this makes the library difficult to use as some parts can and some parts cannot be used with the ConnectionThread. I would like us to find a solution for this problem before it goes into master branch.</p></pre>
 </blockquote>




 <p>On September 23rd, 2014, 5:57 a.m. UTC, <b>Pier Luigi Fiorini</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;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">qtwayland should be released with Qt 5.4, but if it doesn't and there's no solution but use the QPA connection that means no Plasma on Wayland at all. :(<br style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: normal;" />
As far as having to use the QPA connection: I don't like it either but you need the native interface to get wl_surface out of a QWindow anyway and using the ConnectionThread connection gives protocol errors as the wl_surface is not recognized.<br style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: normal;" />
In the Qt 5 world I guess that's the way it is supposed to be: QPA exposes the native interface details.</p></pre>
 </blockquote>





 <p>On September 23rd, 2014, 6:12 a.m. UTC, <b>Martin Gräßlin</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;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">I think we need to invest some thoughts in that problem ;-) At least for the unit tests it would be very good to be able to get our own wl_surface for a QWindow. I'm quite sure that there is a solution to the problem. It might require changes in the stack, though. Maybe one needs to get Wayland library sharing between connections or something like that.</p></pre>
 </blockquote>








</blockquote>

<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">Which parts of the stack. What do you have in mind, could you elaborate?</p></pre>
<br />










<p>- Pier Luigi</p>


<br />
<p>On September 23rd, 2014, 5:39 a.m. UTC, Pier Luigi Fiorini wrote:</p>









<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 Plasma and Martin Gräßlin.</div>
<div>By Pier Luigi Fiorini.</div>


<p style="color: grey;"><i>Updated Sept. 23, 2014, 5:39 a.m.</i></p>









<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
kwayland
</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;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">PlasmaShell and PlasmaSurface interfaces</p></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;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">Work in progress Plasma port to Wayland.</p></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>autotests/client/test_wayland_registry.cpp <span style="color: grey">(54aa9a560153d00924d4e73c75f029ed1d1ad788)</span></li>

 <li>src/client/CMakeLists.txt <span style="color: grey">(e00f4573ad22efc9b5776b5ef900854c04f8afd6)</span></li>

 <li>src/client/plasma_shell.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>src/client/plasma_shell.cpp <span style="color: grey">(PRE-CREATION)</span></li>

 <li>src/client/plasma_surface.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>src/client/plasma_surface.cpp <span style="color: grey">(PRE-CREATION)</span></li>

 <li>src/client/registry.h <span style="color: grey">(103be0aec9cae6d76c62fd32481eaaafa5a161f0)</span></li>

 <li>src/client/registry.cpp <span style="color: grey">(17d738415e395fb638751ac6429d1fc0e3ededd9)</span></li>

</ul>

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






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








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