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

List:       kwin
Subject:    Re: Review Request: Use the first client as entrance to the focus chain if no active window
From:       Thomas_Lübking <thomas.luebking () web ! de>
Date:       2012-08-19 19:00:16
Message-ID: 20120819190016.1792.87160 () 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/106088/#review17720
-----------------------------------------------------------



kwin/tabbox/clientmodel.cpp
<http://git.reviewboard.kde.org/r/106088/#comment13870>

    I think c should become firstClientFocusChain() in this case, yesno?


- Thomas Lübking


On Aug. 19, 2012, 5:37 p.m., Martin Gräßlin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106088/
> -----------------------------------------------------------
> 
> (Updated Aug. 19, 2012, 5:37 p.m.)
> 
> 
> Review request for kwin.
> 
> 
> Description
> -------
> 
> Use the first client as entrance to the focus chain if no active window
> 
> The recently used mode of TabBox uses the active window as the entrance
> into the focus chain. If there is no active window it does not find any
> Clients. To solve this issue the ClientModel now uses the first entry
> of the focus chain in case there is no active window.
> 
> BUG: 305449
> FIXED-IN: 4.9.1
> 
> 
> This addresses bug 305449.
>     http://bugs.kde.org/show_bug.cgi?id=305449
> 
> 
> Diffs
> -----
> 
>   kwin/tabbox/clientmodel.cpp b78c1f5ce4e92d555496aa7f28b24d098c66eeff 
>   kwin/tabbox/tabbox.h bf69ad91840b4065e445998d26baa1795ba9a460 
>   kwin/tabbox/tabbox.cpp 098d7598c0a3759f91cd4c92f8795c6a713d1fa8 
>   kwin/tabbox/tabboxhandler.h 976f2017358a9dfefdd499b7109ffb2f64bd2681 
>   kwin/tabbox/tests/mock_tabboxhandler.h f13a820aac719a6578c4fd35de2e534faa1f4aeb 
>   kwin/tabbox/tests/mock_tabboxhandler.cpp 1d27dc752b44dfe8d518449ad65df82c6e2392b3 
>   kwin/tabbox/tests/test_tabbox_clientmodel.h 1bdf0d4aa416bdb0f4dbd040ac2a0bb73c5165fc 
>   kwin/tabbox/tests/test_tabbox_clientmodel.cpp cd2c9636299365cda777b07b1ba8010965b0b560 
> 
> Diff: http://git.reviewboard.kde.org/r/106088/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Martin Gräßlin
> 
>


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









<div>




<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/106088/diff/1/?file=78714#file78714line191" \
style="color: black; font-weight: bold; text-decoration: \
underline;">kwin/tabbox/clientmodel.cpp</a>  <span style="font-weight: normal;">

     (Diff revision 1)

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

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="4"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">void \
ClientModel::createClientList(int desktop, bool partialReset)</pre></td>

  </tr>
 </tbody>




 
 



 <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">191</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">            \
<span class="n">start</span> <span class="o">=</span> <span \
class="n">tabBox</span><span class="o">-&gt;</span><span \
class="n">firstClientFocusChain</span><span class="p">().</span><span \
class="n">toStrongRef</span><span class="p">().</span><span \
class="n">data</span><span class="p">();</span></pre></td>  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I think c \
should become firstClientFocusChain() in this case, yesno?</pre> </div>
<br />



<p>- Thomas</p>


<br />
<p>On August 19th, 2012, 5:37 p.m., Martin Gräßlin 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.</div>
<div>By Martin Gräßlin.</div>


<p style="color: grey;"><i>Updated Aug. 19, 2012, 5:37 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;">Use the first client as entrance to the focus chain if no active window

The recently used mode of TabBox uses the active window as the entrance
into the focus chain. If there is no active window it does not find any
Clients. To solve this issue the ClientModel now uses the first entry
of the focus chain in case there is no active window.

BUG: 305449
FIXED-IN: 4.9.1</pre>
  </td>
 </tr>
</table>




<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>


 <a href="http://bugs.kde.org/show_bug.cgi?id=305449">305449</a>


</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>kwin/tabbox/clientmodel.cpp <span style="color: \
grey">(b78c1f5ce4e92d555496aa7f28b24d098c66eeff)</span></li>

 <li>kwin/tabbox/tabbox.h <span style="color: \
grey">(bf69ad91840b4065e445998d26baa1795ba9a460)</span></li>

 <li>kwin/tabbox/tabbox.cpp <span style="color: \
grey">(098d7598c0a3759f91cd4c92f8795c6a713d1fa8)</span></li>

 <li>kwin/tabbox/tabboxhandler.h <span style="color: \
grey">(976f2017358a9dfefdd499b7109ffb2f64bd2681)</span></li>

 <li>kwin/tabbox/tests/mock_tabboxhandler.h <span style="color: \
grey">(f13a820aac719a6578c4fd35de2e534faa1f4aeb)</span></li>

 <li>kwin/tabbox/tests/mock_tabboxhandler.cpp <span style="color: \
grey">(1d27dc752b44dfe8d518449ad65df82c6e2392b3)</span></li>

 <li>kwin/tabbox/tests/test_tabbox_clientmodel.h <span style="color: \
grey">(1bdf0d4aa416bdb0f4dbd040ac2a0bb73c5165fc)</span></li>

 <li>kwin/tabbox/tests/test_tabbox_clientmodel.cpp <span style="color: \
grey">(cd2c9636299365cda777b07b1ba8010965b0b560)</span></li>

</ul>

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