[prev in list] [next in list] [prev in thread] [next in thread]
List: kwin
Subject: Re: Review Request 127153: restrict cross-vd activation to in-client distribution
From: Thomas_Lübking <thomas.luebking () gmail ! com>
Date: 2016-02-27 10:35:34
Message-ID: 20160227103534.22286.30217 () mimi ! kde ! org
[Download RAW message or body]
--===============3066415169938176306==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
> On Feb. 23, 2016, 7:51 a.m., Martin Gräßlin wrote:
> > Sounds reasonable, demanding attention is the better thing in such cases.
> >
> > We might need the same for activities?
https://bugs.kde.org/show_bug.cgi?id=318153
Instinctively, I'd say a window on another activitiy must *never* implicitly (ie. \
other than by user call) gain the focus (altering the activity!), but that depends on \
a global interpretation of activities reg. windows (this implies closign them, we \
have this ugly behavior for undecorated windows - notably relevant with CSD?! - and \
of course focus distribution and the default activity list (all/current))
Ie. are they self-contained subsessions or not ;-)
- Thomas
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127153/#review92653
-----------------------------------------------------------
On Feb. 27, 2016, 10:28 a.m., Thomas Lübking wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127153/
> -----------------------------------------------------------
>
> (Updated Feb. 27, 2016, 10:28 a.m.)
>
>
> Review request for kwin and Martin Gräßlin.
>
>
> Bugs: 359683
> https://bugs.kde.org/show_bug.cgi?id=359683
>
>
> Repository: kwin
>
>
> Description
> -------
>
> QDialog or at least QMessageBox does this and I doubt Lubos' idea was to
> "allow focus stealing if the client nags enough" - switching the VD is a
> major interrupt and prevented when a new window shows up.
> It should not be possible to stomp on ground and then receive
> focus - notably not on the other desktop.
>
> I assume the original idea was to let clients distribute focus *inside*
> across virtual desktops, maybe also permit when no client was active,
> but hardly otherwise.
>
>
> Diffs
> -----
>
> activation.cpp d6fbc5c
>
> Diff: https://git.reviewboard.kde.org/r/127153/diff/
>
>
> Testing
> -------
>
> yupp
>
>
> Thanks,
>
> Thomas Lübking
>
>
--===============3066415169938176306==
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/127153/">https://git.reviewboard.kde.org/r/127153/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;"> <p style="margin-top: 0;">On February 23rd, 2016, 7:51 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;">Sounds reasonable, demanding attention is the better \
thing in such cases.</p> <p style="padding: 0;text-rendering: inherit;margin: \
0;line-height: inherit;white-space: inherit;">We might need the same for \
activities?</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;">https://bugs.kde.org/show_bug.cgi?id=318153</p> <p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: \
inherit;">Instinctively, I'd say a window on another activitiy must <em \
style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: \
normal;">never</em> implicitly (ie. other than by user call) gain the focus (altering \
the activity!), but that depends on a global interpretation of activities reg. \
windows (this implies closign them, we have this ugly behavior for undecorated \
windows - notably relevant with CSD?! - and of course focus distribution and the \
default activity list (all/current))</p> <p style="padding: 0;text-rendering: \
inherit;margin: 0;line-height: inherit;white-space: inherit;">Ie. are they \
self-contained subsessions or not ;-)</p></pre> <br />
<p>- Thomas</p>
<br />
<p>On February 27th, 2016, 10:28 a.m. UTC, Thomas Lübking 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 Thomas Lübking.</div>
<p style="color: grey;"><i>Updated Feb. 27, 2016, 10:28 a.m.</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=359683">359683</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;">QDialog or at least QMessageBox does this and I doubt Lubos' idea \
was to "allow focus stealing if the client nags enough" - switching the VD \
is a major interrupt and prevented when a new window shows up.
It should not be possible to stomp on ground and then receive
focus - notably not on the other desktop.
I assume the original idea was to let clients distribute focus *inside*
across virtual desktops, maybe also permit when no client was active,
but hardly otherwise.</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;">yupp</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>activation.cpp <span style="color: grey">(d6fbc5c)</span></li>
</ul>
<p><a href="https://git.reviewboard.kde.org/r/127153/diff/" style="margin-left: \
3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>
--===============3066415169938176306==--
[Attachment #3 (text/plain)]
_______________________________________________
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