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: Wolfgang Lux
Subject: Re: Apps don't load in GWorkspace
Date: Mon, 25 May 2020 17:52:53 +0200


> Am 25.05.2020 um 15:28 schrieb Riccardo Mottola <riccardo.mottola@libero.it>:
> 
> Hi,
> 
> 
> On 24/05/2020 19:28, Riccardo Mottola wrote:
>> 
>> 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.
>> 
> 
> I verified. Even on a clean and trusted installation on Linux/x86 done by me, 
> "gopen -a GWorkspace" consistently opens two applications. Sometimes they 
> work both, sometimes one hangs.
> 
> 
> I think this is an issue. Richard suggests that GWorkspace should to the 
> checks itself. How, I don't know yet

I think
  defaults write GWorkspace NSUseRunningCopy YES
should already do that. On the other hand, the logic behind NSUseRunningCopy 
might fail notice the other running instance in the same way that -[NSWorkspace 
launchApplication:showIcon:autolaunch:] does. Still worth a try at least.

Wolfgang




reply via email to

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