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