Mozilla doesn't display webpages when trying to make the window transparent using userChrome.css




14 years ago
5 months ago


(Reporter: Gijs, Unassigned)


Windows XP

Firefox Tracking Flags

(Not tracked)



(2 attachments)



14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a6) Gecko/20050101

When using the following as userChrome.css, Mozilla hangs and ultimately crashes
saying something like (I'm on a dutch windows version, so it may not match 100%)

The exception unknown software exception (0xc00000fd) has ocurred in the
application on location 0x77f59255

Click OK to close, Cancel to Debug. (Latter is caused by Visual Studio .NET
being installed)

Reproducible: Always

Steps to Reproduce:
1. Put the following in your userChrome.css:

window {
	background: transparent !important;

2. Start Mozilla.exe
Actual Results:  
Observe that the process shows the splash screen continually and continues to
use close to 100% cpu for about 60-90 seconds, and then throws an exception.

Expected Results:  
Mozilla should have started normally, used less cpu, perhaps utilized the css
code, or at least given a warning that it wasn't able to do so.

I'm using the modern theme, but the exact same thing happens using classic.
My own build (built from cvs at 24-12-2004) crashes as well, while Mozilla 1.7.3
(Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910) does
not. The profile manager is able to start normally for all of these, presumably
because it doesn't access userChrome.css.
Created attachment 170046 [details]
console output

I'm on winXP, and it does not crash, but quits without any messages (after I
pick a profile).  There is a long delay between choosing a profile and moz
exiting, during which it spews the nsViewManager warnings - this log is why I
suggested that Hannibal file the bug under Views.


14 years ago
Keywords: crash, hang
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:

Comment 3

13 years ago
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.9a1) Gecko/20051211 SeaMonkey/1.5a
WFM again.

That said, it doesn't display webpages or content well with this rule. I suspect this may be INVALID, I don't really know enough of the functioning of userChrome (and how it should or shouldn't affect content). Instead of rendering webpages or other content, the background of the window is grey (in the case of navigator), though it is actually transparent in the case of ChatZilla. In either case, I get no titlebar and the window is maximized over the taskbar. Is that supposed to happen? :-).

Morphing this bug. (on Windows XP now)
Severity: critical → normal
Keywords: crash, hang
OS: Windows 2000 → Windows XP
Summary: Mozilla hangs and ultimately crashes when trying to make the window transparent using userChrome.css → Mozilla doesn't display webpages when trying to make the window transparent using userChrome.css


13 years ago
Ever confirmed: true

Comment 4

13 years ago
Created attachment 220305 [details]
transparent <window> does not show contained iframe's content

The attached XUL testcase shows the problem in a reduced context:
If you open the file in the browser, you get a page with an iframe displaying about:mozilla.
If you open the file from the commandline (eg. seamonkey -chrome file:///somewhere/testcase.xul) or from the JSC via open("file:///somewhere/testcase.xul", "", "chrome") , you just get a a yellow border with transparent content inside - and no window frames whatsoever.

Win2k here with SM trunk Gecko/20060421.

Comment 5

13 years ago
Probably related: bug 235877.
Depends on: 235877
Or possibly bug 298889.
QA Contact: ian → layout.view-rendering
Assignee: roc → nobody


5 months ago
Component: Layout: View Rendering → Layout: Web Painting
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.