AyatanaIndicators / ayatana-indicator-messages

Ayatana Indicator Messages Applet
GNU General Public License v3.0
1 stars 6 forks source link

killing Ayatana Webmail process kills messages indicator process #15

Open sunweaver opened 4 years ago

sunweaver commented 4 years ago

When killing ayatana-webmail, the messages indicator dies with it. This should not happen IMHO.

tari01 commented 4 years ago

Hmm. I kill it regularly when testing things, but it never affects the indicator - could you provide some specifics? You know, what exactly you do, what exactly happens :)

sunweaver commented 4 years ago

note that my messages indicator is started via XDG autostart (so a one-time shot)...

If you already use the ayatana-indicators.target for systemd, you won't notice the "crash" of the messaging indicator, because systemd will restart the indicator immediately.

I am logging into a Debian MATE session, kill the process ID of the ayatana-webmail process and then the messages indicator disappears from the panel.

tari01 commented 4 years ago

This is going to be hard for me to test, but I remember something from the Ubuntu days: When you booted with unity-mail autostart disabled, and the messages indicator had no other clients, it did not show up. The minute you started-u-m and it registered itself, the indicator showed up. The same was true for murder: if you killed the last client of the indicator, it went away (if there were more clients, it stayed). I guess this was a "feature".

I am wondering if the ayatana version really crashes when a-w is killed, or just decides it is time to go away because it has no clients.

I think we should move this to ayatana-indicator-messages.

tari01 commented 2 years ago

@sunweaver

I have just re-tested it with the current git build, the issue is no longer present. I may have magically fixed it during the CMake transition. I would like to close this, but it would be nice if you could confirm my findings.