Patch-ID# 107226-19 Keywords: core dumps ICON MAIL SUBPANEL Xterm frontpanel breaks functionality Synopsis: CDE 1.3: dtwm patch Date: Jan/22/2003 Install Requirements: None Solaris Release: 7 SunOS Release: 5.7 Unbundled Product: CDE Unbundled Release: 1.3 Xref: This patch available for x86 as 107227 Topic: CDE 1.3: dtwm patch NOTE: Refer to Special Install Instructions section for IMPORTANT specific information on this patch. Relevant Architectures: sparc BugId's fixed with this patch: 4123057 4145607 4169837 4194255 4209745 4212649 4212855 4221615 4230855 4236474 4283121 4287890 4293551 4306589 4335971 4383544 4395985 4423699 4430931 4468742 4743546 Changes incorporated in this version: 4743546 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: 108374-02 or greater 108376-18 or greater Obsoleted by: Files included with this patch: /usr/dt/share/man/man1/dtwm.1 /usr/dt/bin/dtwm Problem Description: 4743546 With 105634-08 (or newer), DIALOG_SYSTEM_MODAL can be cleared by screen (from 107226-18) 4468742 patches 107226-17 and 108921-12 breaks functionality with dtwm and frontpanel (from 107226-17) 4430931 Xterm doesn't work from frontpanel (from 107226-16) 4423699 WINDOW MANAGER DOWN WHEN ICON ADD IN MAIL SUBPANEL AND CLICK (from 107226-15) 4395985 CDE window manager core dumps when I install the CS Supplement CD using CD0 (from 107226-14) 4383544 dtwm goes into endless loop (from 107226-13) 4293551 dtsession in xinerama mode should (optionally) not center the logout dialog box (from 107226-12) 4335971 dtwm causes inappropriate FocusOut/FocusIn events to be sent to X applications (from 107226-11) 4212649 Wrong workspace changes using front panel switch on a multi-headed machine (from 107226-10) 4306589 Patch 107226-09 has a system model related bug under dual-head. (from 107226-09) 4283121 messages popping up over locked screen 4287890 customized window menu does not pop up on ddterm window (from 107226-08) 4123057 Add tooltip functionality 4221615 FrontPanel: the far left icon "Globe Clock" shows date/time in English (from 107226-07) 4236474 when dtwm terminates and is restarted, windows are shifted down and right (from 107226-06) 4194255 adding actions to the frontpanel causes action to change (from 107226-05) 4145607 dtwm exits with "couldn't find per display information" (from 107226-04) 4230855 point in window to make active not working with dual headed monitor (from 107226-03) 4212855 CDE exits when start console on ss20 (from 107226-02) 4209745 autoraise not working with dual headed monitor and one window mgr under CDE 1.3 (from 107226-01) 4169837 root menu not showing up after modifying colors via dtstyle Patch Installation Instructions: -------------------------------- For Solaris 2.0-2.6 releases, refer to the Install.info file and/or the README within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. For Solaris 7 release, refer to the man pages for instructions on using 'patchadd' and 'patchrm' scripts provided with Solaris. Any other special or non-generic installation instructions should be described below as special instructions. The following example installs a patch to a standalone machine: example# patchadd /var/spool/patch/104945-02 The following example removes a patch from a standalone system: example# patchrm 104945-02 For additional examples please see the appropriate man pages. Special Install Instructions: ----------------------------- See the README for patch 108374 for instructions on enabling Tooltips. In order to put in a complete fix for bug: 4283121: message popping up over locked screen Please install these additional patches: 107702-02 (or newer) for Solaris 7. Special Notes: ------------- NOTE 1: RFE 4293551 dtsession in xinerama mode should (optionally) not center the logout dialog box NOTE 2: In order to get full functionality of fix 4743546, install the following patch in addition to this patch: 107702-11 (or newer) CDE 1.3: dtsession patch ===================================================================== Sun(tm) delivers a version of CDE that has been extended to provide some basic support when run in multi-headed Xinerama mode. This support is to make the positioning of the following CDE dialogs resource configurable: - Login (a.k.a. dtgreet) - Logout Confirmation - Unlock Display - Restart Workspace Confirmation - Move/Resize Coordinates. The reason for making these dialogs configurable in terms of their window positioning is obvious, they are all non-movable. That is, these dialogs are all centered in the logical screen regardless of the number of physical monitors available. Without the ability to configure these dialogs, they will be split across monitors and will cause many ease-of-use issues. CDE patches (107180-25, 107226-13, 107702-07, or newer) and the Xsun patch (108376-18, or newer), when installed together, allow the user to configure the positioning of the previously mentioned dialogs using the following X resources: xineramaDefaultFramebuffer xineramaCenterHintX xineramaCenterHintY Resource Description ======================== If the xineramaDefaultFramebuffer resource has a value between 0 and (n-1), within the Xinerama screen, then dialogs will be centered on that framebuffer. If the xineramaDefaultFramebuffer resource has a value of -1, then dialogs will be centered using the values in xineramaCenterHintX and xineramaCenterHintY. To set resources system-wide, copy Xresources and sys.resources from /usr/dt/config/C to /etc/dt/config/C and add the appropriate lines. Setting resources in the Xresources file affects Login, while setting them in sys.resources affects Logout Confirmation, Unlock Display, Restart Workspace Confirmation, and Move/Resize Coordinates. Note that the resources for dtlogin, and thus the position of the Login dialog, cannot be set on a per-user basis on a single machine because dtgreet is run from root before the user is identified. The position of the other dialogs can be set on a per-user basis by creating or modifying the appropriate resource files in the user's HOME directory, .Xdefaults. The X resources have no effect if Xinerama is not being used or if their default values are -1. Example of using these resources ================================ The following are a few examples assuming a two-headed system. 1) To set Login, Logout Confirmation, Restart Workspace Manager Confirmation, Unlock Display and the Resize/Move Coordinate dialogs centered on the first screen: *xineramaDefaultFramebuffer: 0 in both Xresources and sys.resources files. Alternatively to have these dialogs centered on the second screen: *xineramaDefaultFramebuffer: 1 in both Xresources and sys.resources files. 2) If desired, these dialogs do not have to be centered on a particular screen. Instead you can position them anywhere within the entire Xinerama screen by setting their X and Y coordinates. Taking a two-headed system, each screen is 1024 pixels high by 1024 pixels wide, it is possible to place the dialogs in the lower left part of the second screen. To position the dialogs 100 pixels to the left of the second screen and 200 pixels from the bottom, set the following resources: *xineramaDefaultFramebuffer: -1 *xineramaCenterHintX: 1124 *xineramaCenterHintY: 824 README -- Last modified date: Wednesday, January 22, 2003