Description

Internet Explorer has what is called the Peek-a-Boo bug where under certain situations content is hidden until the mouse passes over the link or I.E. window is resized.

Steps to reproduce

As far as I know this impacts right side bar theme.

Example

I tried to reproduce on MoinMoin wiki, but it doesn't want to cooperate. I thought is was triggered by small pages with only links and headings.

Details

MoinMoin Version

1.5

OS and Version

Python Version

Server Setup

Server Details

Workaround

Edit CSS. I tried to find the place, but it became rapidly obvious that I didn't know what I was doing. At least I can learn enough to be dangerous...Add the following to the end of 'screen.css' of the 'rightsidebar' theme...

* html div#page, div#header {height: 1%;}

This says to set all 'div's with an id of 'page' or 'header' to have a height = 1%. Because 1% is too small to contain any content, IE6 recalculates a real height based on the content.

Could one of the IE admin/users please check if it is the appearance of height in the css definition and the value of 1% or does it work too if it is 0.01%? -- ReimarBauer 2006-01-13 09:53:48

The same change, to the "modern" theme, seems to fix MoinMoinBugs/MoreIeRenderingIssues as well as this one. (Of course, I've yet to manage to get a 100% reproducible case, so I can't be completely sure - but since I've applied the change I haven't been able to provoke the issue...)

Discussion

How Plone deals with it

Peek-A-Boo bug page

The Holly Hack

The bug is also a problem in the 'modern' theme, e.g. when you create a new page. In this case the sentence 'Diese Seite gibt es noch nicht...' is not visisible. The workaround which is described in the chapter above is doing fine here as well. It seems that the 'classic' theme has no problems of this kind.

Please explain shortly why this works and why it doesn't have negative consequences.

As I understand it, the error is caused by rendering bugs related to positioning of floating elements in IE. The links above discuss it further. The bug is triggered by elements without a defined height. From the Plone page referenced above:

The fix should not affect non-IE browsers, as the "* html" incantation hides the CSS from non-IE/Win browsers. The fix won't adversely affect IE, as the height is so small that it is always smaller than the actual box content, and the box expands to fit its content.

Hope this helps. I have implemented this on our internal Wiki, with no adverse effects (all clients use IE6) and I don't get the rendering problems at all. -- PaulMoore 2006-01-16 17:51:57

We are using not regular IE for browsing. The simple tests I did for now do not show any problems by adding the height with 0% at the end to screen.css of modern and rightsidebar theme. browsers like mozilla and konqueror did not show a problem till now. lets test a bit more. -- ReimarBauer 2006-01-17 14:14:26

* html div#page, div#header {height: 0%;}


Testcases

Visit all pages mentioned above and look at the dialog of a new page creation and look how it is shown with IE for each theme of classic, modern, rightsidebar

classic

works with IE6 -- ReimarBauer 2006-01-20 16:27:00

modern

works with IE6 -- ReimarBauer 2006-01-20 16:30:59

rightsidebar

works with IE6 but some pages look sometimes like this one rightsidebar_IE6.png. the page is below the sidebar. Other pages are shown normal.-- ReimarBauer 2006-01-20 16:43:50

The page imaged below the sidebar might be a different problem. IE6 here had the same issue with 1.3.x that I pretty much took as an IE idiocy and ignored since the content was actually there and it only happend on a couple pages. The Peek-a-boo bug only became evident (at least to me) with 1.5.0. -- TimCera 2006-01-24 14:29:47

Still a Bug with IE7 and rightsidebar Theme

Just upgraded to Moin 1.7.1 and still have this bug, now with IE7! Seems to only affect the rightsidebar theme. With IE7 I could not see the user 'Settings' page. You can reproduce on http://moinmo.in site by using the rightsidebar theme and going to the 'Settings' page. Found a fix on this site http://www.zeldman.com/2006/10/27/ie7fixes1/ about halfway down the page. I choose the fix to include 'min-height: 1%;' in the '#page' section of the rightsidebar 'screen.css'. Works now! -- TimCera 2008-07-30 12:31:38

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/InternetExplorerPeekABooBugInRightSideBar (last edited 2008-09-04 21:48:05 by ThomasWaldmann)