discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apps don't load in GWorkspace


From: Riccardo Mottola
Subject: Re: Apps don't load in GWorkspace
Date: Sun, 24 May 2020 19:28:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

Hi Wolfgang,


On 5/22/20 6:37 PM, Wolfgang Lux wrote:
And, in this case, Gworkspace has not hung, bu is loaded twice (two icons in the dock).
Hmmm, this looks like possibly a nasty race condition. By default, gopen asks the workspace manager application, i.e., GWorkspace.app, to start the requested application. If the workspace manager is not running, it will be launched first. So this is happening for you. But apparently this instance appears of the workspace manager appears not to respond (note the 'Application seems to have hung' message; maybe startup is too slow?) and therefore gopen just starts the requested application on itself, which leads to two instances of this process running. :-(


I agree with you. It should not happen to have two instances of the same application running. Any application in GNUstep should exist only once running and this is the same for GWorkspace if you launch it.

I will try gopen -a GWorkspace on some of my slower machines and will update and test on my Raspberry too... should have tested it anyway.

I think the "lock" and guarantee should come from GNUstep itself, so in case it is GS's bug more than GWorkspace's.

Riccardo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]