Review Request: Fix KSelectionWatcher / KWindowSystem::compositingChanged signal

Thomas Lübking thomas.luebking at web.de
Fri Jan 4 22:18:49 GMT 2013



> On Jan. 4, 2013, 8:42 a.m., David Faure wrote:
> > Oh! A man who understands KSelectionWatcher! I need your help. Could you look into KSelectionWatcher in the kdelibs-frameworks branch (with Qt5 installed), and port the kselectionwatcher unittest to the new kselectionwatcher API (fredrikh made it async, due to XCB being async, but didn't port the unittest)?

Sure, though it's more like porting some Xlib calls to xcb (XInternAtom, XPutBackEvent, etc.) - the API looks fully ported (on a quick glimpse, i might have missed sth.)


- Thomas


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107983/#review24639
-----------------------------------------------------------


On Jan. 4, 2013, 10:12 p.m., Thomas Lübking wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107983/
> -----------------------------------------------------------
> 
> (Updated Jan. 4, 2013, 10:12 p.m.)
> 
> 
> Review request for kdelibs, kwin, Aaron J. Seigo, Marco Martin, Martin Gräßlin, and Luboš Luňák.
> 
> 
> Description
> -------
> 
> It works fine here (tested so far KWindowSystem signal, KSelectionWatcher only with kwin) with kwin (shift+alt+f12), xcompmgr, compiz & "metacity -c" and e17.
> Didn't try xfce nor mutter.
> 
> Technically:
> I do not at all understand why KWindowSystem is *not* watching the root window - KSelectionOwner for one is sending events to the root and this also seems the case for all other WMs (at least everything now starts to cause the signal to be emitted)
> 
> The KSelectionWatcher failure seems to be kwin specific (wrote me a cleaner testcase), there'll be some X11 event processing on top that eats away the client messages.
> So this one can be scratched from the patch, the KWindowSystem issue remains.
> 
> 
> This addresses bug 179042.
>     http://bugs.kde.org/show_bug.cgi?id=179042
> 
> 
> Diffs
> -----
> 
>   kdeui/windowmanagement/kwindowsystem_x11.cpp f9b3cc1 
> 
> Diff: http://git.reviewboard.kde.org/r/107983/diff/
> 
> 
> Testing
> -------
> 
> see summary
> 
> 
> Thanks,
> 
> Thomas Lübking
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130104/44121f53/attachment.htm>


More information about the kde-core-devel mailing list