[Webkit-unassigned] [Bug 48437] New: Impossible to support webViewSetResizable: in Cocoa

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 27 10:23:02 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=48437

           Summary: Impossible to support webViewSetResizable: in Cocoa
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cmhofman at gmail.com


It is logically and fundamentally impossible to properly support the webViewSetResizable: UI delegate method in Cocoa. The problem is that there is no way (no API) to change the resizability of Cocoa NSWindows after they are created, while the webViewSetResizable: call can come at any time, in particular after the window must already have been created (because other properties may have been set, e.g. the frame, or even shown, there is no documentation saying otherwise). This is a serious incompatibility of the WebKit API with the Cocoa API. The window properties such as resizable that can be set only at creation time should be passed in a method that creates the window, e.g. an improved variant of webViewCreateWebViewModalDialogWithRequest: with an extra argument. BTW, from the comment in the default delegate it seems you already know it, so I was surprised I could not find a bug report about this issue.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list