Created attachment 387816 [details] the output of emerge --info Normal behaviour with a "captured" application is that when the applications window is closed the program instead minimises (to the system tray) Unfortunately the current version application instead closes. I went back to version 0.70 (LIBS="-lX11" ./configure --disable-gconf) and although capturing with the mouse fails to work properly closing the captured applications window does minimise it to the window when alltray is run from the command line
Is this still useful on any desktop? I remember to use it with old Gnome 2... but with Gnome3 I don't see it useful at all :/
I use alltray in XFCE 4.12 with Viber, which without alltray don't have tray icon. After pressing x-button in right corner Viber is still in memory but don't have visible window. I think that alltray useful.
I used alltray for at least a couple of years, and as far as I understand it never suggested to give a transparent and complete support for "close to tray". As pointed out in the instructions, it actually paints an icon in the top right corner of the window, which allows to hide the window to the tray bar. The problem is that it requires the program to be able to talk with X as alltray expects to. As far as I've understood, this is due to the xembed protocol, which usually doesn't allow complete control on a "hosted" application. I tried this myself: you embed an external application by finding its window id (it's easy with both qt and gtk using sockets) so you can register the window close event; the problem is that then you usually lose control over most of the input events in the embedded window; as far as I know, it just is undoable, because most of the programs don't provide this feature (while some of them, like xterm, explicitly do). As pointed out by the original programmer himself (here: http://stackoverflow.com/a/6868109/2001654 ), he choose another path, by using the forementioned method, which might not be elegant, but usually works. Frankly, I'd say that this is actually not a bug, and, even if the app is no longer maintained, it still works, compiles fine and does what it is expected (as long as you find the documentation ;) ). I would understand the masking, but not the removal, also because, correctme if I'm wrong, afaik there's nothing like this in other de's (like fluxbox).
removed
(In reply to MaurizioB from comment #3) > [...] > I would understand the masking, but not the removal, also because, correctme > if I'm wrong, afaik there's nothing like this in other de's (like fluxbox). I do not know in other desktop environments, but x11-misc/kdocker works in KDE, Gnome and XFCE and seems to be a good replacement for alltray