WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
101026
Web Inspector: Settings screen: some panel shortcuts are missing
https://bugs.webkit.org/show_bug.cgi?id=101026
Summary
Web Inspector: Settings screen: some panel shortcuts are missing
eustas.bug
Reported
2012-11-02 02:06:26 PDT
Created
attachment 172006
[details]
Missing shortcuts screesnhot Panels, that hasn't been shown at the moment when shortcuts view is initialized, had no chance to register shortcuts.
Attachments
Missing shortcuts screesnhot
(69.25 KB, image/png)
2012-11-02 02:06 PDT
,
eustas.bug
no flags
Details
Patch
(5.34 KB, patch)
2012-11-02 02:20 PDT
,
eustas.bug
no flags
Details
Formatted Diff
Diff
Patch
(50.00 KB, patch)
2012-11-06 03:57 PST
,
eustas.bug
no flags
Details
Formatted Diff
Diff
Patch
(50.00 KB, patch)
2012-11-06 04:01 PST
,
eustas.bug
no flags
Details
Formatted Diff
Diff
Patch
(51.63 KB, patch)
2012-11-08 02:30 PST
,
eustas.bug
no flags
Details
Formatted Diff
Diff
Patch
(51.65 KB, patch)
2012-11-13 03:25 PST
,
eustas.bug
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
eustas.bug
Comment 1
2012-11-02 02:20:00 PDT
Created
attachment 172010
[details]
Patch
Pavel Feldman
Comment 2
2012-11-02 05:31:07 PDT
Comment on
attachment 172010
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=172010&action=review
> Source/WebCore/ChangeLog:8 > + Panels, that hasn't been shown at the moment when shortcuts
Consider rephrasing: .. that have not been loaded by the time shortcuts view was ..
> Source/WebCore/inspector/front-end/ShortcutsScreen.js:35 > +WebInspector.ShortcutsScreen = function(registrationCallback)
registrationCallback sounds weird too generic.
> Source/WebCore/inspector/front-end/inspector.js:653 > + panelDescriptors[i].panel();
We should not create panels just to register their shortcuts. Instead, shortcut declaration code should be moved into the panel descriptors.
eustas.bug
Comment 3
2012-11-06 03:57:17 PST
Created
attachment 172547
[details]
Patch
eustas.bug
Comment 4
2012-11-06 04:01:13 PST
Created
attachment 172548
[details]
Patch
eustas.bug
Comment 5
2012-11-06 04:01:30 PST
Comment on
attachment 172010
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=172010&action=review
>> Source/WebCore/ChangeLog:8 >> + Panels, that hasn't been shown at the moment when shortcuts > > Consider rephrasing: .. that have not been loaded by the time shortcuts view was ..
Done.
>> Source/WebCore/inspector/front-end/ShortcutsScreen.js:35 >> +WebInspector.ShortcutsScreen = function(registrationCallback) > > registrationCallback sounds weird too generic.
Removed.
>> Source/WebCore/inspector/front-end/inspector.js:653 >> + panelDescriptors[i].panel(); > > We should not create panels just to register their shortcuts. Instead, shortcut declaration code should be moved into the panel descriptors.
Fixed.
Yury Semikhatsky
Comment 6
2012-11-07 23:51:43 PST
Comment on
attachment 172548
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=172548&action=review
> Source/WebCore/ChangeLog:14 > + More chanhes: add JsDoc annotations to ShortcutScreen and change "key"
typo: chanhes-> changes
> Source/WebCore/inspector/front-end/ElementsPanelDescriptor.js:76 > + var incrementBy10 = WebInspector.ElementsPanelDescriptor.ShortcutKeys.IncrementValue.concat(WebInspector.ElementsPanelDescriptor.ShortcutKeys.DecrementValue);
Remove this line.
> Source/WebCore/inspector/front-end/ElementsPanelDescriptor.js:79 > + stylesPaneSection.addAlternateKeys(WebInspector.ElementsPanelDescriptor.ShortcutKeys.DecrementBy10, WebInspector.UIString("Decrement by %f", 10));
We should be consistent and use single entry "Increment/Decrement by 10" here as for 0.1 and 100
> Source/WebCore/inspector/front-end/ElementsPanelDescriptor.js:81 > + var incrementDecrementBy100 = WebInspector.ElementsPanelDescriptor.ShortcutKeys.IncrementBy01.concat(WebInspector.ElementsPanelDescriptor.ShortcutKeys.DecrementBy01);
incrementDecrementBy100 -> incrementDecrementBy01
> Source/WebCore/inspector/front-end/ElementsPanelDescriptor.js:84 > + var incrementDecrementBy01 = WebInspector.ElementsPanelDescriptor.ShortcutKeys.IncrementBy100.concat(WebInspector.ElementsPanelDescriptor.ShortcutKeys.DecrementBy100);
incrementDecrementBy01 -> incrementDecrementBy100. Looks like there is a mistake in shortcut description for .1 and 100
eustas.bug
Comment 7
2012-11-08 02:26:48 PST
Comment on
attachment 172548
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=172548&action=review
>> Source/WebCore/ChangeLog:14 >> + More chanhes: add JsDoc annotations to ShortcutScreen and change "key" > > typo: chanhes-> changes
Done.
>> Source/WebCore/inspector/front-end/ElementsPanelDescriptor.js:76 >> + var incrementBy10 = WebInspector.ElementsPanelDescriptor.ShortcutKeys.IncrementValue.concat(WebInspector.ElementsPanelDescriptor.ShortcutKeys.DecrementValue); > > Remove this line.
Done.
>> Source/WebCore/inspector/front-end/ElementsPanelDescriptor.js:79 >> + stylesPaneSection.addAlternateKeys(WebInspector.ElementsPanelDescriptor.ShortcutKeys.DecrementBy10, WebInspector.UIString("Decrement by %f", 10)); > > We should be consistent and use single entry "Increment/Decrement by 10" here as for 0.1 and 100
Fixed.
>> Source/WebCore/inspector/front-end/ElementsPanelDescriptor.js:81 >> + var incrementDecrementBy100 = WebInspector.ElementsPanelDescriptor.ShortcutKeys.IncrementBy01.concat(WebInspector.ElementsPanelDescriptor.ShortcutKeys.DecrementBy01); > > incrementDecrementBy100 -> incrementDecrementBy01
Fixed.
>> Source/WebCore/inspector/front-end/ElementsPanelDescriptor.js:84 >> + var incrementDecrementBy01 = WebInspector.ElementsPanelDescriptor.ShortcutKeys.IncrementBy100.concat(WebInspector.ElementsPanelDescriptor.ShortcutKeys.DecrementBy100); > > incrementDecrementBy01 -> incrementDecrementBy100. Looks like there is a mistake in shortcut description for .1 and 100
Fixed.
eustas.bug
Comment 8
2012-11-08 02:30:08 PST
Created
attachment 172969
[details]
Patch
WebKit Review Bot
Comment 9
2012-11-13 03:06:19 PST
Comment on
attachment 172969
[details]
Patch Rejecting
attachment 172969
[details]
from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: rging Source/WebCore/ChangeLog CONFLICT (content): Merge conflict in Source/WebCore/ChangeLog Failed to merge in the changes. Patch failed at 0001 [Qt] Unreviewed Qt gardening. When you have resolved this problem run "git rebase --continue". If you would prefer to skip this patch, instead run "git rebase --skip". To restore the original branch and stop rebasing run "git rebase --abort". rebase refs/remotes/origin/master: command returned error: 1 Died at Tools/Scripts/update-webkit line 154. Full output:
http://queues.webkit.org/results/14824260
eustas.bug
Comment 10
2012-11-13 03:25:59 PST
Created
attachment 173857
[details]
Patch rebased
WebKit Review Bot
Comment 11
2012-11-13 05:51:32 PST
Comment on
attachment 173857
[details]
Patch Clearing flags on attachment: 173857 Committed
r134404
: <
http://trac.webkit.org/changeset/134404
>
eustas.bug
Comment 12
2012-11-15 07:18:38 PST
Comment on
attachment 172969
[details]
Patch Cleanup after commit
Vsevolod Vlasov
Comment 13
2012-11-16 03:52:06 PST
Reopened since it was rolled out
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