Comment #9 on issue 23925 by [email protected]: Themed new tab page  
jumps each time I switch to it if bookmarks bar is undocked
http://code.google.com/p/chromium/issues/detail?id=23925

I've tracked this down to RenderWidgetHost::WasResized(). When switching  
from the NTP to the calendar
tab, the calendar tab's RenderWidgetHost is resized to the same size as the  
NTP (as if the bookmarks
bar were shown), and then it is resized again back to its original and  
correct size (with no
bookmarks bar). This causes two re-layouts.

Since there are two separate RenderWidgetHosts, each with different sizes,  
we should never resize
either of them in this case. I do not know where in the code the  
RenderWidgets are swapped, so I
don't yet know how to fix this. But it seems like we either need to toggle  
the bookmarks bar at a
time when no RenderWidget is active, or disable resizing/layout until the  
bookmarks bar is in its
final state.

Does anyone know about this or know someone who does?

--
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to