Patch-ID# 108922-22
Keywords: breaks functionality icon switch dumps core login cleared screen
Synopsis: CDE 1.4_x86: dtwm patch
Date: Nov/09/2004


Install Requirements: None                      
                      
Solaris Release: 8_x86

SunOS Release: 5.8_x86

Unbundled Product: CDE

Unbundled Release: 1.4_x86

Xref: This patch is available for SPARC as patch 108921

Topic: 

Relevant Architectures: i386

BugId's fixed with this patch: 4261430 4293551 4299651 4300013 4301522 4306589 4311753 4311842 4330496 4332153 4335592 4335971 4383544 4389935 4392829 4395985 4396864 4430931 4468742 4527435 4743546 4853367 4868035 4917291 4948424 4956257 4971032 5076334

Changes incorporated in this version: 5076334

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 108653-18 or greater

Obsoleted by: 

Files included with this patch: 

	/usr/dt/app-defaults/C/Dtwm
        /usr/dt/appconfig/types/C/dtwm.fp
        /usr/dt/config/C/sys.dtwmrc
        /usr/dt/lib/libSdtWmComm.so.1
/usr/dt/bin/dtwm

Problem Description:

5076334 dtwm core dump.
 
(from 108922-21)
4971032 window/mouse warp to 0.0 when moving window
 
(from 108922-20)
4956257 sdtimage dumps core when repeats window snapshots
 
(from 108922-19)
4948424 dtwm dumps core in MoveIconInfo
 
(from 108922-18)
4917291 Segmentation fault from dtwm when playing with frontpanel
 
(from 108922-17)
4853367 resource leak in dtwm when reloading CDE actions
4868035 system modal dialog can't be dragged
 
(from 108922-16)
4743546 With 105634-08 (or newer), DIALOG_SYSTEM_MODAL can be cleared by screen saver.
 
(from 108922-15)
4396864 dtwm dumps core on login if front panel has no SWITCH box
 
(from 108922-14)
4527435 Icon doesn't change state in Switch container in Solaris 8
 
(from 108922-13)
4468742 patches 107226-17 and 108921-12 breaks functionality with dtwm and frontpanel
 
(from 108922-12)
4430931 Xterm doesn't work from frontpanel
 
(from 108922-11)
4395985 CDE window manager core dumps when I install the CS Supplement CD using CD0
 
(from 108922-10)
4392829 TEC perf optimizations
4389935 Feature For LSARC Cases : 2000/105, 2000/106, 2000,107 and 2000/108
 
(from 108922-09)
4383544 dtwm goes into endless loop
 
(from 108922-08)
4293551 dtsession in xinerama mode should (optionally) not center the logout dialog box
 
(from 108922-07)
4332153 Graphics window menu does not appear when running at Solaris 8
 
(from 108922-06)
4335971 dtwm causes inappropriate FocusOut/FocusIn events to be sent to X applications
 
(from 108922-05)
4335592 Removable Media Manager fails to mount floppy disk
 
(from 108922-04)
4330496 dtwm core dumps when deleting icon from front panel
 
(from 108922-03)
4261430 audio control keys not working on keyboard
4311753 sys.dtwmrc key bindings for SunAudio keys need ifkey context
 
(from 108922-02)
4301522 RFE for Window Manager Communication API
4299651 CDE 1.4.x integration of the Window communication library to dtwminteg
4300013 Dangling link in /usr/dt/lib/libSdtWmComm.so
4311842 RMM icon isn't in Workspace Menu, as stated in Help documentation.
 
(from 108922-01)
4306589 Patch 107226-09 has a system modal related bug under dual-head.

Patch Installation Instructions:
-------------------------------- 
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:
----------------------------- 
 
NOTE 1:
This patch updates the workspace menu and front panel to incorporate
the new Removable Media support.  In order to get the complete support
for the new Removable Media functionality, you must either upgrade to
(at least) Solaris 8 6/00 or install the following patches in addition
to this patch:
        109166-01 (or newer):   CDE 1.4: dtfile Patch
        109168-01 (or newer):   CDE 1.4: Desktop Help Update Patch
 
        108971-01 (or newer):   /usr/lib/fs/pcfs/fsck and
                                        /usr/lib/fs/pcfs/mkfs patch
        108973-01 (or newer):   /sbin/fdisk patch
        108969-01 (or newer):   vol/vold/rmmount patch
        108976-01 (or newer):   /usr/bin/rmformat and /usr/sbin/format patch
 
If you do not install the other patches, you may no longer be able to open
CD-ROM or floppy disks from the CDE workspace menu or front panel.
 
NOTE 2:
In order to get complete support for the audio control keys (bug 4261430),
install the following patch in addition to this patch:
 
        108924-01 (or newer):   CDE 1.4_x86: dtwm audio control patch
 
NOTE 3:
In order to get full xinerama support (bug 4293551), install the following
patches in addition to this patch:
 
        109355-05 (or newer):   CDE 1.4_x86: dtsession patch
        108920-05 (or newer):   CDE 1.4_x86: dtlogin patch
 
NOTE 4:
In order to get full functionality of fix 4743546, install the following patch
in addition to this patch:
 
        109355-16 (or newer): CDE 1.4_x86: dtsession patch
 
Special Notes:
--------------
 
NOTE 1:
RFE 4293551 dtsession in xinerama mode should (optionally) not center
	    the logout dialog box
=====================================================================				 
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 (108922-08, 109355-05, 108920-05, or newer) and the Xsun patch
(108653-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:  Tuesday, November 9, 2004

