ModalPatch bundle version 0.9 1999/06/01 ================= This is an InputManager bundle, mainly for Windows OSE / YB (WebObjects4.0); it may also be useful on OS/Mach. It introduces the following patches to all OPENSTEP / YellowBox applications: Modal Windows patches: On Windows, modal windows can be lost when the user uses e.g. alt-tab to switch from one window to another. This bundle forces the modal window to always be in front. It also attempts to bring the Main window (if any) to the front whenever a modal window or other auxiliary panel is closed. On Windows, avoid losing modal panels behind floating panels. Matrix-in-ScrollView selection patch: (helps on OS/Mach as well) A NSForm inside of a NSScrollView does not handle mouse clicks correctly It scrolls the old selected cell to visible while activating the new one. This patch fixes that. [TRH] (This bugfix seems valid for both OS/Win and OS/Mach 4.2; maybe it is already fixed in Rhapsody/MacOSX(S) and YB/Win -- I've added a conditional on event type, so the workaround only kicks in on mouse-down clicks. This turned out to be necessary in order to retain auto-scroll when tabbing through subsequent form fields.) PageLayout/PrintInfo patch: Here's another hack, to correct a problem of -[NSApplication runPageLayout:] on OS/NT 4.1: after that call, the pageLayout panel is popped up, and the user can set the layout; after he dismissed the panel with the OK button, the method +[NSPrintInfo sharedPrintInfo] returns nil, whatever the user chose. [TRH] This may or may not have been corrected in OSE4.2 and/or YB/WO4.0. OSE 4.2 Installation. -------------------- To install ModalPatch, copy the bundle/OSE/InputManagers/ModalPatch folder into the InputManagers search path ($HOME/Library/InputManagers, $NEXT_ROOT/NextLibrary/InputManagers -- unfortunately installing it in $NEXT_ROOT/LocalLibrary/InputManagers does not seem to work, at least with the WebObjects 3.5.1 setup I tested it with.) YB / WO4.0 Installation. ----------------------- To install ModalPatch, copy the bundle/YB/InputManagers/ModalPatch folder into the InputManagers search path ($HOME/Library/InputManagers, $NEXT_ROOT/Local/Library/InputManagers, $NEXT_ROOT/Library/InputManagers.) OS/Mach 4.2 Installation. ----------------------- To install ModalPatch, copy the bundle/OS4/InputManagers/ModalPatch folder into the InputManagers search path ($HOME/Library/InputManagers, /LocalLibrary/InputManagers, /NextLibrary/InputManagers.) Source. ------ Source code for the bundle is included in the Source/ folder. This is an OS4.2 project, if you want to compile it in YB you have to convert it first with the command: $NEXT_ROOT/Developer/Makefiles/Conversion/DirectoryLayout/ConvertMakefilesToNewDirs -r User Defaults. ------------- The ModalPatch bundle handles the following user defaults: ModalPatchEnable [YES] - Master switch, determines whether ModalPatch support will be enabled when the bundle is loaded. MatrixScrollPatchEnable [YES] - Master switch for Matrix-in-scrollview selection patch. Authors. ------- Jeremy Bettis - Modal Windows patch, Matrix-in-scrollview selection patch. St\'ephane Corth\'esy - PageLayout/PrintInfo patch, Modal vs. Floating-panel patch. Tom Hageman - InputManager, user defaults, some bugfixes, packaging. Please send suggestions, bugreports etc. to History. ------- 0.9 (June 1999) - first public beta release.