I filed this as crbug.com/23079

Erik


On Fri, Sep 25, 2009 at 11:06 AM, Erik Kay <[email protected]> wrote:
> On Thu, Sep 24, 2009 at 1:39 PM, Michael Weber
> <[email protected]> wrote:
>>
>> When I dismiss my mole by clicking on it's extension name header, I
>> sometimes get one of these two problems:
>>
>> 1. my original toolstrip does not reappear
>>
>> 2. the mole document itslef is loaded into the toolstrip -- needless
>> to say, it don't fit, heh heh
>
> Thanks for the report.  I've seen this a few times myself, but haven't
> figured out a reliable way to reproduce.  If you can find some steps
> that will cause it to repro, let me know.  The issue is related to
> navigation, when the mole and the toolstrip are two separate URLs.
>
> Another approach which shouldn't hit this bug is to use the same URL
> and DHTML techniques to display the appropriate content.
>
> There are two ways to leverage this (unfortunately, neither are in the
> docs yet - I'll get to this shortly):
> - listen to chrome.toolstrip.onExpanded and chrome.toolstrip.onCollapsed 
> events
> - use CSS rules based on the document element's body class.  We now
> add a class to the document element called "chrome-toolstrip" or
> "chrome-mole".  This allows you to add a couple of rules like this:
>
> .chrome-toolstrip #my-toolstrip-div {
>  display: block;
> }
> .chrome-mole #my-toolstrip-div {
>  display: none;
> }
>
> etc.
>
> You can see this in action in the latest version of the sample "mappy"
> extension:
> http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/samples/mappy/
>
> Erik
>
>
>
>>
>> cheers
>> michael
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to