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 35829
Web Inspector: switching to/from Timeline Panel moves scrolled region.
https://bugs.webkit.org/show_bug.cgi?id=35829
Summary
Web Inspector: switching to/from Timeline Panel moves scrolled region.
Pavel Feldman
Reported
2010-03-06 09:36:33 PST
The reason is that when switching back, sidebar tree is the default focus target, but has random scroll offset. The only solution i've found is to 1) prevent scroller from being default focus target 2) manually restore scroll offset upon show. Only (1) or only (2) does not work for the reason above.
Attachments
[PATCH] Proposed fix.
(5.59 KB, patch)
2010-03-06 09:39 PST
,
Pavel Feldman
jorlow
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2010-03-06 09:39:39 PST
Created
attachment 50153
[details]
[PATCH] Proposed fix.
Pavel Feldman
Comment 2
2010-03-06 10:02:34 PST
I'd like to land this soon for the nightly / dev channel. So I am asking for formal reviewer from somebody. I'll make sure this is fine with Tim (xenon) who was reviewing my timeline code. This change was tested well and is safe. Brings only good :)
Jeremy Orlow
Comment 3
2010-03-06 10:02:37 PST
Comment on
attachment 50153
[details]
[PATCH] Proposed fix. Seems reasonable. r=me
Pavel Feldman
Comment 4
2010-03-06 10:15:09 PST
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog M WebCore/English.lproj/localizedStrings.js M WebCore/inspector/front-end/TimelinePanel.js Committed
r55627
Timothy Hatcher
Comment 5
2010-03-06 11:51:23 PST
Looks fine.
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