Correction: Here are screen captures that show issue #2: http://rodan.lastpass.com/img1.png - normal http://rodan.lastpass.com/img2.png - expanded http://rodan.lastpass.com/img3.png - scrollbar issue #2 mentioned
On Sep 24, 6:43 pm, Ignac <[email protected]> wrote: > I have a super simple extension: > A text link in a toolstrip that when click, expands the toolstrip into > a mole. > In the mole is another text link that when clicked, collapses the mole > back to the toolstrip. > > If you expand, collapse, expand, collapse, etc. eventually 2 bugs > manifest themselves: > 1. the expanded state suddenly changes the font-size of the text > 2. the collapsed state ends up displaying ugly scrollbars rendering > the entire extension useless. > > It feels like there is a race between displaying the title tooltips > when you hover over the toolbutton/mole and clicking it to collapse/ > expand the mole > > With this simple example, I can reproducibly get it to happen after > anywhere from 1 to 8 attempts. > With my full fledged extension, it happens 100% of the time. > > I'm using the latest build > fromhttp://build.chromium.org/buildbot/snapshots/chromium-rel-xp/ > (also tried earlier builds). > I can not get it to happen on the latest dev release - because the > tooltip is static and doesn't appear/disappear when you mouseover/ > mouseout of your mole....but I cant use that build as it has many more > problems. > > Here are screen captures that show issue #2: > http://rodan.lastpass.com/img1.png- normal > http://rodan.lastpass.com/img1.png- expanded > http://rodan.lastpass.com/img1.png- scrollbar issue #2 mentioned > above > > Below is my code. > You can also download my CRX from here:http://rodan.lastpass.com/bug.crx > > We were hoping to release our extension tomorrow... > Would be greatly appreciative if someone on the chrome team could > throw a fix for this issue in a nightly build. > > Thanks. > > $ cat background.html > <html><body></body></html> > > $ cat lp_toolstrip.html > <html><body><div class="toolstrip-button" > onclick="chrome.toolstrip.expand({height: > 300,url:chrome.extension.getURL('menu.html')});">expand</div></body></ > html> > > $ cat menu.html > <html><body><a href="#" onclick="chrome.toolstrip.collapse > ({url:chrome.extension.getURL('lp_toolstrip.html')});">collapse</a></ > body></html> > > The manifest is as follows: > { > "name": "xxxxxx", > "version": "0.1", > "description": "xxxxx for Chrome", > "key": "xxxxxx", > "default_locale": "en_US", > "background_page": "background.html", > "toolstrips": ["lp_toolstrip.html"] > > } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
