X2Go Bug report logs - #1447
x2godesktopsharing termination

version graph

Package: x2godesktopsharing; Maintainer for x2godesktopsharing is X2Go Developers <x2go-dev@lists.x2go.org>;

Reported by: Oleg Solovyov <mcpain@basealt.ru>

Date: Fri, 20 Mar 2020 08:45:01 UTC

Severity: grave

Found in version 3.2.0.0

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1447; Package x2godesktopsharing. (Fri, 20 Mar 2020 08:45:01 GMT) (full text, mbox, link).


Acknowledgement sent to Oleg Solovyov <mcpain@basealt.ru>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Fri, 20 Mar 2020 08:45:01 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Oleg Solovyov <mcpain@basealt.ru>
To: submit@bugs.x2go.org
Subject: x2godesktopsharing termination
Date: Fri, 20 Mar 2020 11:40:28 +0300
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1447; Package x2godesktopsharing. (Wed, 01 Apr 2020 09:35:01 GMT) (full text, mbox, link).


Acknowledgement sent to mcpain <mcpain@basealt.ru>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 01 Apr 2020 09:35:01 GMT) (full text, mbox, link).


Message #10 received at 1447@bugs.x2go.org (full text, mbox, reply):

From: mcpain <mcpain@basealt.ru>
To: 1447@bugs.x2go.org
Subject: x2godesktopsharing termination
Date: Wed, 01 Apr 2020 12:31:40 +0300
[Message part 1 (text/plain, inline)]
ping
[signature.asc (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1447; Package x2godesktopsharing. (Wed, 01 Apr 2020 12:15:01 GMT) (full text, mbox, link).


Acknowledgement sent to mcpain@basealt.ru:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 01 Apr 2020 12:15:01 GMT) (full text, mbox, link).


Message #15 received at 1447@bugs.x2go.org (full text, mbox, reply):

From: mcpain@basealt.ru
To: 1447@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1447: x2godesktopsharing termination
Date: Wed, 01 Apr 2020 15:10:50 +0300
Also reproducible on:
Fedora 29 (MATE)
Ubuntu 19.10 (MATE)



Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1447; Package x2godesktopsharing. (Mon, 06 Apr 2020 08:00:02 GMT) (full text, mbox, link).


Acknowledgement sent to mcpain@basealt.ru:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 06 Apr 2020 08:00:03 GMT) (full text, mbox, link).


Message #20 received at 1447@bugs.x2go.org (full text, mbox, reply):

From: mcpain@basealt.ru
To: 1447@bugs.x2go.org
Subject: Bug#1447: x2godesktopsharing termination
Date: Mon, 06 Apr 2020 10:56:22 +0300
[Message part 1 (text/plain, inline)]
В письме от среда, 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.
[alt-fix-quit.patch (text/x-patch, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1447; Package x2godesktopsharing. (Tue, 07 Apr 2020 19:15:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 07 Apr 2020 19:15:02 GMT) (full text, mbox, link).


Message #25 received at 1447@bugs.x2go.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: o.shneyder@phoca-gmbh.de
Cc: 1447@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1447: x2godesktopsharing termination
Date: Tue, 07 Apr 2020 19:12:10 +0000
[Message part 1 (text/plain, inline)]
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

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1447; Package x2godesktopsharing. (Fri, 10 Apr 2020 17:25:01 GMT) (full text, mbox, link).


Acknowledgement sent to Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Fri, 10 Apr 2020 17:25:01 GMT) (full text, mbox, link).


Message #30 received at 1447@bugs.x2go.org (full text, mbox, reply):

From: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Cc: 1447@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1447: x2godesktopsharing termination
Date: Fri, 10 Apr 2020 12:21:18 -0500
[Message part 1 (text/plain, inline)]
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

Amtsgericht München       | http://www.phoca-gmbh.de
HRB 196 658               | http://www.x2go.org
USt-IdNr.: DE281977973
-----------------------------------------------------------

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 12:15:46 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.