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

List:       kde-usability
Subject:    [KDE Usability] Review Request 127162: RFC: Improve frozen window experience
From:       Kai Uwe Broulik <kde () privat ! broulik ! de>
Date:       2016-02-23 22:43:36
Message-ID: 20160223224336.17703.11137 () mimi ! kde ! org
[Download RAW message or body]

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


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

Review request for kwin and KDE Usability.


Repository: kwin


Description
-------

This is a little experiment I made which raises a bunch of technical and usability \
concerns. It basically consists of two parts:

* Introduce a visual effect for a window that is not responding, something that has \
                been floating around as an idea for years and is widely used in other \
                DEs
* Make the KWin killer notification prettier

A video can be found here: https://www.youtube.com/watch?v=h3UnH1yx624

When Plasma is not running or you use it in an environment whose notification system \
doesn't support action buttons (lxqt?) it falls back to the old message box we have \
right now.

My questions/concerns are:

* Not too happy with the name, also not very consistent "frozen app" vs "ping timed \
                out" vs ...
* Now that I think about it I'm not too sure about using a Plasma notification is the \
right approach. I mostly did this as the modal message box dims the window and makes \
the effect hard to see :D Most importantly, though, it does not accept keyboard \
input, so the old usecase of "press X, wait, hit return" no longer works. Not that we \
should encourage people to kill apps, though. Another approach could be a floating \
popup connected to the window that says "hey this app is frozen [terminate]". I \
recall Windows Longhorn (Vista Alpha) showed a concept where a baloon tooltip emerged \
                from the close button, I quite liked it, but I can't find a \
                screenshot right now
* Is it possible to detect hung applications if not explicitly clicking the X button? \
so when I click the window it can already apply the effect after, say 3 seconds, and \
then after another 3s or another click show the notification? I guess... Wayland?


Diffs
-----

  abstract_client.h fff6feb 
  abstract_client.cpp 8820e6d 
  client.h 697b641 
  client.cpp cb8dbf1 
  effects.h dfe6f12 
  effects.cpp 8ecf1d7 
  effects/CMakeLists.txt 0e5ed97 
  effects/frozenapp/CMakeLists.txt PRE-CREATION 
  effects/frozenapp/package/CMakeLists.txt PRE-CREATION 
  effects/frozenapp/package/contents/code/frozenapp.js PRE-CREATION 
  effects/frozenapp/package/metadata.desktop PRE-CREATION 
  killer/CMakeLists.txt 9e867ec 
  killer/killer.cpp 3b4e21c 
  kwin.notifyrc f5a62c3 
  libkwineffects/kwineffects.h d3e3612 

Diff: https://git.reviewboard.kde.org/r/127162/diff/


Testing
-------


Thanks,

Kai Uwe Broulik


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




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




<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 KDE Usability.</div>
<div>By Kai Uwe Broulik.</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;">This is a little experiment I made which raises a \
bunch of technical and usability concerns. It basically consists of two parts:</p> \
<ul style="padding: 0;text-rendering: inherit;margin: 0 0 0 1em;line-height: \
inherit;white-space: normal;"> <li style="padding: 0;text-rendering: inherit;margin: \
0;line-height: inherit;white-space: normal;">Introduce a visual effect for a window \
that is not responding, something that has been floating around as an idea for years \
and is widely used in other DEs</li> <li style="padding: 0;text-rendering: \
inherit;margin: 0;line-height: inherit;white-space: normal;">Make the KWin killer \
notification prettier</li> </ul>
<p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">A video can be found here: \
https://www.youtube.com/watch?v=h3UnH1yx624</p> <p style="padding: 0;text-rendering: \
inherit;margin: 0;line-height: inherit;white-space: inherit;">When Plasma is not \
running or you use it in an environment whose notification system doesn't support \
action buttons (lxqt?) it falls back to the old message box we have right now.</p> <p \
style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: \
inherit;">My questions/concerns are:</p> <ul style="padding: 0;text-rendering: \
inherit;margin: 0 0 0 1em;line-height: inherit;white-space: normal;"> <li \
style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: \
normal;">Not too happy with the name, also not very consistent "frozen app" vs "ping \
timed out" vs ...</li> <li style="padding: 0;text-rendering: inherit;margin: \
0;line-height: inherit;white-space: normal;">Now that I think about it I'm not too \
sure about using a Plasma notification is the right approach. I mostly did this as \
the modal message box dims the window and makes the effect hard to see :D Most \
importantly, though, it does not accept keyboard input, so the old usecase of "press \
X, wait, hit return" no longer works. Not that we should encourage people to kill \
apps, though. Another approach could be a floating popup connected to the window that \
says "hey this app is frozen [terminate]". I recall Windows Longhorn (Vista Alpha) \
showed a concept where a baloon tooltip emerged from the close button, I quite liked \
it, but I can't find a screenshot right now</li> <li style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: normal;">Is it \
possible to detect hung applications if not explicitly clicking the X button? so when \
I click the window it can already apply the effect after, say 3 seconds, and then \
after another 3s or another click show the notification? I guess... Wayland?</li> \
</ul></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>abstract_client.h <span style="color: grey">(fff6feb)</span></li>

 <li>abstract_client.cpp <span style="color: grey">(8820e6d)</span></li>

 <li>client.h <span style="color: grey">(697b641)</span></li>

 <li>client.cpp <span style="color: grey">(cb8dbf1)</span></li>

 <li>effects.h <span style="color: grey">(dfe6f12)</span></li>

 <li>effects.cpp <span style="color: grey">(8ecf1d7)</span></li>

 <li>effects/CMakeLists.txt <span style="color: grey">(0e5ed97)</span></li>

 <li>effects/frozenapp/CMakeLists.txt <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>effects/frozenapp/package/CMakeLists.txt <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>effects/frozenapp/package/contents/code/frozenapp.js <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>effects/frozenapp/package/metadata.desktop <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>killer/CMakeLists.txt <span style="color: grey">(9e867ec)</span></li>

 <li>killer/killer.cpp <span style="color: grey">(3b4e21c)</span></li>

 <li>kwin.notifyrc <span style="color: grey">(f5a62c3)</span></li>

 <li>libkwineffects/kwineffects.h <span style="color: grey">(d3e3612)</span></li>

</ul>

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






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



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


--===============3636175190118145136==--


[Attachment #3 (text/plain)]

_______________________________________________
kde-usability mailing list
kde-usability@kde.org
https://mail.kde.org/mailman/listinfo/kde-usability


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

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