Bug 41852 - NPAPI plugin throws webkit into "modal" mode, must force termination to exit
Summary: NPAPI plugin throws webkit into "modal" mode, must force termination to exit
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Critical
Assignee: Nobody
URL: http://www.dreamfactory.com
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 06:23 PDT by Bill Appleton
Modified: 2022-06-21 13:57 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Appleton 2010-07-08 06:23:10 PDT
If a plugin shows a modal dialog when a cocoa or carbon Event is handled then webkit enters "modal mode" where it thinks a dialog is still up.

After this, the only way to recover is to force quit safari. the screen is effectively locked in dialog mode with no visible dialog.

This is easy to reproduce. On handling an event show an alert the first time an event is received, or the second time, etc. as long as it is soon after initialization.

When this dialog is dismissed webkit STARTS modal mode. It is as if the dialog start/stop events are mixed up and only the start event is processed.

Modal mode is that thing where webkitpluginhost reports start/stop for a dialog and webkit creates a 1 pixel invisible dialog to mimic a modal state.




Thanks let me know how to help,

bill appleton
dreamfactory
Comment 1 Ahmad Saleem 2022-06-21 03:44:16 PDT
NPAPI support has been removed from Safari 14 onward and also from WebkitGTK builds. Can this be closed as "RESOLVED WONTFIX"? Thanks!