Bug 140193 - Web Inspector: Cursor & scroll view jump when editing in style sidebar for the first time
Summary: Web Inspector: Cursor & scroll view jump when editing in style sidebar for th...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Jonathan Wells
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-01-07 12:40 PST by Michael Bailey
Modified: 2015-03-24 17:27 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Bailey 2015-01-07 12:40:19 PST
Screen recording of this issue in WebKit r178028: http://roguewhaler.net/files/web-inspector-jumping.mov

When editing in the style sidebar for the first time after opening an Inspector, several things may happen:
- The cursor may jump to the beginning of the line.
- The scroll view may jump so that the line being edited is at the top.
- Characters typed may be skipped.

The linked video shows the first two issues occurring. The above may occur when typing or when clicking the checkbox next to a style declaration. Subsequent edits behave correctly.

As far as I can tell, my symptoms are the same as reported in #137467. (However, that bug report mentioned ensuring the Inspector is docked — I can reproduce this issue reliably regardless of whether the Inspector is docked, bottom or right, or in a separate window.)

I can reproduce this consistently in Safari 8.0.2 (10600.2.5) and WebKit r178028, both on OS X 10.10.1 (14B25).
Comment 1 Radar WebKit Bug Importer 2015-01-07 12:40:45 PST
<rdar://problem/19402097>
Comment 2 Jonathan Wells 2015-02-06 17:35:31 PST
I'm having trouble reproducing this. Is anyone else able to?
Comment 3 Timothy Hatcher 2015-03-24 15:48:22 PDT
Please check the latest nightly build.
Comment 4 Michael Bailey 2015-03-24 17:27:50 PDT
I actually can still reproduce it in r181893, but only on certain sites. I’ll see if I can narrow it down into a proper testcase.