WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
40409
Web Inspector: [REGRESSION] Tab complete in a command line jumps on next value
https://bugs.webkit.org/show_bug.cgi?id=40409
Summary
Web Inspector: [REGRESSION] Tab complete in a command line jumps on next value
Nikita Vasilyev
Reported
2010-06-10 01:54:16 PDT
How to reproduce the bug: 1. Type "document.get" in the command line. You should see document.get<CSSCanvasContext> (<> is an auto-suggestion) 2. Press Tab Expected: "document.get[CSSCanvasContext]" ([] is a selected text) Actual: "document.get[ElementById]" Screencast:
http://screenr.com/9gK
Attachments
Then complete using a tab key, select very first value, not a second.
(1.14 KB, patch)
2010-06-10 02:47 PDT
,
Nikita Vasilyev
no flags
Details
Formatted Diff
Diff
When completing using a tab key, select very first value, not a second.
(1.14 KB, patch)
2010-06-10 02:58 PDT
,
Nikita Vasilyev
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2010-06-10 02:09:15 PDT
https://bugs.webkit.org/show_bug.cgi?id=38753
is a primary suspect.
Nikita Vasilyev
Comment 2
2010-06-10 02:47:23 PDT
Created
attachment 58347
[details]
Then complete using a tab key, select very first value, not a second.
Pavel Feldman
Comment 3
2010-06-10 02:51:21 PDT
Comment on
attachment 58347
[details]
Then complete using a tab key, select very first value, not a second. Thanks for fixing this. I small nit about the changelog entry and you are good to land! WebCore/ChangeLog:5 + Web Inspector: Then complete using a tab key, select very first value, not a second. When completing using ... Please re-attach new path and I'll mark it as r+,cq+!
Nikita Vasilyev
Comment 4
2010-06-10 02:58:52 PDT
Created
attachment 58350
[details]
When completing using a tab key, select very first value, not a second. My terrible grammar fixed.
Ilya Tikhonovsky
Comment 5
2010-06-10 06:40:11 PDT
It was a conscious decision as far as we have auto-suggestion mechanic. If the first suggestion is not suitable for you it is possible to get the next by tab. In the other case you can complete suggested variant by arrow. Your scenario is fine if we have no auto-suggestions mechanics.
Nikita Vasilyev
Comment 6
2010-06-10 07:21:23 PDT
(In reply to
comment #5
) It makes sense, but: 1) Tab is easier to press than right arrow. I do it with my left little finger without leaving the pointer finger from F key. 2) I've never seen applications which behaves like this. Xcode have a similar gray auto-suggestion, but by pressing Tab you're completing a current suggestion, not the next one.
WebKit Commit Bot
Comment 7
2010-06-10 11:45:58 PDT
Comment on
attachment 58350
[details]
When completing using a tab key, select very first value, not a second. Rejecting patch 58350 from commit-queue. Failed to run "['WebKitTools/Scripts/run-webkit-tests', '--no-launch-safari', '--exit-after-n-failures=1', '--ignore-tests', 'compositing', '--quiet']" exit_code: 1 Last 500 characters of output: ing Java tests make: Nothing to be done for `default'. Running tests from /Users/eseidel/Projects/CommitQueue/LayoutTests Skipped list contained 'compositing/iframes/composited-iframe.html', but no file of that name could be found Testing 19073 test cases. svg/dom/SVGScriptElement/script-set-href.svg -> failed Exiting early after 1 failures. 16747 tests run. 362.26s total testing time 16746 test cases (99%) succeeded 1 test case (<1%) had incorrect layout 15 test cases (<1%) had stderr output Full output:
http://webkit-commit-queue.appspot.com/results/3217143
Joseph Pecoraro
Comment 8
2010-06-11 00:12:12 PDT
That commit queue failure was unrelated. If no-body gets to this tomorrow I can try to land it manually (my tree is outdated on this machine, so I'll be updating and building overnight). Feel free to beat me to it! Otherwise, does re-flipping the cq+ flag make the commit queue try again? I'll try that.
WebKit Commit Bot
Comment 9
2010-06-11 01:12:40 PDT
Comment on
attachment 58350
[details]
When completing using a tab key, select very first value, not a second. Clearing flags on attachment: 58350 Committed
r60995
: <
http://trac.webkit.org/changeset/60995
>
WebKit Commit Bot
Comment 10
2010-06-11 01:12:47 PDT
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