Closed Bug 478784 Opened 15 years ago Closed 15 years ago

autoscroll icon and tab preview panel are not transparent anymore

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Peter6, Assigned: zwol)

References

Details

(Keywords: fixed1.9.1, regression)

Attachments

(2 files)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090216 Minefield/3.2a1pre ID:20090216042918

repro:
open FF
press ctrl+tab

result:
the preview pane is not transparent anymore

repro 2:
open a page
middleclick to activate the autoscroll icon

result:
It's not transparent anymore

regressionwindow:
works in 20090215 nightly
fails in 20090216 nightly
Flags: blocking-firefox3.1?
regression from bug 476557 or bug 475343 ?

Anyway, All/All as I see this on OS X.
OS: Windows XP → All
Hardware: x86 → All
Component: General → Layout
Flags: blocking-firefox3.1?
Product: Firefox → Core
QA Contact: general → layout
Changing summary to mention the autoscroll icon first, as this is more relevant for 3.1.
Summary: tab preview pane and autoscroll icon are not transparent anymore → autoscroll icon and tab preview panel are not transparent anymore
Is this bug present on 1.9.1 yet, or has the patch that caused it not landed there yet?
Flags: blocking1.9.2?
Flags: blocking1.9.1?
I can see the regression using the middle-click dingus, but ctrl-tab does not bring up any "preview pane" for me; please give more detailed instructions on how to see that.
(In reply to comment #7)
> I can see the regression using the middle-click dingus, but ctrl-tab does not
> bring up any "preview pane" for me; please give more detailed instructions on
> how to see that.

press on the "list all tabs" button on the extreme-right of the tab bar.
got it, thanks.
Flags: blocking1.9.1? → blocking1.9.1+
Attached patch patchSplinter Review
In PresShell::Paint, if inside a transparent widget, we must use complete transparency for the backstop color *even if* the view manager has a cached non-transparent background color to suggest.  This fixes both the tab preview and the middle-click-scroll wart.
Assignee: nobody → zweinberg
Status: NEW → ASSIGNED
Attachment #362769 - Flags: review?(roc)
Too bad there's no real way to test this.
Keywords: checkin-needed
Whiteboard: [needs landing]
You could open a panel in a reftest, right? See e.g. attachment 356500 [details].
(In reply to comment #12)
> You could open a panel in a reftest, right? See e.g. attachment 356500 [details].

Beyond my XUL-fu, I'm afraid.
You can just copy the XUL+JS from there and the CSS from the autoscroll icon :)
http://mxr.mozilla.org/mozilla-central/source/toolkit/themes/winstripe/global/global.css#311
Yeah, but drawWindow applied to the panel content wouldn't have caught this bug, since drawWindow takes a different painting path that ignores the "fallback background color".
Blocks: 476557
Pushed http://hg.mozilla.org/mozilla-central/rev/d9d4bf676f65
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [needs landing] → [needs 191 landing]
Blocks: 478079
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090219 Minefield/3.2a1pre ID:20090219032045

verified on windows
This Mercurial bundle contains the patches for all of these bugs:

https://bugzilla.mozilla.org/buglist.cgi?bugidtype=include&bug_id=469170%2C473398%2C474201%2C475548%2C476557%2C478784

rediffed for the 1.9.1 branch as of right now.
Attachment #364156 - Flags: approval1.9.1?
Attachment #364156 - Flags: approval1.9.1? → approval1.9.1+
Comment on attachment 364156 [details]
rollup bundle for 1.9.1 branch

a191=beltzner
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: