Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

Problems after upgrading to Sierra or High Sierra? Try these steps
Problems after upgrading to NeoOffice 2017? Try these steps
Download or installation problems? Try these steps


Support
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


RSS Feeds
· Announcements Only
· All Posts


  
NeoOffice :: View topic - Two instances of NeoOffice 2014 open at the same time
Two instances of NeoOffice 2014 open at the same time
 
Post new topic   Reply to topic    NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11806
Location: California, USA

PostPosted: Tue Jul 08, 2014 5:17 pm    Post subject: Reply with quote

Thank you for the Console output. What I notice was several of the following entries right in a row:

Code:
launchservicesd[54]: Someone attempted to start application App:"NeoOffice 2014" asn:0x0-29029 pid:652 refs=6 @ 0x7f8881c434f0 but it still has _kLSApplicationLockedInStoppedStateKey=true, so it is is staying stopped. : LASApplication.cp #2468 SetApplicationInStoppedState() q=LSSession 100004/0x186a4 queue


I assume that this means OS X is blocking launching of NeoOffice while it finishes some login processes.

To me, this seems like an OS X bug. I would think that while OS X blocks NeoOffice from launching, OS X would not launch additional instances of NeoOffice and, instead, OS X would queue Mail's multiple requests to launch NeoOffice until after OS X unblocks NeoOffice.

BTW, this OS X blocking behavior may explain why Mail blocks the user interface for 30 seconds or more after I reboot and login on OS X 10.9.4 Mavericks.

Patrick
Back to top
View user's profile Send private message Visit poster's website
James3359
The Merovingian


Joined: Jul 05, 2005
Posts: 685
Location: North West England

PostPosted: Tue Jul 08, 2014 8:56 pm    Post subject: Reply with quote

I have been thinking some more about this. So these are just some non-expert ramblings in case they are any use.

It feels as if when OS X starts up it offers me a non-functioning picture of my desktop, as it was at previous shutdown, before it's ready to handle any input from me.

If I'm clicking away on a couple of attachments in Mail, initially nothing happens, then I get visual feedback that I've double clicked them. Sometimes this is followed by more than one instance of NeoOffice opening, but sometimes I get the OS message, "The application "NeoOffice 2014" can't be opened. -1712". The message will pop up more than once if I keep double clicking.

I wonder if maybe the OS is queueing the 'launch NeoOffice' messages generated by double clicking the attachments, and that at some point it is possible for more than one launch message to getting through before the OS allows NeoOffice to ask the question "is another instance already running", or before it gets a response, or before OS X 'knows' that another instance is running/has been launched.

As I have been typing this I've been shutting down and rebooting and trying to reproduce the behaviour. It doesn't always happen, and I was having a run of non-success. I wondered whether that might because I have removed Growl (which I had noticed among the console messages and no longer use).

But having tried a few times I realised that another change I had made was that I had closed Mail's Activity Window. Shutting down with Mail running and the Activity window open seemed to make it possible to replicate the two instances thing again. But, although two NO icons bounced in the dock for a while, only one instance opened.

Currently I can't reproduce getting two instances to run. Also, I should say, no data loss has been involved at all at any point in this process.

_________________
MacBook Pro
13-inch, Mid 2012
Processor 2.5 GHz Intel Core i5
Memory 4 GB 1600 MHz DDR3
Graphics Intel HD Graphics 4000 512 MB
OS X 10.9.3 (13D65)
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11806
Location: California, USA

PostPosted: Tue Jul 08, 2014 9:07 pm    Post subject: Reply with quote

James3359 wrote:
But having tried a few times I realised that another change I had made was that I had closed Mail's Activity Window. Shutting down with Mail running and the Activity window open seemed to make it possible to replicate the two instances thing again. But, although two NO icons bounced in the dock for a while, only one instance opened.


I now suspect that Mail requests a new instance of NeoOffice (or other applicable application) for each time you try to open an attachment. I had forgotten that applications like Mail can set a flag in their "open file" request that asks for a new instance of the application to be launched.

I don't know why the Apple engineers set the Mail application code to request a new instance, but it is good to hear that without Growl, NeoOffice's "is there another instance already running" code is working for you.

Patrick
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Goto page Previous  1, 2
Page 2 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.02 Seconds