WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 38631
Chromium Dev Tools: Large toolbar icons flash when dev tools is opened in docked mode.
https://bugs.webkit.org/show_bug.cgi?id=38631
Summary
Chromium Dev Tools: Large toolbar icons flash when dev tools is opened in doc...
Pavel Feldman
Reported
2010-05-06 01:26:46 PDT
Today, inspector has a chance to be rendered before the theme and docked state are set. As a result, large toolbar icons flicker.
Attachments
[PATCH] Proposed change.
(1.61 KB, patch)
2010-05-06 01:33 PDT
,
Pavel Feldman
timothy
: review-
Details
Formatted Diff
Diff
[PATCH] Review comments addressed.
(2.09 KB, patch)
2010-05-06 08:16 PDT
,
Pavel Feldman
timothy
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2010-05-06 01:33:28 PDT
Created
attachment 55214
[details]
[PATCH] Proposed change.
Timothy Hatcher
Comment 2
2010-05-06 07:43:49 PDT
Comment on
attachment 55214
[details]
[PATCH] Proposed change. WebKit/chromium/src/js/DevTools.js:195 + var paramsIndex = window.location.href.indexOf("?"); Use window.location.search, and it will be just the query string part (plus the prefix "?".) WebKit/chromium/src/js/DevTools.js:200 + var pair = params[i].split("="); Do you need to worry about URL encoding? If so you should call decodeURIComponent. WebKit/chromium/src/js/DevTools.js:202 + } I like extra lines after these. WebKit/chromium/src/js/DevTools.js:207 + } Ditto. Use window.location.search, otherwise r+.
Pavel Feldman
Comment 3
2010-05-06 08:16:35 PDT
Created
attachment 55242
[details]
[PATCH] Review comments addressed. Thanks for the hint! I don't care about escaping - I am passing booleans and rgb values, all latin, works for me locally.
Timothy Hatcher
Comment 4
2010-05-06 09:41:19 PDT
Comment on
attachment 55242
[details]
[PATCH] Review comments addressed.
> - this.drawer.resize(); > + if (this.drawer) > + this.drawer.resize();
Why this change?
Pavel Feldman
Comment 5
2010-05-06 09:44:31 PDT
(In reply to
comment #4
)
> (From update of
attachment 55242
[details]
) > > - this.drawer.resize(); > > + if (this.drawer) > > + this.drawer.resize(); > > Why this change?
Before Joe's change, setAttached could be called early (before drawer was created). And we actually need it to be called early.
Pavel Feldman
Comment 6
2010-05-06 09:49:58 PDT
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/inspector/front-end/ResourceView.js M WebCore/inspector/front-end/inspector.js M WebKit/chromium/ChangeLog M WebKit/chromium/src/js/DevTools.js Committed
r58890
WebKit Review Bot
Comment 7
2010-05-06 10:20:28 PDT
http://trac.webkit.org/changeset/58890
might have broken Qt Linux Release
Timothy Hatcher
Comment 8
2010-05-06 10:26:51 PDT
No.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug