Package: x2godesktopsharing Version: 3.2.0.0 Severity: grave
When connecting from machine A to machine B, x2godesktopsharing running on B, exits normally instead of changing its tray icon to view.png
ALT Workstation 9, using MATE with kernel 4.19.79-std-def-alt1
Also reproducible on: Fedora 29 (MATE) Ubuntu 19.10 (MATE)
В письме от среда, 1 апреля 2020 г. 15:10:50 MSK пользователь mcpain@basealt.ru написал:
Also reproducible on: Fedora 29 (MATE) Ubuntu 19.10 (MATE)
x2go-dev mailing list x2go-dev@lists.x2go.org https://lists.x2go.org/listinfo/x2go-dev
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.
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
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