Bug 123510

Summary: Web Inspector: Add Support for OS X Full Screen Mode
Product: WebKit Reporter: Carlos <perezcarlos>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Enhancement CC: joepeck, timothy, tobi+webkit, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix timothy: review+

Description Carlos 2013-10-30 06:42:25 PDT
Safari's web inspector does not all for full screen mode, and should for multi-display goodness. Chrome does.
Comment 1 Radar WebKit Bug Importer 2013-10-30 06:42:36 PDT
<rdar://problem/15350912>
Comment 2 Timothy Hatcher 2014-02-10 13:25:32 PST
*** Bug 128529 has been marked as a duplicate of this bug. ***
Comment 3 Joseph Pecoraro 2015-06-25 18:18:41 PDT
Created attachment 255606 [details]
[PATCH] Proposed Fix
Comment 4 Timothy Hatcher 2015-06-25 18:32:19 PDT
Comment on attachment 255606 [details]
[PATCH] Proposed Fix

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

> Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm:317
> +    [window setCollectionBehavior:([window collectionBehavior] | NSWindowCollectionBehaviorFullScreenPrimary)];

Why Primary here and NSWindowCollectionBehaviorFullScreenAllowsTiling above?
Comment 5 Joseph Pecoraro 2015-06-25 18:41:45 PDT
Comment on attachment 255606 [details]
[PATCH] Proposed Fix

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

>> Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm:317
>> +    [window setCollectionBehavior:([window collectionBehavior] | NSWindowCollectionBehaviorFullScreenPrimary)];
> 
> Why Primary here and NSWindowCollectionBehaviorFullScreenAllowsTiling above?

This adds Primary, and then ~5 lines later it adds NSWindowCollectionBehaviorFullScreenAllowsTiling. Both WK1 and WK2 are adding both collection behaviors.
Comment 6 Joseph Pecoraro 2015-06-25 18:47:21 PDT
http://trac.webkit.org/changeset/185978