WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
127816
Web Inspector: [REGRESSION(
r162931
)] Tab navigation broken in DataGrid
https://bugs.webkit.org/show_bug.cgi?id=127816
Summary
Web Inspector: [REGRESSION(r162931)] Tab navigation broken in DataGrid
Diego Pino
Reported
2014-01-28 16:09:06 PST
Tab navigation in the DataGrid doesn't work properly after
r162931
. How to reproduce: * Fill a DataGrid (for example LocalStorage) with two rows of data. * Edit row1.key and press tab. Expected result: cursor moves to row1.value. Actual result: cursor moves to row2.key. After
r162931
, columnIdentifier is a string. It's necessary to change comparisons of columnIdentifier in 'moveToNextIfNeeded' (function that handles tab navigation) to string values.
Attachments
Patch
(2.29 KB, patch)
2014-01-28 16:17 PST
,
Diego Pino
no flags
Details
Formatted Diff
Diff
Patch
(3.17 KB, patch)
2014-01-29 03:01 PST
,
Diego Pino
no flags
Details
Formatted Diff
Diff
Patch
(3.17 KB, patch)
2014-01-29 04:28 PST
,
Diego Pino
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-01-28 16:09:56 PST
<
rdar://problem/15931228
>
Diego Pino
Comment 2
2014-01-28 16:17:04 PST
Created
attachment 222528
[details]
Patch
Timothy Hatcher
Comment 3
2014-01-28 16:26:44 PST
Comment on
attachment 222528
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=222528&action=review
> Source/WebInspectorUI/UserInterface/DataGrid.js:361 > return this._startEditingColumnOfDataGridNode(currentEditingNode, 1);
There are a few 1s and 0s in this function that should also be strings for clarity. Right now they are being converted later into string.
> Source/WebInspectorUI/UserInterface/DataGrid.js:375 > return this._startEditingColumnOfDataGridNode(currentEditingNode, 0);
Another 0, but there are more.
Timothy Hatcher
Comment 4
2014-01-28 16:36:29 PST
This code is so confused… it assumes only two columns with numeric identifiers. Sigh.
Diego Pino
Comment 5
2014-01-29 03:01:20 PST
Created
attachment 222562
[details]
Patch
Diego Pino
Comment 6
2014-01-29 04:28:31 PST
Created
attachment 222566
[details]
Patch
WebKit Commit Bot
Comment 7
2014-01-29 05:53:15 PST
Comment on
attachment 222566
[details]
Patch Clearing flags on attachment: 222566 Committed
r163015
: <
http://trac.webkit.org/changeset/163015
>
WebKit Commit Bot
Comment 8
2014-01-29 05:53:17 PST
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.
Top of Page
Format For Printing
XML
Clone This Bug