Status: Started Owner: [email protected] CC: [email protected] Labels: Type-Bug Pri-2 OS-Windows Area-Extensions Size-Medium
New issue 21324 by [email protected]: Reloading a local page action makes icon stop appearing http://code.google.com/p/chromium/issues/detail?id=21324 1. Create a local extension that uses a page action. 2. Launch Chrome and load the extension using "Load unpacked extension" from chrome://extensions 3. Visit a matching page and see your page-action icon in the URL bar. 4. Edit the manifest, adding or removing a matching pattern. (Other edits might also work, or rather, not work.) 5. Reload the extension by clicking Reload on chrome://extensions. 6. Visit a matching page. No page-action icon appears in the URL bar. Only tested on Windows. I'm doing some preliminary investigation. Finnur wrote: """ [...]Try to set breakpoints at these locations: PageActionFunction::SetPageActionEnabled ... to see when you get called from the extension (to show/hide the icon). ReportBack in location_bar_view.cc ... to see when the extension has finished loading the image from disk and generated an SkBitmap to show in the Omnibox. LocationBarView::RefreshPageActionViews ... to see when the page_action_image_views_ start becoming visible. That last function will get hit multiple times, probably, so you might want to enable that after ReportBack has hit. """ -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
