Firefox 3/Linux broke the menus over flash (again) [SOLVED]

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
kedlm
Advanced
Advanced
Posts: 11
Joined: Tue Jun 17, 2008 9:45 pm

Firefox 3/Linux broke the menus over flash (again) [SOLVED]

Post by kedlm »

Firefox 2+ worked fine under Linux and Windows with Flash and Milonic menus. (with the flash activator js)
Firefox 3 was just released today and it works fine with the Milonic menus under Windows, but under Linux the menus are again behind the flash.

The sample at http://milonic.com/over.php works fine with Firefox 3 under Windows and Firefox 2 under Windows and Linux, but does not work correctly with Firefox 3 and Linux.

Any ideas?

Thanks,
Mike
Last edited by kedlm on Mon Sep 08, 2008 3:59 pm, edited 1 time in total.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Firefox 3 under Linux broke the menus over flash (again)

Post by John »

Andy posted a new release today (v5.795), but left no info on what changes were made. You might want to give it a try.
John
kedlm
Advanced
Advanced
Posts: 11
Joined: Tue Jun 17, 2008 9:45 pm

Re: Firefox 3 under Linux broke the menus over flash (again)

Post by kedlm »

Thanks for the heads-up about the new version, but it did not help.

I should clarify that the example at http://milonic.com/over.php works with Firefox 2 and 3 under Windows.
But that example does NOT work with Firefox 2 or 3 under Linux.

What does work with Firefox 2 under Linux, but does not work with Firefox 3 under Linux, is adding $mmStyle->fixMozillaZIndex=true; to the menus.

Sorry about that confusion.

Mike
kedlm
Advanced
Advanced
Posts: 11
Joined: Tue Jun 17, 2008 9:45 pm

Re: Firefox 3 under Linux broke the menus over flash (again)

Post by kedlm »

This may help someone track this down, but if I make the menus large enough (or the web browser small enough) and add
$mmMenu->overflow="scroll";

then the menus that scroll do appear above the flash!

So it is possible to fix in Firefox 3, just something extra must be needed.

Mike
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Firefox 3 under Linux broke the menus over flash (again)

Post by Andy »

Hi,

Are you saying that Firefox 2 actually worked under Linux? I wasn't aware that the windowlessmode (wmode) had actually been fixed by Adobe yet. I'm assured that Firefox have done their part with X on *nix but are just waiting for Adobe to finish off their part. This is why I'm surprised that it has worked at all on Linux.

Have you got a URL of one that works with Firefox 2 on Linux?

-- Andy
kedlm
Advanced
Advanced
Posts: 11
Joined: Tue Jun 17, 2008 9:45 pm

Re: Firefox 3 under Linux broke the menus over flash (again)

Post by kedlm »

It works "well enough", but not perfectly.

By adding the fixMozillaZIndex=true option the pulldown/right menus appear over the flash in Linux with Firefox 2.
However, the main horizontal/vertical menu bases still do not appear over flash.

That is a limitation I can live with.

Mike
kedlm
Advanced
Advanced
Posts: 11
Joined: Tue Jun 17, 2008 9:45 pm

Re: Firefox 3 under Linux broke the menus over flash (again)

Post by kedlm »

Andy,

Is there a chance of restoring the "partially working" functionality of Firefox 2 in Firefox 3 in Linux?
Where the fixMozillaZIndex would allow pop up menus to appear on top of flash?

Thanks
Mike
Last edited by kedlm on Fri Jun 20, 2008 4:40 pm, edited 1 time in total.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Firefox 3 under Linux broke the menus over flash (again)

Post by Andy »

kedlm wrote:Andy,

Is there a chance of restoring the "partially working" functionality of Firefox 2 in Firefox 3 in Linux?
Where the fixMozillaZIndex would allow up up menus to appear on top of flash?

Thanks
Mike
Unfortunately not. The 2 browsers are completely different. We need to find another workaround.

The problem is that Adobe hasn't completed their part of the windowlessmode for their Linux version of Flash. With Firefox 2 we could use a position of "fixed" and this worked but it was still a workaround. However, this workaround no longer works in Firefox 3. There is a method that we can try but this will require some additional coding in the menu. Apparently the IFRAME masking that we used for IE5.5+ also works in Firefox but there are a few issues getting it to work properly.

I'll see if I can push this forward and get a release out asap
kedlm
Advanced
Advanced
Posts: 11
Joined: Tue Jun 17, 2008 9:45 pm

Re: Firefox 3 under Linux broke the menus over flash (again)

Post by kedlm »

Is it using this idea or would this work?
http://blog.marcoos.com/2006/07/21/html ... -possible/

Thanks for pushing on it!
Mike
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Firefox 3 under Linux broke the menus over flash (again)

Post by Andy »

Yes, it will be using something similar.

Looks like we need to specify the IFRAME's display as none to start with and then change it to block after the pages has loaded - it's a very bad workaround and one that I'm really not happy with implementing but looks like the only way for now. At least until Adobe get their act together, it's been a bug report for about 5 years :roll:
kedlm
Advanced
Advanced
Posts: 11
Joined: Tue Jun 17, 2008 9:45 pm

Re: Firefox 3 under Linux broke the menus over flash (again)

Post by kedlm »

Just thought I'd see if you had thought about this anymore.

Cheers,
Mike
kedlm
Advanced
Advanced
Posts: 11
Joined: Tue Jun 17, 2008 9:45 pm

Re: Firefox 3 under Linux broke the menus over flash (again)

Post by kedlm »

The good news is that with the latest Adobe Flash Beta for Linux and Firefox 3, the wmode=transparent stuff works so the menus will appear on top of flash movies!

The bad news is that either there is a damage/redraw bug "somewhere" or I need to layout my page again because I get some extra redraws when the menus popup over the flash. Still things are much better now than before!

(the extra redraws don't happen in IE or Firefox 2 with the latest Flash Beta so I'm guessing its a FF3 issue)
steve.n
Advanced
Advanced
Posts: 20
Joined: Sat Aug 30, 2008 2:25 am

Re: Firefox 3 under Linux broke the menus over flash (again)

Post by steve.n »

Hi Andy,

It would appear the menu does not appear over flash in Firefox3 for XP as well.

The link to see is http://www.allflex.com.au

I've just updated with the latest version with no change.

Appreciate any advice or update to this problem.

Thanks. Steve
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Firefox 3 under Linux broke the menus over flash (again)

Post by Andy »

HI,

You need to add wmode=transparent to your Flash object.

See the menus at http://milonic.com/over.php - as you can see they work fine in Firefox 3
kedlm
Advanced
Advanced
Posts: 11
Joined: Tue Jun 17, 2008 9:45 pm

Re: Firefox 3 under Linux broke the menus over flash (again)

Post by kedlm »

Just another update:
- using the latest firefox 3 under windows and linux (and IE6+ under windows)
- and using the latest flash 10 beta from adobe
- and using the latest menu (5.801 I think)

All my menus, redraw issues, flash pages, etc. work perfectly as far as I can tell.

Thanks for a great product! We really like it! :-)

Mike
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Firefox 3/Linux broke the menus over flash (again) [SOLVED]

Post by John »

Your kind words are most appreciated, Mike.

Thanks!
John
Post Reply