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

List:       kwin
Subject:    Re: Review Request: avoid nulluid activity
From:       Ivan Čukić <ivan.cukic () kde ! org>
Date:       2012-12-30 19:42:27
Message-ID: 20121230194227.32632.58201 () 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/#review24287
-----------------------------------------------------------


May I suggest a bit different approach - instead of handling the null activ=
ity like it is something special, why not just do this - when an activity t=
hat has windows only on it is deleted, those are moved to the current activ=
ity. This would be more generic.

- Ivan =C4=8Cuki=C4=87


On Dec. 30, 2012, 3:47 p.m., Thomas L=C3=BCbking wrote:
> =

> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107855/
> -----------------------------------------------------------
> =

> (Updated Dec. 30, 2012, 3:47 p.m.)
> =

> =

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

> =

> Description
> -------
> =

> This is replied as activity by the lib cache in case the server is (yet) =
not up, but no window should ever be assigned to it - so we should rather r=
emove it (and in doubt treat this as "all activities" condition)
> =

> =

> Diffs
> -----
> =

>   kwin/client.cpp b555c11 =

> =

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

> =

> Testing
> -------
> =

> semi - i once ran into one or more window/s being on that id, not with th=
e patch since after (surprise)
> =

> =

> 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 />





 <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">May I suggest a bit \
different approach - instead of handling the null activity like it is something \
special, why not just do this - when an activity that has windows only on it is \
deleted, those are moved to the current activity. This would be more generic.</pre>  \
<br />







<p>- Ivan</p>


<br />
<p>On December 30th, 2012, 3:47 p.m., Thomas Lübking wrote:</p>






<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. 30, 2012, 3:47 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 is replied as activity by the lib cache in case the server is (yet) \
not up, but no window should ever be assigned to it - so we should rather remove it \
(and in doubt treat this as &quot;all activities&quot; condition)</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;">semi - i once ran into one or more window/s being on that id, not with \
the patch since after (surprise)</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/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