XUL Pain
I’ve hit a dilemma on a project I’m working on. I want to create a panel similar to the new bookmark and identity panels. The panel has an iframe in it to display web pages. I want the panel to be movable, resizable and animated (similar to the alert slider). This isn’t very easy to do with the panel element. To get around the difficulties in trying to meet these requirements I decided to use a window that is a dependent window without any titlebar or chrome. This seemed like a good way to implement it and the animation looks really good. However, I’ve now hit a road block that I do not know how to get around. The iframe displays correctly on Mac and Linux, but a bug on Windows causes it not to be displayed.
So now I’m stuck with the question of how to get this implementation done. Do I try and figure out how to get the panel animated and resizable or do I try to work around the Windows bug that is causing the iframe to not be displayed?
These are the kind of issues that sometimes make working with XUL a real pain. Do you have any suggestion on how to get this working? Do you have similar pains that I may be able to help with?
Firefox - Discover all the ways a browser can make the Web better for you. Firefox is the safest and most enjoyable way to surf the Web.





What’s the bug # for the Windows issue? Have you asked on IRC?
Has the bug been fixed?
Have you found a work-around? I need the same thing - a movable and resizable panel that looks like the identity panel.
I ended up using a window and hiding the chrome. I made the window non dependent and alwaysRaised to work around the display issue on Windows platforms. I still have an issue on Mac and Linux where the window doesn’t stay on top for those platforms, but I think I can overcome that.
Mark: I spent several hours trying to track down the bug number again and couldn’t find it. I original thought I had overcome the issue by removing the stacks and decks from my display because those were mentioned in the bug, but that didn’t fix it.
Since I thought I had a work around for the bug, I didn’t ask on IRC.
Should I create a new bug report for this issue (iframe not showing in panel on windows)? Using a window is causing a lot of extra work and is not really working for me.