Bug 32376
| Summary: | [Qt] NPAPI does not work with Qt Mac/Cocoa | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Girish Ramakrishnan <girish> | 
| Component: | Plug-ins | Assignee: | Nobody <webkit-unassigned> | 
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | denis.dzyubenko | 
| Priority: | P2 | Keywords: | Qt, QtTriaged | 
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.5 | ||
| Bug Depends on: | |||
| Bug Blocks: | 35962 | ||
          Girish Ramakrishnan
          
          
          
          
        
        
      This is because the WindowRef that we pass is invalid (qt_mac_window_for will return a Cocoa NSWindow and not a Carbon WindowRef.
Solution is to either implement the cocoa event model. A quick fix is actually force wmode opaque. This makes the code start using fakeWindow which is a carbon window and hence we will get a Carbon WindowRef :-)
    | Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. | 
          Jocelyn Turcotte
          
          
          
          
        
        
      === Bulk closing of Qt bugs ===
If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.
If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.