[prev in list] [next in list] [prev in thread] [next in thread]
List: kwin
Subject: Re: Review Request: rework some present windows glitches
From: Thomas_Lübking <thomas.luebking () web ! de>
Date: 2011-07-24 19:54:09
Message-ID: 20110724195409.443.70625 () vidsolbach ! de
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
> On July 24, 2011, 6:48 p.m., Martin Gräßlin wrote:
> > does the patch still apply?
> >
> > Overall I would prefer if we could find a way to query the close position without \
> > linking all effects against kdecorations.
"No idea" - a real fix would be some extension of the effects & decoration api - kwin \
can then ask the decoration and the default implementation there would just reply the \
options value.
The question would be whether we should have this more generic - ie. like a "QVariant \
KWinEffects::setting(CloseButtonCorner);" function which would allow us to extend \
this list w/o breaking the API/ABI whenever we fell like. (I also think we've had \
this topic before ;-)
- Thomas
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101318/#review5058
-----------------------------------------------------------
On May 9, 2011, 12:26 a.m., Thomas Lübking wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101318/
> -----------------------------------------------------------
>
> (Updated May 9, 2011, 12:26 a.m.)
>
>
> Review request for kwin and Martin Gräßlin.
>
>
> Summary
> -------
>
> fix close button side for present windows effect
> BUG: 262543
>
> ** this does currently require to link kdecorations. ultimately i'd prefer to hand \
> out options on a string/qhash based qvariant return (and actually have some code, \
> but not in this branch ;-)
> pint desktop as background when including desktop in switcher
> BUG: 262137
>
> ** since the selected window is elevated (because of below) this will also "hide" \
> all other windows when the desktop is selected
> zoom windows as hover/selection indicaton (1/8 of the screen or 105%)
> BUG: 215348
> CCBUG: 175521
>
> ** i'm not happy with the outcome of scaling tiny windows - it conflicts with the \
> closebutton (which cannot be moved outside since this would prevent access to \
> adjacent windows. This is a structural problem and either considered ok or we \
> cannot zoom or we don't show a closer when the window scales "too much")
> ----
>
> Other changes:
> - no closeview on the "show desktop" desktop
> - closeview appears immediately but is disabled for a short time. This allows the \
> user to notice the closer immediately but prevents him from accidental clicks \
> before his brain handled the input and stopped the digit ;-) - currently the \
> closeview is shown armed with a slight delay, what is actually even pretty mean
>
> This addresses bugs 175521, 215348, 262137, and 262543.
> http://bugs.kde.org/show_bug.cgi?id=175521
> http://bugs.kde.org/show_bug.cgi?id=215348
> http://bugs.kde.org/show_bug.cgi?id=262137
> http://bugs.kde.org/show_bug.cgi?id=262543
>
>
> Diffs
> -----
>
> kwin/effects/CMakeLists.txt 3e2be9a
> kwin/effects/presentwindows/presentwindows.h 58c5266
> kwin/effects/presentwindows/presentwindows.cpp 8381c9f
>
> Diff: http://git.reviewboard.kde.org/r/101318/diff
>
>
> Testing
> -------
>
> Yes
>
>
> Thanks,
>
> Thomas
>
>
[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/101318/">http://git.reviewboard.kde.org/r/101318/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;"> <p style="margin-top: 0;">On July 24th, 2011, 6:48 p.m., <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;">does the patch still apply?
Overall I would prefer if we could find a way to query the close position without \
linking all effects against kdecorations.</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;">"No idea" - a \
real fix would be some extension of the effects & decoration api - kwin can then \
ask the decoration and the default implementation there would just reply the options \
value.
The question would be whether we should have this more generic - ie. like a \
"QVariant KWinEffects::setting(CloseButtonCorner);" function which would \
allow us to extend this list w/o breaking the API/ABI whenever we fell like. (I also \
think we've had this topic before ;-)</pre> <br />
<p>- Thomas</p>
<br />
<p>On May 9th, 2011, 12:26 a.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 and Martin Gräßlin.</div>
<div>By Thomas Lübking.</div>
<p style="color: grey;"><i>Updated May 9, 2011, 12:26 a.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;">fix close button side for present windows effect
BUG: 262543
** this does currently require to link kdecorations. ultimately i'd prefer to \
hand out options on a string/qhash based qvariant return (and actually have some \
code, but not in this branch ;-)
pint desktop as background when including desktop in switcher
BUG: 262137
** since the selected window is elevated (because of below) this will also \
"hide" all other windows when the desktop is selected
zoom windows as hover/selection indicaton (1/8 of the screen or 105%)
BUG: 215348
CCBUG: 175521
** i'm not happy with the outcome of scaling tiny windows - it conflicts with the \
closebutton (which cannot be moved outside since this would prevent access to \
adjacent windows. This is a structural problem and either considered ok or we cannot \
zoom or we don't show a closer when the window scales "too much")
----
Other changes:
- no closeview on the "show desktop" desktop
- closeview appears immediately but is disabled for a short time. This allows the \
user to notice the closer immediately but prevents him from accidental clicks before \
his brain handled the input and stopped the digit ;-) - currently the closeview is \
shown armed with a slight delay, what is actually even pretty mean</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;">Yes</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=175521">175521</a>,
<a href="http://bugs.kde.org/show_bug.cgi?id=215348">215348</a>,
<a href="http://bugs.kde.org/show_bug.cgi?id=262137">262137</a>,
<a href="http://bugs.kde.org/show_bug.cgi?id=262543">262543</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/effects/CMakeLists.txt <span style="color: grey">(3e2be9a)</span></li>
<li>kwin/effects/presentwindows/presentwindows.h <span style="color: \
grey">(58c5266)</span></li>
<li>kwin/effects/presentwindows/presentwindows.cpp <span style="color: \
grey">(8381c9f)</span></li>
</ul>
<p><a href="http://git.reviewboard.kde.org/r/101318/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