| витязь в тигровом халате ( @ 2006-05-16 22:55:00 |
nsNextGoodThing(TM), new Destroy code coming
You know, everytime I'm joining #haiku channel, axeld is asking me - "why Firefox
prevents shutdown?", "Why i cannot close it from Deskbar"?
So I got really ashamed, those Haiku guys are working day and night 25/24 - and we?
So tried to return to bug 164498 and won!
At least I hope so.
With new code in nsWindow.cpp BeZilla now closes from Deskbar and Shutdown, also autocloses and really quits if you close last real window and have "Find" dialog open. That wasn't the case before.
I suspect that our new code in AppShell helped things a bit too.
Now back to work on polishing patch for bugzilla.
Update: Patch updated. There are enough technical details in comment to the patch.
Onlu important thing i wish to add - we really need to Run() our loopers at nsWindow create. Maybe even some troubles i had in AppShell fix is related to broken message chain with non-running loopers.
Update 2: Build with new Quit code is available for testing. Testing with lot of hands and eyes is really important here, as Quit process is really very complicated in our case and i really could miss lot of such circumstances.
You know, everytime I'm joining #haiku channel, axeld is asking me - "why Firefox
prevents shutdown?", "Why i cannot close it from Deskbar"?
So I got really ashamed, those Haiku guys are working day and night 25/24 - and we?
So tried to return to bug 164498 and won!
At least I hope so.
With new code in nsWindow.cpp BeZilla now closes from Deskbar and Shutdown, also autocloses and really quits if you close last real window and have "Find" dialog open. That wasn't the case before.
I suspect that our new code in AppShell helped things a bit too.
Now back to work on polishing patch for bugzilla.
Update: Patch updated. There are enough technical details in comment to the patch.
Onlu important thing i wish to add - we really need to Run() our loopers at nsWindow create. Maybe even some troubles i had in AppShell fix is related to broken message chain with non-running loopers.
Update 2: Build with new Quit code is available for testing. Testing with lot of hands and eyes is really important here, as Quit process is really very complicated in our case and i really could miss lot of such circumstances.