Mysterious Aero Peek Bugs (Part 1)
written 16 Jun 2010
Aero Peek is one of the new Windows 7 features that we are integrating Firefox with. It adds an entry in the taskbar for each tab. Hovering over the entry shows a preview of the tab contents. IE8 and Opera support this (Chrome has it disabled). Though it slipped from the release of 3.6, we intend to ship it in Firefox 4.0. Browsers can implement this feature with varying levels of polish. IE8 was the flashship use case when it shipped with Windows 7 and Microsoft invited other browser vendors to follow along. One of the noticeable drawbacks in the IE8 implementation is that when you preview a tab, the chrome does not change to reflect the tab the user is previewing (ex: the url is that of the whatever tab was last selected instead of the previewed tab). I found this to be unsatisfactory and potentially confusing user experience so in Firefox's implementation, we display the correct chrome when you preview a tab. This has not been without its hardships. I do not know why IE8 does not switch chrome but there are definitely bugs that affect us and not IE8 because we have chosen to switch the chrome for the previews. One of these is that the previewed tab content is blended over the window as it was last drawn. For semi-transparent parts of our new UI like the location bar and unselected tabs, this causes them to look different in the preview. You can see part of the window's current tab's URL when you preview another tab and this is clearly unacceptable. So now we have a choice to make:
- We can stop switching chrome for previews.
- We disallow semi-transparent parts of our theme
- Maybe we can control the window contents when the preview is drawn so that we blend with an empty window