RESOLVED FIXED 149274
Web Inspector: Inactive window may cause many layers to be created due to Dashboard opacity
https://bugs.webkit.org/show_bug.cgi?id=149274
Summary Web Inspector: Inactive window may cause many layers to be created due to Das...
Joseph Pecoraro
Reported 2015-09-17 11:13:48 PDT
* SUMMARY Inactive window may cause many layers to be created due to Dashboard opacity. See attached screenshots. * STEPS TO REPRODUCE 1. Inspect a page 2. Pause 3. Make the window inactive => lots of layers
Attachments
[IMAGE] Window Active (302.74 KB, image/png)
2015-09-17 11:16 PDT, Joseph Pecoraro
no flags
[IMAGE] Window Inactive (Issue) (284.84 KB, image/png)
2015-09-17 11:16 PDT, Joseph Pecoraro
no flags
[PATCH] Proposed Fix (1.69 KB, patch)
2015-09-17 11:32 PDT, Joseph Pecoraro
no flags
[IMAGE] With Fix (244.81 KB, image/png)
2015-09-17 11:32 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2015-09-17 11:14:08 PDT
Joseph Pecoraro
Comment 2 2015-09-17 11:16:16 PDT
Created attachment 261401 [details] [IMAGE] Window Active
Joseph Pecoraro
Comment 3 2015-09-17 11:16:35 PDT
Created attachment 261402 [details] [IMAGE] Window Inactive (Issue)
Joseph Pecoraro
Comment 4 2015-09-17 11:18:34 PDT
The issue appears to be because of the opacity: body.latest-mac.window-inactive .toolbar .dashboard-container { opacity: 0.65; ... } Which contains an animating element. This then uses a cascade of overlapping elements. A possible workaround might be: body.latest-mac.window-inactive .toolbar .dashboard-container > * opacity: 0.65; }
Joseph Pecoraro
Comment 5 2015-09-17 11:27:49 PDT
> A possible workaround might be: Naw that isn't good, it causes a few other issues and making it work starts being ugly. An easy solution, stop the animation when the window is inactive!
Joseph Pecoraro
Comment 6 2015-09-17 11:32:17 PDT
Created attachment 261405 [details] [PATCH] Proposed Fix
Joseph Pecoraro
Comment 7 2015-09-17 11:32:29 PDT
Created attachment 261406 [details] [IMAGE] With Fix
Blaze Burg
Comment 8 2015-09-17 11:42:09 PDT
Comment on attachment 261405 [details] [PATCH] Proposed Fix r=me
WebKit Commit Bot
Comment 9 2015-09-17 12:28:49 PDT
Comment on attachment 261405 [details] [PATCH] Proposed Fix Clearing flags on attachment: 261405 Committed r189923: <http://trac.webkit.org/changeset/189923>
WebKit Commit Bot
Comment 10 2015-09-17 12:28:52 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.