Hi Alex,
On Mo 06 Apr 2020 09:56:22 CEST, mcpain wrote:
When QCoreApplicationPrivate::maybeQuit() is called, quitLockRef.load() == 0, hence QEvent::Quit is sent on MATE and application terminates. KDE is fine because there is plasma-integration package, which provides KDEPlatformSystemTrayIcon and quitLockRef.load() != 0 when maybeQuit() is called.
Took a look at other Qt5 applications like Psi+ and made a patch with similar workaround.
Can you take a look at the proposed patch and let me know if the
proposal is the way to go? Thanks.
Thanks
--
DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de