On Tuesday 27 February 2018 22:11:44 Krzysztof wrote: > 2018-02-24 10:01 GMT+01:00 Martin Schreiber <mse00...@gmail.com>: > > On 02/23/2018 05:08 PM, Martin Schreiber wrote: > >> On 02/23/2018 01:06 AM, Krzysztof wrote: > >>> One interesting thing. On your screenshot tray icon is transparent > >>> (not fully, looks like semi transparent, pixels are 0 or 1). This is > >>> weird X window regression which I can't understand. I remember having > >>> fully (I mean real full alpha) transparent tray icon in one of my old > >>> KDE (don't remember which one, Linux Mint KDE edition or KDE on > >>> Kubuntu). > >> > >> Works for me with bmo_graymask, see icon1.png, with bmo_colormask the > >> mask seems to be a bitmap, see icon2.png. I'll take a look. > > > > Please try again wit git master e6eebe7b49a5beea46faaa4b2647f9e9c20e1d6e. > > Still can't get transparency, both with bmo_graymask or bmo_colormask > (cleared timagelist and readded icon when changes such option). Even > changed ttraywidget.color to cl_transparent. But please don't bother > with that, I really have square tray icon so transparent is not > necessary for me > My screenshots have been made with two_usedbus. Do you get correct results with two_usedbus?
Please remember: Without two_usedbus and correct implementation of system_tray_request_dock by the window manager the traywidget is a X11 window embedded into the tray container. https://specifications.freedesktop.org/systemtray-spec/systemtray-spec-0.3.html For MSEgui that window is a top level window which corresponds to ttraywidget.window. Currently MSEgui does not support toplevel windows with masks or transparent background. AFAIK it would require a X11-extension and/or a visual with alpha channel. I fear the complications and the problems with different implementations and different compositing WM's. With two_usedbus and the "StatusNotifierWatcher" and "StatusNotifierItem" protocols https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/ there is no icon window, the icon will be provided by MSEgui as a pixel array, bmo_graymask and bmo_colormask should work. "StatusNotifierItem" does not support color masks so bmo_colormask will be simplified to a gray mask. Martin ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk