Hi Mike, looks reasonable.
regards Alex Am 07.04.20 um 14:12 schrieb Mike Gabriel:
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
Oleksandr Shneyder | Email: o.shneyder@phoca-gmbh.de phoca GmbH | Tel. : 0911 - 14870374 0 Schleiermacherstr. 2 | Fax. : 0911 - 14870374 9 D-90491 Nürnberg | Mobil: 0163 - 49 64 461
Geschäftsführung: Dipl.-Inf. Oleksandr Shneyder