Review Request: Force window to be raised if a special hint is set in the channel request.
David Edmundson
kde at davidedmundson.co.uk
Mon Aug 29 21:21:35 UTC 2011
> On Aug. 29, 2011, 9:16 p.m., Martin Klapetek wrote:
> > Looking good. I wonder what it does for other than KWin window managers though...
It's not KWin specific. It's calls to KWindowSystem, which does crazy generic WM magic. It should behave for everything. Absolutely worse case, they don't get their window raised and it's the same as it is now.
- David
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102484/#review6152
-----------------------------------------------------------
On Aug. 29, 2011, 8:33 p.m., David Edmundson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102484/
> -----------------------------------------------------------
>
> (Updated Aug. 29, 2011, 8:33 p.m.)
>
>
> Review request for Telepathy.
>
>
> Summary
> -------
>
> Force window to be raised if a special hint is set in the channel request.
>
> This is to be used as a workaround to https://bugs.kde.org/show_bug.cgi?id=275266
>
> The forceWindowActive() method is a bit naughty, and unsafe to just casually start inserting into the code. Especially with the TextUi sometimes ensuring channels back on itself.
>
> This allows us to work round the issue by allowing the Contact List (or anyone else who wanted it) to tell the TextUi that it's ok to force itself on top of the other windows.
>
> There is a companion update for the contact list to set this hint when creating text channels.
>
> In doing this I uncovered a bug in TpQt4 - this is going to be fixed, probably in a release tomorrow.
>
>
> Diffs
> -----
>
> app/telepathy-chat-ui.h 3d2001588a073215fe90d3816d5b9ab8c3cd2144
> app/telepathy-chat-ui.cpp 5473394ef4020bf4f02f304296df9214a18d988a
>
> Diff: http://git.reviewboard.kde.org/r/102484/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> David
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20110829/6d6b4dc5/attachment-0001.html>
More information about the KDE-Telepathy
mailing list