On OS/2, trying to run Firebird when Thunderbird is already open merely send control over to the running mozilla-based app. This is do to the MessageWindow code in xpfe/bootstrap/nsNativeAppSupportOS2.cpp; all three different applications have the same message window ID.
Taking. Patch coming.
Assignee: nobody → pedemont
Created attachment 129619 [details] [diff] [review] patch First, I changed the Message Window ID handling, so that all 3 apps don't share the same ID. Now, each app creates the ID from an Atom based on its name. However, even here, the msg window id is not guaranteed to be unique amongst all running apps. So if we find an running app that shares the same ID, we double check that we also share the same window class name. If so, then we get the window handle of the running app and send it the requests.
This should be XP Apps. /be
Component: XP Miscellany → XP Apps
Comment on attachment 129619 [details] [diff] [review] patch r=mkaply sr=blizzard (platform specific) a=mkaply for 1.4.1 and 1.5b
Created attachment 129670 [details] [diff] [review] patch v1.1 Made it so if we have to add an atom for the class name, then assume the app isn't running. Also, added comments.
Comment on attachment 129670 [details] [diff] [review] patch v1.1 Kaply, what do you think of this one? Is it better than the first patch?
checked in to trunk and branch
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
*** Bug 216389 has been marked as a duplicate of this bug. ***
*** Bug 219691 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.