[X2Go-Dev] Bug#1447: x2godesktopsharing termination

mcpain at basealt.ru mcpain at basealt.ru
Mon Apr 6 09:56:22 CEST 2020


В письме от среда, 1 апреля 2020 г. 15:10:50 MSK пользователь 
mcpain at basealt.ru написал:
> Also reproducible on:
> Fedora 29 (MATE)
> Ubuntu 19.10 (MATE)
> _______________________________________________
> x2go-dev mailing list
> x2go-dev at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alt-fix-quit.patch
Type: text/x-patch
Size: 582 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20200406/8083651f/attachment.bin>


More information about the x2go-dev mailing list