ECO NUMBER: VAXDWMW02_U3012 ----------- PRODUCT: DECwindows Motif for OpenVMS -------- UPDATED PRODUCT: DECwindows Motif for OpenVMS 1.2-3 ---------------- APPRX BLCK SIZE: 18396 ---------------- COVER LETTER 1 KIT NAME: VAXDWMW02_U3012 1.1 Kits superseded by this kit: VAXDWMW01_U3012 2 KIT DESCRIPTION: 2.1 Version(s) of DECwindows Motif and OpenVMS to which this kit may be applied: DECwindows Motif V1.2-3 OpenVMS User Interface/Cesky DECwindows Motif V1.2-3 OpenVMS User Interface/Magyar DECwindows Motif V1.2-3 OpenVMS User Interface/Polski DECwindows Motif V1.2-3 OpenVMS User Interface/Russkij DECwindows Motif V1.2-3 OpenVMS User Interface/Slovensky DECwindows Motif/Hangul V1.2-3 for OpenVMS DECwindows Motif/Hanyu V1.2-3 for OpenVMS VAX DECwindows Motif/Hanzi V1.2-3 for OpenVMS VAX DECwindows Motif/Japanese V1.2-3 for OpenVMS VAX DECwindows Motif/Thai V1.2-3 for OpenVMS VAX All versions of OpenVMS VAX supported by DECwindows Motif V1.2-3 (OpenVMS V5.5-2 and later) 2.2 In order to receive the full fixes listed in this kit the following remedial kits also need to be installed: None. -- COVER LETTER -- Page 2 2 April 1998 2.3 Files patched or replaced: o SYS$LIBRARY:CDA$DTIF_TO_DDIF.EXE (new image) o DECW$SYSTEM_DEFAULTS:DECW$CALENDAR.UID (new file) o SYS$SYSTEM:DECW$CALENDAR.EXE (new image) o SYS$LIBRARY:DECW$DXMLIBSHR12.EXE (new image) o SYS$LIBRARY:DECW$LOGINOUT.EXE (new image) o SYS$LIBRARY:DECW$MRMLIBSHR12.EXE (new image) o SYS$SYSTEM:DECW$PAINT.EXE (new image) o SYS$SYSTEM:DECW$PRINTSCREEN.EXE (new image) o SYS$LIBRARY:DECW$XLIBSHR.EXE (new image) o SYS$LIBRARY:DECW$XMLIBSHR12.EXE (new image) o SYS$LIBRARY:DECW$XTLIBSHRR5.EXE (new image) Note that DECW$CALENDAR.UID is also supplied in each of the following language variant subdirectories, provided that the subdirectories exist on the target system: CS_CZ HU_HU PL_PL RU_RU SK_SK JA_JP KO_KR_DECKOREAN TH_TH_TACTIS ZH_CN_DECHANZI ZH_TW_BIG5 ZH_TW_DECHANYU ZH_TW_EUCTW -- COVER LETTER -- Page 3 2 April 1998 3 PROBLEMS ADDRESSED IN VAXDWMW02_U3012 KIT The following DECwindows Motif V1.2-3 for OpenVMS VAX problems are addressed in this remedial kit. Calendar problems o In DECwindows Motif V1.2-4, DECW$CALENDAR currently accepts a two digit year in its interchange format. However, the two digit year will not work in the year 2000 and beyond. This problem is corrected in the remedial kit by interpreting two digit years as being in the range 1970-2069. DECW$CALENDAR always use a four digit year when writing in the interchange format. Two digit years can only arise if interfacing Calendar with other programs. o Starting in the year 2000, Calendar will display the year incorrectly when using DEClinks (previously known as LinkWorks). For example, the year 2000 will be displayed as 200. This problem is corrected in the remedial kit. Print Screen problems o When DECW$PRINTSCREEN generates a PostScript file it writes introductory comments to this file. After the end of 1999 the date written to the file will be wrong. For example, the year 2000 would be output as "19100". This problem is corrected in the remedial kit. Paint problems o When DECW$PAINT generates a PostScript file it writes introductory comments to this file. After the end of 1999 the date written to the file will be wrong. For example, the year 2000 would be output as "19100". This problem is corrected in the remedial kit. CDA Viewer problems o When converting DTIF files to DDIF and the current year is 2000 or later, the year is written incorrectly to the DDIF file: the first two digits of the year are always written as 19. This problem is corrected in the remedial kit. DXM Library problems -- COVER LETTER -- Page 4 2 April 1998 o Creating a grey-scale colormix widget would cause an ACCVIO. This problem is corrected in the remedial kit. o Using the help widget the visit topic option would always display a window with left to right text display. The text direction should have been inherited from the help widget. This problem is corrected in the remedial kit. o With the DXmCSText widget replacement of text could fail and sound the bell instead. The problem would occur if the text field was at the maximum length and some of it had been selected for replacement. This problem is corrected in the remedial kit. o If parts of the print widget were suppressed the display would be poorly formatted and unusable. This problem is corrected in the remedial kit. o Using the CtrlosfDown and CtrlosfUp keys to move up or down an Svn widget display would not leave the location correctly defined. This could cause various errors when an operation was subsequently executed. This problem is corrected in the remedial kit. XM Library problems o With a vertical scale widget the position of the slider can be miscalculated and displayed below the end of the scale. The problem occurs only when the label is long or uses a large font. This problem is corrected in the remedial kit. o Various problems could be observed when using drag and drop between windows on different screens of a multi-headed configuration. These problems would occur when the root window or color maps were configured differently on the two screens. These problems are corrected in the remedial kit. o Use of pixmaps could result in memory leaks within a client application. This problem is corrected in the remedial kit. o If the orientation of a scrollbar widget was changed the thickness of it was not recalculated. Since the thickness can depend upon the orientation the scrollbar would be incorrectly displayed. This problem is corrected in the remedial kit. o When a text widget is destroyed there is a small, unavoidable, memory leak in the client application. This problem is corrected in the remedial kit. o XmStringGetCurrentCharSet used a default locale found by translating the logical name "XNL$LANG". Everywhere else in DECwindows Motif 1.2-3 the default locale is found by translating the logical name "LANG". The remedial kit uses "LANG" for the default locale. -- COVER LETTER -- Page 5 2 April 1998 o If a scrolled window is created and the text direction for the window is changed then the vertical scrollbar should be moved to the other side of the window. This was not happening. This problem is corrected in the remedial kit. 4 PROBLEMS ADDRESSED IN VAXDWM01_U3012 KIT The following DECwindows Motif V1.2-3 for OpenVMS VAX problems were addressed in the VAXDWM01_U3012 remedial kit. Login problems o In DECwindows Motif V1.2-3 the DECW$LOGIN.LOG file does not include the DECwindows version number, the date and time that the log file was created, the error status returned from an XOpenDisplay failure, or a message stating that the display was successfully opened. This additional information is written to DECW$LOGIN.LOG in the remedial kit. The DECW$LOGIN.LOG file can be created by adding the following global symbol definition to SYS$MANAGER:DECW$PRIVATE_APPS_SETUP.COM and then restarting DECwindows: $ decw$loginlog == "sys$manager:decw$login.log" o In DECwindows Motif V1.2-3 misleading error messages can be written to DECW$LOGIN.LOG after an exception. For example, after the user enters a bad password the following error messages are written to SYS$OUTPUT: User authorization failure error detected: non-translatable vms error code: 0x186D4, vms message: %RMS-F-SYN, file specification syntax error The "file specification syntax error" message has nothing to do with the actual problem, which is a user authorization failure. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3, remote logins often fail when the server and client are running different versions of OpenVMS, and if the DECW$LOGIN.LOG file is enabled the error message "[_XDispatchEvent - entered in reply state]" is written to the log file. For example, the remote login will fail if the client system is an Alpha system running DECwindows Motif V1.2-3 and OpenVMS Alpha V6.1 and the X11 display server is a VAXstation running OpenVMS VAX V6.1, but it would succeed if the client system were running OpenVMS Alpha V1.5. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 there is a problem with "detached login failure" being periodically broadcast to the console after an unsuccessful login attempt. This is because the DECW$LOGINOUT process is restarting after it exits, even if the -- COVER LETTER -- Page 6 2 April 1998 NORESTART flag is set in the WSA device, and because WSA devices are not being deleted. This problem is corrected in the remedial kit: DECW$LOGINOUT will not restart if the NORESTART flag is set, and it will delete WSA devices when they are no longer needed. To prevent DECW$LOGINOUT from deleting its WSA device before exiting, define the logical name DECW$LOGIN_PRESERVE_WSA in LNM$SYSTEM_TABLE with a value of TRUE. Xm library 1.2.3 problems o In DECwindows Motif V1.2-3, the XmText and XmScrolledText widgets highlight the wrong area of text when the mouse is dragged inside the text widget in the Japanese locale. When a mouse button is clicked, the insertion point is set at the wrong place. This problem is corrected in the remedial kit. o In previous versions of DECwindows Motif, a user could activate an option menu using either the mouse or the keyboard "space" bar and then to select one of the options by using either the mouse or the keyboard. In DECwindows Motif V1.2-3, if the option menu is activated with the keyboard, the user cannot select an option using the mouse. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 applications can crash when managing and unmanaging nested dialog shells. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 a Motif application will terminate with an access violation if its _MOTIF_DRAG_WINDOW is deleted. In the reported case, the login box failed to come up because a server problem caused this window to be deleted. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 under various conditions, it is possible to get incorrect behavior during Drag and Drop operations on multi-headed workstations. This behavior includes incorrect cursor being displayed, popup indicators shown on the wrong screen, locking the X server, and corrupted drag cursors. It is also possible to get the following error messages: X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 72 (X_PutImage) X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 62 (X_CopyArea) This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 there is a memory leak when hashing into an occupied space. This problem is corrected in the remedial kit. -- COVER LETTER -- Page 7 2 April 1998 o In DECwindows Motif V1.2-3 the File Selection Box (FileSB) widget does not return the correct filename when pathMode is set to XmPATH_MODE_RELATIVE and the user enters a directory name without pressing the Apply button. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 a Scrolled List widget's width is not properly adjusted when it is unmanaged using XtSetArg and XtSetValues, and then managing it again. If two Scrolled Lists are created and unmanaged, then resized by calling XtSetArg and one of them is managed again, the changed size is not reflected. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 when the XmNforeground resource of either the XmText or XmTextField widget is toggled rapidly between two colors, a memory leak occurs. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 under certain circumstances, two buttons in a Radio Box widget or gadget can be displayed in a depressed state at the same time. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 there are two leaks in the List widget. In the first, using CopyItems() twice leaks memory because, on the second call, data is really being copied internally. In the second, the List widget's destroy method failed to remove the XmNDestroyCallback list. Both of these problems are corrected in the remedial kit. o In DECwindows Motif V1.2-3 it is not possible to use the return key to open an entry in the SVN widget, such as in Bookreader and in DECwindows Mail. This is inconsistent with previous versions of Motif, and is corrected in the remedial kit. o In DECwindows Motif V1.2-3 DXmActivateWidget fails on pushbuttons in a menu. The application displays the following error message: X Toolkit Error: Couldn't find per display information and terminates. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 there is a memory leak in the cvtXmStringToText() function in the Xm library. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 the X server leaks memory due to the Xm library not freeing pixmaps and because of caching problems in the Xm library. Both of these problems are corrected in the remedial kit. o In DECwindows Motif V1.2-3 there was a dramatic performance degradation when managing complex widget hierarchies, compared with previous versions of Motif. This problem is corrected in the remedial kit. -- COVER LETTER -- Page 8 2 April 1998 o In DECwindows Motif V1.2-3 pressing TAB in a window with only one tab group does not set focus to the "home" widget. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 if an application calls RemoveGrab() to remove a widget while another widget is being destroyed, RemoveGrab() does not re-add the widget being destroyed onto the grab list so that it can later be removed from the grab list correctly. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 some created windows are insensitive to user input. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 there is a memory leak in XtSetValues() for Text widgets. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 on-the-spot input does not operate correctly. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 there is a problem with the Text widget, in that its handling of shifting lines up or down causes memory corruption. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 the XmTextField widget leaks memory when the widget is destroyed. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 an access violation occurs when an application program calls XtVaSetVValues() to set the XmNvalue resource while text is selected in an XmTextField widget. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 when tearing off menus, the title of the newly created Dialog Box contains the name of option, followed by "Tear-off", written in English. For localized applications, this produces a mixture of native and English text in the Dialog Box title. For example, after tearing off the View menu from the French Calendar, the following Dialog Box title is displayed: "Visualization Tear-off" This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 the performance of the string parsing in the XmTextInsert function is very poor for the Japanese and Asian locales. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3, when inserting one character in overstrike mode in an XmText or XmTextField widget, two characters are replaced. This problem is corrected in the remedial kit. -- COVER LETTER -- Page 9 2 April 1998 o In DECwindows Motif V1.2-3, when attempting to cascade to the right by dragging the mouse through a series of cascade buttons, the second cascade button sometimes arms (i.e., becomes depressed) without posting the next pulldown menu. If the cascades are posted by a series of MouseButton1 clicks they are posted correctly. The menu is also posted correctly if the user disarms the cascade by moving the mouse off of the cascade, and then drags the mouse back onto the cascade. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3, repeated calls to XmGetPixmap cause a BadValue error in XCopyPlane when the pixmap is updated as a background XmNlabelPixmap in a widget. The error reported is: X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 63 (X_CopyPlane) Value in failed request: 0x200 Serial number of failed request: 92 Current serial number in output stream: 93 This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3, inserting text into an XmText widget with XmTextInsert does not correctly update the insert cursor position. The insert cursor position stays at its previous location. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3, when the user holds down mouse button one (MB1) and drags the pointer through a menu hierarchy, dragging the pointer into a cascade button then causes the associated submenu to be pulled down. If an item is selected in that submenu, and the pointer is dragged through the menu hierarchy with MB1 held down, the submenu can no longer be pulled down when the pointer enters the cascade button. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3, horizontal resize of a window forces a resize of the height of XmFrame children. In the following example, the widget hierarchy consists of: XmForm +-------------------+-------------------+ XmRowColumn XmRowColumn XmRowColumn | | | XmPushButton XmFrame XmFrame | | XmDrawingArea XmDrawingArea -- COVER LETTER -- Page 10 2 April 1998 When the mwm resize handle is grabbed and the Form is expanded horizontally, then the XmFrame (and hence the XmDrawingArea) height decreases unexpectedly. This problem is corrected in the remedial kit. o Several memory leaks in the DECwindows Motif V1.2-3 version of the Xm toolkit are corrected in the remedial kit. o If an OpenVMS application running under DECwindows Motif V1.2-3 displays a File Selection Box (FSB) to an X11 display server using the Common Desktop Environment (CDE), the List boxes in the FSB will display incorrect directory and file names. This problem is corrected in the remedial kit. o The remedial kit corrects a performance problem in the XmText widget in DECwindows Motif V1.2-3 when displaying multibyte compound strings. This problem also results in mixed single and double byte strings being displayed incorrectly. DXm library 1.2.3 problems o In DECwindows Motif V1.2-3 when the help widget is displaying two topics of the same length, the first topic comes up in a few seconds. The second topic, however, can take up to two minutes to appear. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 the SVN widget leaves behind parts of the highlight frame when it scrolls down past the bottom entry in a window. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 when directing the SVN widget to other than the default screen (that is, if the display is set to screen 0 with the SET DISPLAY command and the application program's command line directs it to display to screen 0), then the program can fail with the following error: X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 55 (X_CreateGC) This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 a memory leak occurs when issuing the following series of routine calls: DXmSvnDisableDisplay followed by DXmSvnInvalidateEntry followed by DXmSvnEnableDisplay. This problem is corrected in the remedial kit. Xt Intrinsics Library R5 problems -- COVER LETTER -- Page 11 2 April 1998 o In DECwindows Motif V1.2-3 there is sometimes a five second delay in creating dialog boxes because the shell widget's geometry manager is waiting for an event that is not received. This problem is corrected in the remedial kit. o colorConvertArgs and screenConvertArg have been added as universal symbols in DECW$XTLIBSHRR5.EXE in the remedial kit. These data structures are described in section 9.6.4 of the book X Window System Toolkit by Asente and Swick. However, the declarations of these routines in Intrinsic.h has not been enabled for OpenVMS. A program that references these data structures will not run correctly on DECwindows Motif V1.2-3 unless the remedial kit is installed, because the addresses of the data structures within DECW$XTLIBSHRR5.EXE have changed. For this reason, programs wishing to use colorConvertArgs or screenConvertArg should either declare local copies of these data structures, which are very small and have well defined contents, or else find their addresses by calling LIB$FIND_IMAGE_SYMBOL. o _XtperDisplayList has been added as a universal symbol in DECW$XTLIBSHRR5.EXE in the remedial kit. The symbol is available for use by third party products but is unsupported and the contents of this data structure may change in future versions of DECwindows Motif. Because the location of this data structure within DECW$XTLIBSHRR5.EXE was different in previous versions of DECwindows Motif, it should be accessed by calling LIB$FIND_IMAGE_SYMBOL. Xlib problems o The locale support in DECwindows Motif V1.2-3 is incompatible with the support in the DEC C Run-Time Library (CRTL), so Xlib is forced to use its own limited subset of locale routines instead of using the locale support in the CRTL. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3, when selecting text from a text widget, e.g. in DECwindows Mail, and pasting it into another application , eight bit multinational characters are not copied. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3, user defined timeouts are disabled if XFlush is called after the user has disabled AST recognition. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 X$GET_WINDOW_PROPERTY does not load the correct number of bytes into the calling routine's data buffer. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3, user defined timeouts are disabled if XFlush is called after the user has disabled AST recognition. This problem is corrected in the remedial kit. -- COVER LETTER -- Page 12 2 April 1998 o In DECwindows Motif V1.2-3 XReconfigureWMWindow does not trap BadMatch errors. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 if too many displays are opened XOpenDisplay signals a %XLIB-W-MAXOPENDSP error but returns a non-zero value. This problem is corrected in the remedial kit. o In DECwindows Motif V1.2-3 there are a number of Non-C bindings (X$ calls) that do not work properly. Many of them can cause an ACCVIO that is not the fault of the application developer. These problems are corrected in the remedial kit. 5 KIT INSTALLATION RATING: The following kit installation rating, based upon current CLD information, is provided to serve as a guide as to which customers should apply this remedial kit. (Reference attached Disclaimer of Warranty and Limitation of Liability Statement) INSTALLATION RATING: 3 : To be installed by customers experiencing the problems corrected. 6 INSTALLATION INSTRUCTIONS: Install this kit with the VMSINSTAL utility by logging into the SYSTEM account, and typing the following at the DCL prompt: @SYS$UPDATE:VMSINSTAL VAXDWMW02_U3012 [location of the saveset] The saveset location may be a tape drive, or a disk directory that contains the kit saveset. No reboot is necessary after successful installation of this kit. In order to make use of the fixes within this remedial kit, the X11 server has to be restarted. This can be done by issuing the following command after the installation is complete. @SYS$MANAGER:DECW$STARTUP RESTART Copyright (c) 1997 Digital Equipment Corporation, All Rights Reserved. Unpublished rights reserved under the copyright laws of the United States. The software contained on this media is proprietary to and embodies the confidential technology of Digital Equipment Corporation. Possession, use, or dissemination of the software and media is authorized only pursuant to a valid written license from Digital -- COVER LETTER -- Page 13 2 April 1998 Equipment Corporation. DISCLAIMER OF WARRANTY AND LIMITATION OF LIABILITY THIS PATCH IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED TO THE EXTENT PERMITTED BY APPLICABLE LAW. IN NO EVENT WILL DIGITAL BE LIABLE FOR ANY LOST REVENUE OR PROFIT, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, WITH RESPECT TO ANY PATCH MADE AVAILABLE HERE OR TO THE USE OF SUCH PATCH. The following are trademarks of Digital Equipment Corporation: Alpha, CDA, DDIF, DEC, DECnet, DECterm, DECwindows, Digital, OpenVMS, VAX, and VMS. Motif and OSF are registered trademarks and Open Software Foundation is a trademark of the Open Software Foundation, Inc. X Window System is a trademark of the Massachusetts Institute of Technology. All other trademarks and registered trademarks are the property of their respective holders.