Closed Bug 90707 Opened 23 years ago Closed 23 years ago

mfcembed missing scroll bars

Categories

(Core Graveyard :: RDF, defect)

defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: tracy, Assigned: waterson)

References

Details

Attachments

(1 file)

seen on windows mfcembed for build 2001-07-13-07-trunk

-launch the app.

no scroll bars appear. The keyboard arrow keys scroll through the page
This is an odd one. The classic skin is there but the browser isn't reading its 
contents.rdf and registering it as a skin. The net result is no scrollbars.

Looking at the code right now...
The problem appears to be a weird rdf / chrome issue. Scroll bars aren't
appearing because 'chrome://global/skin/scrollbars.css can't be loaded. And
scrollbars.css can't be loaded because the skin/class/global/contents.rdf is not
read and registered, so it can't be found. 

I don't understand this one at all. All the files for skin/classic/global are
there (including contents.rdf), the installed-chrome.txt points to it, yet it
doesn't get registered into all-skins.rdf even when I delete the rdf files to
force it to happen. Instead I see an error like this when I start winEmbed:

*** Chrome Registration of skin: Checking for contents.rdf at jar:resource:/chro
me/embed.jar!/skin/classic/global/
WARNING: Trying old-style manifest.rdf. Please update to contents.rdf., file d:\
m\source_clean\mozilla\rdf\chrome\src\nsChromeRegistry.cpp, line 2017

There is a contents.rdf and to my untrained eye, it seems fine.

The weird thing is that skin/classic/global *does* get registered properly on
Linux so gtkEmbed has scrollbars.

As I am on vacation from now for 3 weeks I will reassign to the rdf people in
the hope of shedding some light on the issue. Why doesn't the
skin/classic/global/contents.rdf load in embed.jar? 
Assignee: adamlock → waterson
Component: Embedding APIs → RDF
QA Contact: mdunn → tever
*** Bug 90748 has been marked as a duplicate of this bug. ***
Adding blocker and CC:s from duplicate bug.
Blocks: 90512
No longer blocks: 90512
*** Bug 92460 has been marked as a duplicate of this bug. ***
This shows up in TestGtkEmbed as well, marking all.
OS: Windows 98 → All
Hardware: PC → All
*** Bug 95042 has been marked as a duplicate of this bug. ***
Jeff Doozan spotted the problem, a line in embed-jar.mn spells "clasic" instead
of "classic". Thanks Jeff!

Patch follows. Can I have a review please?
r=mcafee
sr=scc
Fix is checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
*** Bug 95207 has been marked as a duplicate of this bug. ***
verified fixed on embed builds:

windows mfcembed 2001-08-14-06-trunk
linux TestGtkEmbed 2001-08-14-07-trunk
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: