Mailing List Archive

Fixing popup menu z-index issues
Hi,

Spent a bit of time looking into:

http://bugs.bricolage.cc/show_bug.cgi?id=1406

and I've come up with a somewhat hacky, but relatively simple fix that
fixes all the z-index issues with IE6/7 and if you let it run for all
browsers, it fixes the z-index breakage after any re-ordering.

I see from the bug report that Matt wasn't in favour of using such a
solution, so I haven't committed it. What's everyone think?

Patch is attached.

Adrian
Re: Fixing popup menu z-index issues [ In reply to ]
On Apr 3, 2009, at 4:37 PM, Adrian Yee wrote:

> Hi,
>
> Spent a bit of time looking into:
>
> http://bugs.bricolage.cc/show_bug.cgi?id=1406
>
> and I've come up with a somewhat hacky, but relatively simple fix
> that fixes all the z-index issues with IE6/7 and if you let it run
> for all browsers, it fixes the z-index breakage after any re-ordering.
>
> I see from the bug report that Matt wasn't in favour of using such a
> solution, so I haven't committed it. What's everyone think?

Hacky? Hell yes! But if it's the only thing that works, fine. Perhaps
Matt has other ideas, though.

Best,

David
Re: Fixing popup menu z-index issues [ In reply to ]
On 4 Apr 2009, at 01:17, "David E. Wheeler" <david@kineticode.com>
wrote:

> On Apr 3, 2009, at 4:37 PM, Adrian Yee wrote:
>
>> Hi,
>>
>> Spent a bit of time looking into:
>>
>> http://bugs.bricolage.cc/show_bug.cgi?id=1406
>>
>> and I've come up with a somewhat hacky, but relatively simple fix
>> that fixes all the z-index issues with IE6/7 and if you let it run
>> for all browsers, it fixes the z-index breakage after any re-
>> ordering.
>>
>> I see from the bug report that Matt wasn't in favour of using such
>> a solution, so I haven't committed it. What's everyone think?
>
> Hacky? Hell yes! But if it's the only thing that works, fine.
> Perhaps Matt has other ideas, though.

It's probably because we're using Prototype so everything draggable /
should/ have a dragEnd event which is where the z-index fixing should
be done.

Haven't had a chance to look at this but I'm think this should be a
trivial fix.

Regards,

Adeola
Re: Fixing popup menu z-index issues [ In reply to ]
On Apr 3, 2009, at 8:17 PM, David E. Wheeler wrote:

> On Apr 3, 2009, at 4:37 PM, Adrian Yee wrote:
>
>> Hi,
>>
>> Spent a bit of time looking into:
>>
>> http://bugs.bricolage.cc/show_bug.cgi?id=1406
>>
>> and I've come up with a somewhat hacky, but relatively simple fix
>> that fixes all the z-index issues with IE6/7 and if you let it run
>> for all browsers, it fixes the z-index breakage after any re-
>> ordering.
>>
>> I see from the bug report that Matt wasn't in favour of using such
>> a solution, so I haven't committed it. What's everyone think?
>
> Hacky? Hell yes! But if it's the only thing that works, fine.
> Perhaps Matt has other ideas, though.

At this point I'm all in favor of committing that if you haven't
already. Ultimately, the solution will be reworking the interface,
but I just won't have it done anytime soon. It's too big.


-Matt