Bug 215828

Summary: Web Inspector: button for Inspector^2 doesn't work without setting default for DeveloperExtrasEnabled
Product: WebKit Reporter: BJ Burg <bburg>
Component: Web InspectorAssignee: BJ Burg <bburg>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, ews-watchlist, hi, inspector-bugzilla-changes, joepeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description BJ Burg 2020-08-25 16:39:12 PDT
This should be automatically set up and require no extra config.
Comment 1 BJ Burg 2020-08-26 10:37:41 PDT
Created attachment 407310 [details]
Patch
Comment 2 Devin Rousso 2020-08-26 10:43:24 PDT
Comment on attachment 407310 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=407310&action=review

r=me, nice solution :)

> Source/WebInspectorUI/ChangeLog:11
> +        Drive-by: because the Inspector^2 button is text-only and has no
> +        .name element, the '2' button does not become dimmed when the
> +        window is inactive, unlike every other item in the tab bar.
> +        Fix this by coloring the text-only button similar to tab labels.

IMO, since this is an engineering only feature I don't think we need to care about this 😅

at the very least please put the styles in Source/WebInspectorUI/UserInterface/Debug/Bootstrap.css so it isn't shipped (and maybe include a comment in UserInterface/Views/ButtonNavigationItem.css so that we know there's some related styles elsewhere)
Comment 3 BJ Burg 2020-08-26 17:01:42 PDT
(In reply to Devin Rousso from comment #2)
> Comment on attachment 407310 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=407310&action=review
> 
> r=me, nice solution :)
> 
> > Source/WebInspectorUI/ChangeLog:11
> > +        Drive-by: because the Inspector^2 button is text-only and has no
> > +        .name element, the '2' button does not become dimmed when the
> > +        window is inactive, unlike every other item in the tab bar.
> > +        Fix this by coloring the text-only button similar to tab labels.
> 
> IMO, since this is an engineering only feature I don't think we need to care
> about this 😅
> 
> at the very least please put the styles in
> Source/WebInspectorUI/UserInterface/Debug/Bootstrap.css so it isn't shipped
> (and maybe include a comment in UserInterface/Views/ButtonNavigationItem.css
> so that we know there's some related styles elsewhere)

OK
Comment 4 BJ Burg 2020-08-26 22:10:49 PDT
Created attachment 407375 [details]
Patch
Comment 5 EWS 2020-08-26 22:46:34 PDT
/Volumes/Data/worker/Commit-Queue/build/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).
Comment 6 BJ Burg 2020-08-26 23:08:54 PDT
Created attachment 407377 [details]
Patch
Comment 7 EWS 2020-08-26 23:46:59 PDT
Committed r266225: <https://trac.webkit.org/changeset/266225>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 407377 [details].
Comment 8 Radar WebKit Bug Importer 2020-08-26 23:47:14 PDT
<rdar://problem/67855023>