#10111 closed defect (fixed)
Flashing when clicking menus / dialogs (FF/linux)
Reported by: | Pete Smith | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | Dijit | Version: | 1.4.0b |
Keywords: | menu dialogs | Cc: | |
Blocked By: | Blocking: |
Description
This is reproducible in FF 3.5.3 ( I am on Fedora 11 - 64 bit)
http://download.dojotoolkit.org/release-1.4.0b1/dojo-release-1.4.0b1/dijit/tests/test_Menu.html
1.) Load page. 2.) Click File.
You will see a white flash, just for a fraction of a second, which will cover the word "random text" in the upper left. Although this doesn't look that bad on this page, on my site , with a standard graphic in the upper left, you can see the graphic flash in the menu or dialog for a second. It looks pretty nasty. I have zero problems on 1.3.2.
For another example, see:
http://download.dojotoolkit.org/release-1.4.0b1/dojo-release-1.4.0b1/dijit/tests/test_Dialog.html
When clicking show dialog, you will get a flash of white before it shows.
Attachments (1)
Change History (14)
comment:1 Changed 11 years ago by
Milestone: | tbd → 1.4 |
---|---|
Owner: | set to bill |
Status: | new → assigned |
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 11 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I still see this on my system with dojo 1.4b2. When I click a menu, I see my logo image (in upper left) flash in the menu.
Changed 11 years ago by
Attachment: | test_Menu.html added |
---|
All I did was put a logo in the upper left.
comment:4 Changed 11 years ago by
I attached a test case. When you click a menu,you can see the GenomeQuest? logo flash really fast inside the menu.
comment:6 Changed 11 years ago by
Firefox 3.5 Fedora 11 64 Bit, I see it. I don't see it on FF3.5 / Win Xp. Darn. It is quite apparent though in Linux. The more I assume these are the same the more differences I find.
comment:7 Changed 11 years ago by
I thought possibly it was Firebug installed, but I tried and I don't see it in Windows. There is a sort of "pulse" that happens when a menu is shown, I even see some activity in the low right bar of Firefox (like a page is loading)...
comment:8 Changed 11 years ago by
Yeah, that's the <iframe> behind the menu, loading it's URL (even though it's not a real URL).
In [20635] there was one line removed about setting the iframe opacity, before the
node.appendChild(iframe);
you could try putting that back in to see if it makes a difference.
comment:9 Changed 11 years ago by
I put that line back in - no difference. I guess it is because FF linux is so fast, it tries to load the non real url. Any other ideas?
comment:10 Changed 11 years ago by
Summary: | Flashing when clicking menus / dialogs → Flashing when clicking menus / dialogs (FF/linux) |
---|
No, but I'm curious if it's happening every time or just the first time? Cougar put in caching so the <iframe> (in theory) is only getting created once and thus there should only be one load of the URL, no matter how many times you show the Menu/Dialog?.
comment:11 Changed 11 years ago by
Absolutely every time I click a menu, I see my logo flash in the menu for a split second. No matter how many times.
comment:12 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:13 Changed 11 years ago by
I can confirm, after adding top: "-9999px" to line 148, its fantastic. Thanks bill.
Yes, this is from #10041 although perhaps technically you could call it a different bug (or a different manifestation) since you are talking about Menus not Dialogs. But anyway it's the BackgroundIframe thing.