Bug 30541 - Problem with [NSApp runModalForWindow:] and [NSApp beginSheet:] in Safari 4 on Snow Leopard
Summary: Problem with [NSApp runModalForWindow:] and [NSApp beginSheet:] in Safari 4 o...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P1 Critical
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-19 15:34 PDT by DSUWIRYA
Modified: 2013-09-01 10:52 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DSUWIRYA 2009-10-19 15:34:48 PDT
Base SDK : Mac OS X 10.6
Architecture : 64-bit Intel

I have a NPAPI plugin that needs to pop up a 'sliding sheet panel' window
containing WebView and HTML content inside. I'm using [NSApp beginSheet:]
and [NSApp runModalForWindow:] for that purpose. 

The code has been running well in Safari 4 on Tiger and Leopard. But on
Snow Leopard :

1. [NSApp beginSheet] : displaying a detached window instead of 'sliding
   sheet panel'.

2. [NSApp runModalForWindow:] : causing the window displayed in modal 
   mode and focus (as expected), but with nothing rendered inside. It's
   just showing a blank window and doesn't render the HTML content that
   it's supposed to render.

 
Note.
- Example of 'sliding sheet panel' : Safari -> Report Bugs to Apple ...
Comment 1 Anders Carlsson 2013-09-01 10:52:30 PDT
This is due to the fact that plug-ins run out of process now. I don't think we'll ever want to fix this particular case.