Closed Bug 3133 Opened 26 years ago Closed 26 years ago

Window title bar displays "- Failed"

Categories

(Core Graveyard :: Viewer App, defect, P2)

PowerPC
Mac System 8.5
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: pierre, Assigned: ftang)

Details

On the Mac, the window title bars in Viewer show the suffix "- Failed".
This is related to the code you have checked in nsBrowserWindow.cpp on Tuesday.

The Service Manager cannot create an instance of the StringBundleService because
of NS_ERROR_FACTORY_NOT_REGISTERED.

You either have to auto-register the StringBundle factory (good) or to
explicitely register it in the various copies of nsSetupRegistry.cpp (not so
good).
Assignee: erik → ftang
Frank, could you update your Mac tree, and look into this please?
(I don't have a Mac.)
Assignee: ftang → erik
Erik, no need to have a Mac: just tell me where and how you register the
factory.
It is both automatically (NSRegisterSelf) and manually (nsSetupRegistry.cpp)
registered. Should one of them (the manual one) be deleted? If so, why is this
behavior different between the Mac and (Windows, Unix)?
Suddenly, I have a doubt... Did you build a shared lib and add it to
the Mac build system? You did not check it in just for Windows and Unix, did
you?
Frank built the Mac project file for me. He just discovered a bug in it. He
said he will check it in when the tree opens (or maybe on Monday, so as not to
break the tree over the weekend).
Assignee: erik → ftang
I get it. Franck, if you need some help...
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
I change the project file and make sure the export symbol setting is correct. It
should be fixed now.
QA Contact: 4130
Status: RESOLVED → VERIFIED
marking VERIFIED...for Mar28 Mac Viewer although the date and application isn't relevant at this point.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.