On Wed, Nov 23, 2016 at 4:17 PM, Martin Schreiber <[email protected]>
wrote:

>
>
> On 23.11.2016 16:38, David Edmundson wrote:
>
>> You're using our compatibility layer, which due to various technical
>> reasons, we don't actually embed the window in the dock.
>> Instead it's hidden and the image is proxied through to our UI using the
>> specification above.
>> As you've found out, it's not perfect. Particularly as there are so many
>> different behaviours with different clients.
>>
>>
> What about the effect that embedding works on first run of application
> only? Is it expected behavior or can it be circumvented?
>

That's not expected. If it works on any other tray, that sounds like a bug
in our side.
Not sure what, as I can't reproduce it starting a GTK2 multiple times.
(using latest Plasma)


> The original size of the icon window in the test example is 50*50, it
> seems that the proxy does not see that size in first embedding call.
>

Possibly.I get the size with xcb_get_geometry at the time we get the
SYSTEM_TRAY_REQUEST_DOCK
before I do the embedding.

It does seem like we could move that slighlty later.
I don't monitor for the client size changing, but I do reload it every time
we get a damage event.


> Is it also expected that the background painted by the widget is not
> visible in tray area?
>

A background as in XCB_CW_BACK_PIXEL?

I think that's expected, we just do xcb_image_get to get the image data.

David

Reply via email to