Review Request 125655: Xembed SNI Proxy
Martin Gräßlin
mgraesslin at kde.org
Fri Oct 23 06:45:40 UTC 2015
> On Oct. 16, 2015, 10:24 p.m., Martin Gräßlin wrote:
> > did you try whether the proxy works without compositing? I just hit the "suspend compositing" global shortcut to test something and it gave me bad rendering results in the davetray area.
>
> David Edmundson wrote:
> I have. For me it works (for most clients at least), though I do have known bug reports of xembedsniproxy leaving garbage in the background behind the icon
>
> Martin Gräßlin wrote:
> For me it looks like that: http://paste.opensuse.org/85160140 - though I don't have latest master
>
> David Edmundson wrote:
> Boo! that's the container window. I haven't seen that for a long time
>
> Can you xprop that window?
> Do you have any custom window rules?
>
> /maybe/ it'll be fixed with your comment about rendering transparent into that window which I haven't done yet.
>
> Martin Gräßlin wrote:
> > I haven't seen that for a long time
>
> All right I'll first update to latest master ;-)
>
> > Do you have any custom window rules?
>
> no
>
> > /maybe/ it'll be fixed with your comment about rendering transparent into that window which I haven't done yet.
>
> nah, that won't help for the non-composited case :-(
>
> David Edmundson wrote:
> >All right I'll first update to latest master ;-)
>
> Did that affect anything?
sorry for the delay: I just updated and restarted the binary. No longer able to reproduce. Will try again in a few hours (just to be sure it doesn't sneak in through long usage ;-) )
- Martin
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125655/#review86935
-----------------------------------------------------------
On Oct. 21, 2015, 11:01 p.m., David Edmundson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125655/
> -----------------------------------------------------------
>
> (Updated Oct. 21, 2015, 11:01 p.m.)
>
>
> Review request for Plasma.
>
>
> Repository: plasma-workspace
>
>
> Description
> -------
>
> The goal of this project is to make xembed system trays available in Plasma.
>
> This is to allow legacy apps (xchat, pidgin, tuxguitar) etc. system trays[1] available in Plasma which only supports StatusNotifierItem [2].
>
> Ideally we also want this to work in an xwayland session, making X system tray icons available even when plasmashell only has a wayland connection.
>
> How it works (in theory)
>
> * We register a window as a system tray container
> * We render embeded windows composited offscreen
> * We render contents into an image and send this over DBus via the SNI protocol
> * XDamage events trigger a repaint
> * Activate and context menu events are replyed via X send event into the embedded container as left and right clicks
>
>
> Code is a mix of hacks and bodges bashing client apps into place, and I happily acknowledge it looks pretty bad. Unfotunately most of it seems to be needed, but I'd love to be proved wrong on most of it.
>
> ---
>
> CMakeLists changes are obviously currently wrong, I can strip half of find_packages and I need an add_subdirectory in the root file, but it's easier for me to sync with the separate repo mirror this way till we're close to merging. I expect this to take quite some revisions.
>
>
> Diffs
> -----
>
> xembedsniproxy/CMakeLists.txt PRE-CREATION
> xembedsniproxy/Readme.md PRE-CREATION
> xembedsniproxy/debug.h PRE-CREATION
> xembedsniproxy/fdoselectionmanager.h PRE-CREATION
> xembedsniproxy/fdoselectionmanager.cpp PRE-CREATION
> xembedsniproxy/main.cpp PRE-CREATION
> xembedsniproxy/org.kde.StatusNotifierItem.xml PRE-CREATION
> xembedsniproxy/org.kde.StatusNotifierWatcher.xml PRE-CREATION
> xembedsniproxy/snidbus.h PRE-CREATION
> xembedsniproxy/snidbus.cpp PRE-CREATION
> xembedsniproxy/sniproxy.h PRE-CREATION
> xembedsniproxy/sniproxy.cpp PRE-CREATION
> xembedsniproxy/xcbutils.h PRE-CREATION
> xembedsniproxy/xembedsniproxy.desktop PRE-CREATION
>
> Diff: https://git.reviewboard.kde.org/r/125655/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> David Edmundson
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151023/75b8d134/attachment-0001.html>
More information about the Plasma-devel
mailing list