Bug 142655

Summary: Web Inspector: Console Scrolls Unexpectedly when Clicking inside un-selected Expanded Object
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Nikita Vasilyev <nvasilyev>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, jonowells, mark.lam, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
joepeck: review-, joepeck: commit-queue-
Animated GIF with the patch applied
none
Patch none

Description Joseph Pecoraro 2015-03-12 23:22:09 PDT
* SUMMARY
Console Scrolls Unexpectedly when Clicking inside un-selected Expanding Object. This is hugely annoying.

* STEPS TO REPRODUCE
1. Log and expand `window.navigator` about 5 times in the console
2. Fully expand the prototype chain of the bottom window.navigator
3. Scroll the console all the way up and select the top `window.navigator`
4. Scroll all the way to the bottom (so you can't see the top of the expanded object)
5. Expand a property of the bottom window.navigator object
  => the bottom item becomes selected and jumps you up to the top of the object
  => expected the object to become selected without jumping the console, also expand the property clicked on
Comment 1 Radar WebKit Bug Importer 2015-03-12 23:22:24 PDT
<rdar://problem/20149490>
Comment 2 Nikita Vasilyev 2015-03-15 14:56:04 PDT
Created attachment 248687 [details]
Patch
Comment 3 Nikita Vasilyev 2015-03-15 14:57:04 PDT
Created attachment 248688 [details]
Animated GIF with the patch applied
Comment 4 Joseph Pecoraro 2015-03-15 16:35:52 PDT
Comment on attachment 248687 [details]
Patch

Err... wrong patch?
Comment 5 Nikita Vasilyev 2015-03-15 16:38:36 PDT
Created attachment 248690 [details]
Patch

Whoops, sorry about that. The right patch is attached.
Comment 6 Joseph Pecoraro 2015-03-15 16:57:47 PDT
Comment on attachment 248690 [details]
Patch

This sounds reasonable. r=me
Comment 7 WebKit Commit Bot 2015-03-15 17:41:32 PDT
Comment on attachment 248690 [details]
Patch

Clearing flags on attachment: 248690

Committed r181518: <http://trac.webkit.org/changeset/181518>
Comment 8 WebKit Commit Bot 2015-03-15 17:41:35 PDT
All reviewed patches have been landed.  Closing bug.