Bug 58071

Summary: WebKit2: Web Inspector's style sidebar fails to display when inspecting element
Product: WebKit Reporter: Theresa O'Connor <eoconnor>
Component: Web Inspector (Deprecated)Assignee: Brian Weinstein <bweinstein>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Fix
timothy: review+
[PATCH] Fix v2 none

Description Theresa O'Connor 2011-04-07 13:06:02 PDT
Launch the Web Inspector via the "Inspect Element" context menu item. The element is correctly selected in the DOM tree displayed on the Elements tab, but the style sidebar is missing. Clicking on one of the other Web Inspector tabs (Resources, say), then return to the Elements tab, fixes the problem.
Comment 1 Theresa O'Connor 2011-04-07 13:06:29 PDT
<rdar://problem/9243093>
Comment 2 Alexander Pavlov (apavlov) 2011-04-08 02:02:35 PDT
Thanks for the report, Edward,

I'm having hard time reproducing the issue and thus need some clarification.

- Was it a fresh installation of Safari (== there are no settings/preferences stored) where the issue occurred?
- Was the console opened when the Web Inspector contents were constructed?
- Did you by chance have the local store disabled in the browser?
- Can you consistently reproduce the issue (you see no sidebar, fix the sidebar width to be non-zero, close and re-open the Web Inspector, and the issue is there again)?
- Which platform(s) did you see the issue on?
Comment 3 Theresa O'Connor 2011-04-15 09:58:43 PDT
Ahh, sorry, this looks like a WK2 regression.
Comment 4 Brian Weinstein 2011-04-25 16:07:36 PDT
Created attachment 90978 [details]
[PATCH] Fix
Comment 5 WebKit Review Bot 2011-04-25 16:08:44 PDT
Attachment 90978 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1

Source/WebKit2/UIProcess/win/WebInspectorProxyWin.cpp:190:  Missing space after ,  [whitespace/comma] [3]
Total errors found: 1 in 3 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 6 Brian Weinstein 2011-04-25 16:13:07 PDT
Landed in r84824.
Comment 7 Brian Weinstein 2011-04-25 16:35:05 PDT
Created attachment 91008 [details]
[PATCH] Fix v2