[prev in list] [next in list] [prev in thread] [next in thread]
List: kwin
Subject: Re: Review Request 115334: Make KWin place the OSD
From: Thomas_Lübking <thomas.luebking () gmail ! com>
Date: 2014-01-29 15:30:40
Message-ID: 20140129153040.2191.6991 () probe ! kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115334/#review48546
-----------------------------------------------------------
kwin/manage.cpp
<https://git.reviewboard.kde.org/r/115334/#comment34309>
i don't think this is required at all - area is initially determined for the \
screen, defaulting to active and only overruled by startupinfo or a window rule. \
instead this makes it impossible to control the screen by user rule for all \
notifications.
- Thomas Lübking
On Jan. 29, 2014, 12:56 p.m., Martin Klapetek wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115334/
> -----------------------------------------------------------
>
> (Updated Jan. 29, 2014, 12:56 p.m.)
>
>
> Review request for kwin.
>
>
> Repository: kde-workspace
>
>
> Description
> -------
>
> Adds a method for placing the OSD window. Currently it simply places it at the \
> lower 2/3 of the screen, has no support yet for staying at a particular screen \
> (like brightness OSD always staying at the controlled screen). Martin said he does \
> not want that in KWin, which I understand, but I'm unsure how else to do it if KWin \
> will do the positioning. Ideas?
>
> Diffs
> -----
>
> kwin/manage.cpp b4ebcb8
> kwin/placement.cpp 8534f81
>
> Diff: https://git.reviewboard.kde.org/r/115334/diff/
>
>
> Testing
> -------
>
> OSD appears where it should.
>
>
> Thanks,
>
> Martin Klapetek
>
>
[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="https://git.reviewboard.kde.org/r/115334/">https://git.reviewboard.kde.org/r/115334/</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="https://git.reviewboard.kde.org/r/115334/diff/2/?file=240991#file240991line380" \
style="color: black; font-weight: bold; text-decoration: \
underline;">kwin/manage.cpp</a> <span style="font-weight: normal;">
(Diff revision 2)
</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; ">bool \
Client::manage(xcb_window_t w, bool isMapped)</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">380</font></th> <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "> <span \
class="n">area</span> <span class="o">=</span> <span class="n">workspace</span><span \
class="p">()</span><span class="o">-></span><span class="n">clientArea</span><span \
class="p">(</span><span class="n">PlacementArea</span><span class="p">,</span> <span \
class="n">screens</span><span class="p">()</span><span class="o">-></span><span \
class="n">current</span><span class="p">(),</span> <span \
class="n">desktop</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 don't \
think this is required at all - area is initially determined for the screen, \
defaulting to active and only overruled by startupinfo or a window rule. instead this \
makes it impossible to control the screen by user rule for all notifications.</pre> \
</div> <br />
<p>- Thomas Lübking</p>
<br />
<p>On January 29th, 2014, 12:56 p.m. UTC, Martin Klapetek wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('https://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;"> <tr>
<td>
<div>Review request for kwin.</div>
<div>By Martin Klapetek.</div>
<p style="color: grey;"><i>Updated Jan. 29, 2014, 12:56 p.m.</i></p>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt;">Repository: </b>
kde-workspace
</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;">Adds a method for placing the OSD window. Currently it simply places it \
at the lower 2/3 of the screen, has no support yet for staying at a particular screen \
(like brightness OSD always staying at the controlled screen). Martin said he does \
not want that in KWin, which I understand, but I'm unsure how else to do it if \
KWin will do the positioning. Ideas?</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;">OSD appears where it should.</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>kwin/manage.cpp <span style="color: grey">(b4ebcb8)</span></li>
<li>kwin/placement.cpp <span style="color: grey">(8534f81)</span></li>
</ul>
<p><a href="https://git.reviewboard.kde.org/r/115334/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