Transparent elements in transparent window cannot be made opaque




Widget: Gtk
7 years ago
7 years ago


(Reporter: Robert Szelepcsenyi, Unassigned)


Firefox Tracking Flags

(Not tracked)



(1 attachment)



7 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; AskTbGOM2/
Build Identifier: Firefox 3.6.6 + XULRunner - 2010062600 on SuSE 11.2

I have a XUL application, where the base window has transparent background. If I colapse/hide an element, I can't get it rendered again. If I make it transparent, I cannot make it opaque again.

Even if I put something over the whole window (z-index 1), the portions over transparent areas will not render.

The attached example demonstrates this behavior. Pressing keys 1 and 2 switches the box's background between blue and red. Pressing 0 makes the background transparent. After that the background cannot be made opaque again.

This example works perfectly on Windows XP. Perhaps it is a GTK+ issue, I can't tell.

Reproducible: Always

Steps to Reproduce:
1. Open the enclosed file with firefox -chrome <filename>.
2. Press "1" or "2" to switch the background. Press "0" to make it transparent. After that it will stay like that.

Comment 1

7 years ago
Created attachment 458190 [details]
XUL file to demonstrate the problem

Comment 2

7 years ago
I have put the test case on my webserver to make testing easier.

firefox -chrome

I did another test - tried to open Firefox remotely on a X server running on my PC (tunelled over an ssh connection) - the problem was still there.
You need to log in before you can comment on or make changes to this bug.