0

Windows over Listbox (select) in IE6

asked 2009-12-09 14:06:07 +0800

dastultz gravatar image dastultz
797 9

I'm sure most of you are familiar with the problem of objects overlapping "select" lists in IE6. I've searched the forum and bug database and there are some references to it, but not specifically this case of an overlapped window over a listbox with mold select:

<window>
<div height="50px" />
<div style="margin-left:50px">
<toolbarbutton label="Pop" onClick="win1.doOverlapped()" />
<listbox mold="select">
<listitem label="Hey" selected="true" />
</listbox>
<window visible="false" closable="true" id="win1" border="normal" width="600px" height="300px">
<caption label="Test" />
<label>Test</label>
<label>Drag this so it overlaps the listbox</label>
</window>
</div>
</window>

I don't have IE6 available to me for testing, but clients report the problem. The select listbox "bleeds" through the window. The accepted workaround for this is to put an IFRAME over the listbox and the window over that. That's how I solved it in my crappy home-grown framework. Zk doesn't seem to do this. Has anyone addressed this and come up with a workaround for it?

Thanks.
/Daryl

delete flag offensive retag edit

15 Replies

Sort by ยป oldest newest

answered 2009-12-13 19:18:16 +0800

tmillsclare gravatar image tmillsclare
799 2 5 30

Hey dastultz, I cannot replicate this problem at the moment, it is possible to provide me with the build number of IE 6? Also maybe a screenshot of the problem would be very useful so we can see exactly what happens!

Thanks,
Tim

link publish delete flag offensive edit

answered 2009-12-15 07:51:09 +0800

dastultz gravatar image dastultz
797 9

Unfortunately it seems only my clients have such machines that do this. I don't have one available to me that replicates it either. I'm not even sure the example I gave here replicates it. It just occurred to me that I usually turn off the shadow for overlapped windows. Maybe there's something in the shadow that overcomes it? Maybe you could try the example again but turn off the shadow for the overlapped window. Thanks.

/Daryl

link publish delete flag offensive edit

answered 2009-12-20 21:18:17 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

updated 2009-12-20 21:18:39 +0800

Hi Dary,

Could you tell me which ZK version you are using?
I test your example with ZK 3.6.3 version(even if ZK 5.0.0 RC2 ), and it works well.

link publish delete flag offensive edit

answered 2010-01-04 14:12:14 +0800

dastultz gravatar image dastultz
797 9

zk-bin-3.6.3-FL-2009-10-01

Did you test with IE 6 on Windows XP?

/Daryl

link publish delete flag offensive edit

answered 2010-01-11 01:25:31 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

@dastultz,

Can you try on 3.6.3 final release?

link publish delete flag offensive edit

answered 2010-03-13 10:26:16 +0800

dastultz gravatar image dastultz
797 9

Can someone with IE6 please test this code?

<?xml version="1.0" encoding="utf-8"?>
<window>
	<div height="50px" />
	<div style="margin-left:50px">
		<toolbarbutton label="Pop" onClick="win1.doOverlapped()" />
		<listbox mold="select">
			<listitem label="Hey" selected="true" />
		</listbox>
		<window visible="false" closable="true" shadow="false" id="win1" border="normal" width="600px" height="300px">
			<caption label="Test" />
			<label>Test</label>
			<label>Drag this so it overlaps the listbox</label>
		</window>
	</div>	
</window>

I've turned off the shadow, maybe that makes a difference.

Thanks.

/Daryl

link publish delete flag offensive edit

answered 2010-03-16 01:18:33 +0800

tmillsclare gravatar image tmillsclare
799 2 5 30

Hey Daryl,

I will try this again for you.

Thanks,
Tim

link publish delete flag offensive edit

answered 2010-04-12 15:32:49 +0800

dastultz gravatar image dastultz
797 9

Any progress on this, Tim?

Thanks.

/Daryl

link publish delete flag offensive edit

answered 2010-04-12 21:30:01 +0800

tmillsclare gravatar image tmillsclare
799 2 5 30

Hey Daryl,

Thanks for sticking with me on this.

I have confirmed that this is indeed a bug and was able to replicate it in the office. I have created a bug report so you can track the progress of it!

https://sourceforge.net/tracker/index.php?func=detail&aid=2986233&group_id=152762&atid=785191#

Please feel free to add any additional comments.

link publish delete flag offensive edit

answered 2010-04-12 23:04:30 +0800

tomyeh gravatar image tomyeh
610 1 3
http://blog.zkoss.org ZK Team

It is not a bug. The shadow is critical to solve IE6 notorious z-index issue of the SELECT tag. When the shadow is turned on, we created a transparent iframe to make the window to appear on top of SELECT (a technique we called stackup). If you turned it off, iframe won't be created.

With 5.0 we have more fine control regarding this. You might take a look at zk.useStackup.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-12-09 14:06:07 +0800

Seen: 1,502 times

Last updated: Apr 20 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More