Responsive user interface to manage a non-responsive application
Abstract
A method and system are provided for managing application programs with non-responsive user interfaces, possibly due to a bottleneck in handling events/messages. The method and system make an apparently frozen application user interface responsive so as to permit alternative tasks be executed or close the hung application. This is enabled by implementing routines to (a) detect if an application is hung, (b) replace the user interface for the hung application with a ghost interface, implemented by a separate thread, that permits system functionality such as sizing, minimization and closing of the application, and (c) destroying the ghost interface if the hung application becomes responsive again along with restoring the application's user interface along with updated event queues. Furthermore, creation of the ghost user interface is accompanied by placing a high priority special event in the hung application's queue to detect renewed responsiveness without requiring explicit monitoring.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for managing an original user interface of an application, the method comprising: generating, via a system thread, a plurality of events for handling by the application; generating a timestamp, via the system thread, comprising a time when each of the plurality of events are entered in an event queue of the application; checking, via the system thread, the event queue to determine the time when a last event in the plurality of events entered in the event queue, was handled by the application; signaling a hung state for the application when the application has not handled any of the pl
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (2)
- Richter, Jeffrey, "Win32 Local-input-state Hooks in Windows," Microsoft Systems Journal, vol. 12, No. 3, pp. 85-87 (Mar. 1997).
- Silberschatz, Operating Systems Concepts, Addison-Wesley, 4th Edition, pp. 111-114 (1994).