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

List:       kwin
Subject:    Re: Review Request: Use the invalid NULL uuid instead of "ALL" to indeicate the "on all activities"
From:       Thomas_Lübking <thomas.luebking () web ! de>
Date:       2012-12-31 20:24:37
Message-ID: 20121231202437.30062.17050 () 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/107855/
-----------------------------------------------------------

(Updated Dec. 31, 2012, 8:24 p.m.)


Review request for kwin, Ivan =C4=8Cuki=C4=87 and Martin Gr=C3=A4=C3=9Flin.


Summary (updated)
-----------------

Use the invalid NULL uuid instead of "ALL" to indeicate the "on all activit=
ies" hint


Description (updated)
-------

When the activity daemon is not reposponding, the lib cache will answer wit=
h the null activity which is so far just "invalid", cannot be activate and =
by this its not a good idea to assign any window to it (happens when you op=
en a window and it gets on the current "null" activity)

Using it instead of the "ALL" property is more robust (anytime there's sth.=
 slightly wrong in the system we fall back to "on all activities" rather th=
an loosing windows on some unreachable activities) as well as more consiste=
nt (there's now always a uuid string as activity property)

Notice that there's a pending reference to "ALL" in "service/ui/plugins/dec=
larativeui/DeclarativeUi.cpp" which Ivan wants to scratch as soon as we use=
 the null uuid in git master.


Diffs (updated)
-----

  kwin/client.cpp b555c11 =


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


Testing (updated)
-------

No regression spotted.
Reg. the original problem:
semi - i once ran into one or more window/s being on that id, not with the =
patch since after.


Thanks,

Thomas L=C3=BCbking


[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/107855/">http://git.reviewboard.kde.org/r/107855/</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, Ivan Čukić and Martin Gräßlin.</div>
<div>By Thomas Lübking.</div>


<p style="color: grey;"><i>Updated Dec. 31, 2012, 8:24 p.m.</i></p>





<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Summary \
(updated)</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;">Use the invalid NULL uuid instead of &quot;ALL&quot; to indeicate the \
&quot;on all activities&quot; hint</pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description  \
(updated)</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;">When the activity daemon is not reposponding, the lib cache will answer \
with the null activity which is so far just &quot;invalid&quot;, cannot be activate \
and by this its not a good idea to assign any window to it (happens when you open a \
window and it gets on the current &quot;null&quot; activity)

Using it instead of the &quot;ALL&quot; property is more robust (anytime there&#39;s \
sth. slightly wrong in the system we fall back to &quot;on all activities&quot; \
rather than loosing windows on some unreachable activities) as well as more \
consistent (there&#39;s now always a uuid string as activity property)

Notice that there&#39;s a pending reference to &quot;ALL&quot; in \
&quot;service/ui/plugins/declarativeui/DeclarativeUi.cpp&quot; which Ivan wants to \
scratch as soon as we use the null uuid in git master.</pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing \
(updated)</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;">No regression spotted. Reg. the original problem:
semi - i once ran into one or more window/s being on that id, not with the patch \
since after.</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/client.cpp <span style="color: grey">(b555c11)</span></li>

</ul>

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