Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527488 - x11-misc/alltray-0.7.5.1 - closing window doesn't minimise but exits
Summary: x11-misc/alltray-0.7.5.1 - closing window doesn't minimise but exits
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: Pending removal: 2016-02-06
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2014-10-30 15:33 UTC by Mr C Camacho
Modified: 2016-02-29 05:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the output of emerge --info (einfo.txt,4.56 KB, text/plain)
2014-10-30 15:33 UTC, Mr C Camacho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mr C Camacho 2014-10-30 15:33:48 UTC
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
Comment 1 Pacho Ramos gentoo-dev 2015-06-19 11:29:26 UTC
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 :/
Comment 2 alpir 2016-01-08 14:01:25 UTC
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.
Comment 3 MaurizioB 2016-01-16 01:14:09 UTC
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).
Comment 4 Pacho Ramos gentoo-dev 2016-02-20 18:14:38 UTC
removed
Comment 5 Agustin Ferrari 2016-02-29 05:52:48 UTC
(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