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

List:       kwin
Subject:    Re: Review Request 128636: [libkwin] Stop raising the desktop
From:       Anthony Fieroni <bvbfan () abv ! bg>
Date:       2016-08-09 19:29:26
Message-ID: 20160809192926.9365.61462 () mimi ! kde ! org
[Download RAW message or body]

--===============3618275349261135376==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit



> On Авг. 9, 2016, 8:26 след обяд, Thomas Lübking wrote:
> > If you're (likely) facing bug #350826 this isn't gonna fix it but just breaks the \
> > "show desktop" feature.
> 
> Anthony Fieroni wrote:
> No. When perform click over the desktop it raises over visible windows. I can make \
> video for that if you can't catch it. 
> Thomas Lübking wrote:
> Yes and that happens because the window is temporarily no desktop. We know this \
> bug. The solution is to stop plasmashell from juggling its type (the way to btw. \
> confirm the bug is to spy the prop, see bug) 
> Alternatively, kwin could fully track the type (you'll still get brief layer \
> changes, but they might be covered by the compositor) because that's the awesome \
> way for totally awesome qtquic 
> Anthony Fieroni wrote:
> Oh your last comment, i don't see it. So what can be done?
> 
> Anthony Fieroni wrote:
> Ah, i never see it before 5.7 branch, why?
> 
> Anthony Fieroni wrote:
> Possible solution, to fetch desktop only one
> 
> m_isDesktop = windowType() == NET::Desktop; // probably in ctor ?
> 
> inline bool Toplevel::isDesktop() const
> {
> return m_isDesktop;
> }
> 
> What you think?
> 
> Christoph Feck wrote:
> I added bug 365014, because this issue is newer/different than what is reported in \
> the old bug. 
> Thomas Lübking wrote:
> plasmashell causes a giant amount of pointless roundtrips on the x11 server, so by \
> any means: the one and only sane solution is to stop this. one can more or less \
> legally constrain the type reading to unmapped windows, but (some while ago) Martin \
> intentionally re-used the netwm info instead of local caches. i'm not sure that \
> he'd be fine with reverting this.

But desktop is special window, more or less, it shouldn't be treated like other, \
about me.


- Anthony


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128636/#review98231
-----------------------------------------------------------


On Авг. 9, 2016, 10:05 след обяд, Anthony Fieroni wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128636/
> -----------------------------------------------------------
> 
> (Updated Авг. 9, 2016, 10:05 след обяд)
> 
> 
> Review request for kwin and Martin Gräßlin.
> 
> 
> Bugs: 350826 and 365014
> https://bugs.kde.org/show_bug.cgi?id=350826
> https://bugs.kde.org/show_bug.cgi?id=365014
> 
> 
> Repository: kwin
> 
> 
> Description
> -------
> 
> Desktop must not be raised, this cannot be a proper patch, but it's needed more \
> investigate to track this down. 
> 
> Diffs
> -----
> 
> layers.cpp 2edfda0 
> 
> Diff: https://git.reviewboard.kde.org/r/128636/diff/
> 
> 
> Testing
> -------
> 
> 1. open 1 or more non maximized windows
> 2. make left clicks periodically between window and the desktop
> 3. desktop is raised over opened windows *sometimes*
> 
> 
> Thanks,
> 
> Anthony Fieroni
> 
> 


--===============3618275349261135376==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 8bit




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





<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <p style="margin-top: 0;">On Август 9th, 2016, 8:26 след обяд \
EEST, <b>Thomas Lübking</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;">If you're (likely) \
facing bug #350826 this isn't gonna fix it but just breaks the "show desktop" \
feature.</p></pre>  </blockquote>




 <p>On Август 9th, 2016, 9:07 след обяд EEST, <b>Anthony Fieroni</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;">No. When perform click over the desktop it raises over visible windows. I \
can make video for that if you can't catch it.</p></pre>  </blockquote>





 <p>On Август 9th, 2016, 9:22 след обяд EEST, <b>Thomas Lübking</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;">Yes and that happens because the window is temporarily no desktop. We know \
this bug. The solution is to stop plasmashell from juggling its type (the way to btw. \
confirm the bug is to spy the prop, see bug)</p> <p style="padding: 0;text-rendering: \
inherit;margin: 0;line-height: inherit;white-space: inherit;">Alternatively, kwin \
could fully track the type (you'll still get brief layer changes, but they might be \
covered by the compositor) because that's the awesome way for totally awesome \
qtquic</p></pre>  </blockquote>





 <p>On Август 9th, 2016, 9:26 след обяд EEST, <b>Anthony Fieroni</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;">Oh your last comment, i don't see it. So what can be done?</p></pre>  \
</blockquote>





 <p>On Август 9th, 2016, 9:29 след обяд EEST, <b>Anthony Fieroni</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;">Ah, i never see it before 5.7 branch, why?</p></pre>  </blockquote>





 <p>On Август 9th, 2016, 9:41 след обяд EEST, <b>Anthony Fieroni</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;">Possible solution, to fetch desktop only one</p> <p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: \
inherit;">m_isDesktop = windowType() == NET::Desktop; // probably in ctor ?</p> <p \
style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: \
inherit;">inline bool Toplevel::isDesktop() const {
    return m_isDesktop;
}</p>
<p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">What you think?</p></pre>  </blockquote>





 <p>On Август 9th, 2016, 10:06 след обяд EEST, <b>Christoph Feck</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 added bug 365014, because this issue is newer/different than what is \
reported in the old bug.</p></pre>  </blockquote>





 <p>On Август 9th, 2016, 10:10 след обяд EEST, <b>Thomas Lübking</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;">plasmashell causes a giant amount of pointless roundtrips on the x11 \
server, so by any means: the one and only sane solution is to stop this. one can more \
or less legally constrain the type reading to unmapped windows, but (some while ago) \
Martin intentionally re-used the netwm info instead of local caches. i'm not sure \
that he'd be fine with reverting this.</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;">But \
desktop is special window, more or less, it shouldn't be treated like other, about \
me.</p></pre> <br />










<p>- Anthony</p>


<br />
<p>On Август 9th, 2016, 10:05 след обяд EEST, Anthony Fieroni \
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 kwin and Martin Gräßlin.</div>
<div>By Anthony Fieroni.</div>


<p style="color: grey;"><i>Updated Авг. 9, 2016, 10:05 след обяд</i></p>







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


 <a href="https://bugs.kde.org/show_bug.cgi?id=350826">350826</a>, 

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


</div>



<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
kwin
</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;">Desktop must not be raised, this cannot be a proper \
patch, but it's needed more investigate to track this down.</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;"><ol style="padding: 0;text-rendering: inherit;margin: 0 0 0 \
2em;line-height: inherit;white-space: normal;"> <li style="padding: 0;text-rendering: \
inherit;margin: 0;line-height: inherit;white-space: normal;">open 1 or more non \
maximized windows</li> <li style="padding: 0;text-rendering: inherit;margin: \
0;line-height: inherit;white-space: normal;">make left clicks periodically between \
window and the desktop</li> <li style="padding: 0;text-rendering: inherit;margin: \
0;line-height: inherit;white-space: normal;">desktop is raised over opened windows \
<em style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: normal;">sometimes</em></li> </ol></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>layers.cpp <span style="color: grey">(2edfda0)</span></li>

</ul>

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






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







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


--===============3618275349261135376==--


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

Configure | About | News | Add a list | Sponsored by KoreLogic