From: Steinar.Haug@delab.sintef.no (Steinar Haug)
Newsgroups: comp.sys.sun.admin
Subject: Re: Looking for patch 100451-27
Date: 9 Jan 93 21:13:48 GMT
Organization: SINTEF DELAB, Trondheim, Norway.

kevin@semcomp.wustl.edu (Kevin Ruland) writes:

> I'm looking for patch 100451-27 from Sun.  It's some fix for Openwin 3.0
> 
> I checked ftp.uu.net and it's not there.  Does anyone know if this patch
> was included in some other patch.
> 
> Also, what is *the* source for sun-fixes?

The latest versions of this patch is 100451-43. I have included the README
file below.

You may be able to find this on the net, try using archie. But there is no
such thing as "*the* source for sun-fixes" - except Sun. Try contacting your
Sun representative if you cannot find it on the net.

Steinar Haug, system/networks administrator
SINTEF DELAB, University of Trondheim, NORWAY
Email: Steinar.Haug@delab.sintef.no, 
	sthaug@idt.unit.no, steinar@tosca.er.sintef.no
----------------------------------------------------------------------
Patch-ID# 100451-43
Keywords: olit3.0
Synopsis: OpenWindows 3.0: OLIT/3.0 CTE Jumbo Patch
Date: 18/Dec/92

SunOS release: 4.1.3, 4.1.2, 4.1.1, 4.1

Unbundled Product: OpenWindows

Unbundled Release: 3.0

Topic: OLIT 3.0 Jumbo Patch Release

BugId's fixed with this patch: 1097819 1099332 1095840 1097042 1095666 1097019 1097060 1079116 1077198 1056290 1059977 1090531 1088126 1085312 1087144 1053499 1054033 1070806 1086857 1069690 1085931 1085311 1055211 1085117 1085119 1083658 1071536 1075807 1075675 1076244 1077804 1067737 1069699 1069958 1070209 1071210 1071427 1071507 1071774 1071855 1073157 1073158 1073385 1073843 1074841 1075085 1097819 1099332 1098537 1101015 1100144 1069757 1097687 1086973 1094770 1109002 1105796 1098701 1087564 1102901 






1086919 1104603 1054351 1076210 1104433 1106948

Changes incorporated in this version: 1086973 1094770 1109002 1105796 1098701 1087564 1102901 1086919 1104603 1054351 1076210 1104433 1106948

Architectures for which this patch is available: sun4(all)

Patches which may conflict with this patch: None

Obsoleted by:

Files included with this patch preceded by ucb 4.1.2 /bin/sum :

13876     3 ControlArP.h
09410     2 Dynamic.h
15699    15 DynamicI.h
17076     6 DynamicP.h
61381     7 ListPaneP.h
36832     5 ManagerP.h
46622     5 MenuP.h
22099    35 OlDnDVCXI.h
43721    14 OlDnDVCXP.h
62118    11 Olg.h
37716    35 OpenLook.h
44066     4 OpenLookI.h
21663    22 OpenLookP.h
49475     4 PrimitiveP.h
45726     9 RootShellP.h
29692    26 StringList
15159     2 TextDisp.h
32551     4 TextEdit.h
60356     7 TextEditP.h
46494     2 TextField.h
63819     3 TextFieldP.h
12938     3 install.sh
54734  1273 libXol.a
01264  1080 libXol.so.3.1

Problem Description:

	This patch fixes the list of bugs referenced below.

	ScrollingList widgets now support Image labels, as described in the
	OLIT widget set reference manual, Sun part number 800-6055-10 page
	1-213 to 1-214. The comment stating 

	"Note: Only text labels are supported in this version of the ScrollingList
	widget, so the only value allowed is OL_STRING"

	is now obsolete, OL_IMAGE is now a valid entry for this field. Also,
	entering OL_BOTH in this field allows both strings and glyphs to be
	displayed at the same time.
	Additional resources have been added to the ScrollingList widget
	to support glyphs. These are :-

	Name:		XtNspace
	Class:		XtCSpace
	Type:		Dimension
	Default:	4
	Access:		SGI
	Action:		Sets the spacing between the string and the glyph in an item.
	
	Name:		XtNalign
	Class:		XtCAlign
	Type:		Boolean
	Default:	True
	Access:		SGI
	Action:		Aligns the second components of all items having both string
			& glyph , at an offset of XtNspace from the widest first
			component. 
	
	Name:		XtNitemHeight
	Class:		XtCItemHeight
	Type:		Dimension
	Default:	0
	Access:		SGI
	Action:		Sets the height of each item. If set to Zero, the height of
			each item would be the height of the font specified by XtNfont.
	
	Name:		XtNposition
	Class:		XtCPosition
	Type:		OlDefine
	Default:	OL_LEFT
	Access:		SGI
	Values:		OL_LEFT/"left"  OL_RIGHT/"right"
	Action:		Sets the position of the string w.r.t the glyph in items having
			both components.


	The additional resource mouseless has been added to fix bug ids
	1053499, 1054033 and 1070806 regarding traversalOn false problems
	with mouseless operation.  The mouseless resource explicitly controls
	mouseless operation.  It is turned on and off by the resource settings

	app_class*mouseless: on
	app_class*mouseless: off

	This can also be accomplished via an XtSetValues() call using the
	XtNmouseless resource name.  This resource will exist in all future
	OLIT releases.


	The additional TextEdit widget function to resolve bug id 1071536 is

	void OlTextEditMoveDisplayPosition(te, move_type)
		TextEditWidget te;
		OlInputEvent   move_type;

	Where 'move_type' can have the following values:

		OL_SCROLLUP  	- Scroll up a line.
		OL_SCROLLDOWN	- Scroll down a line.
		OL_PAGEUP	- Scroll a page up.
		OL_PAGEDOWN	- Scroll a page down.
		OL_HOME		- Scroll to the begining of the page(home)
		OL_END		- Scroll to the end.

	This function should be used for cursor repositioning after text
	in the TextEdit widget has been modified via text buffer utility
	functions.  This function will exist in all future OLIT releases.

	An additional callback function has been added with patchrelease 38
	and beyond. This is

	void OlCallbackPopdownMenu(w, client_data, call_data)
	Widget w;
	XtPointer client_data;
	XtPointer call_data;

	This is used internally by the Notice widget. It causes any active
	menu items that have a current exclusive toolkit grab to be popped
	down before the NoticeShell is popped up. It is recommended that
	this callback be added to the XtNpopupCallback list of any shell
	(other than a NoticeShell - which already has this callback added)
	that is being popped up by the application with an exclusive grab.
	This will force any active menus to be popped down in the same way
	for the application's popped up shell.

	An example, to popup a shell exclusively :-

	Widget popup_shell;

	.....

	XtAddCallback( popup_shell, OlCallbackPopdownMenu, NULL);
	XtPopup( popup_shell, XtGrabExclusive);

	.....
	

BUGID	DESCRIPTION
1086973 CheckBox widget ignores XtNrecomputeSize = False
1094770 destroying a DropTarget widget causes core dump
1109002 Paste in TextField fails with beep
1105796 ScrolledWindow widget scrolls improperly when used with a textedit widget
1076210 When adding a textwidget to a formwidgets existing children are not displayed
1104433 Toolkit doesn't handle the Ungrabs correctly with notices and popup menus
1106948 Olit probem with destroying window
1098537 Destroying textedit widget with copied text hangs
1101015 Drop Sites are incorrectly deleted.
1100144 mouse 'jitters' if selection of statictext widget with mouseless set false
1069757 StaticText is selectable, but you can't copy & paste it.
1097687 first few characters missing when typing into a textfield widget
1097819 textfield loses focus under OLIT 3.0 Jumbo patch T100451-19
1099332 ListPane widget corrupts global GC's when insensitive and empty list 
1095840 Help feature for  Flat widgets doesn't  work properly.
1097042 OLIT jumbo patch cause menu button hangs using xnews -defeateventsecurity
1095666 destroying and adding menubuttons in controlAreaWidget cause layout problems
1097019 OLIT patchlevel 20 menubutton multi-hightlight problem
1097060 OLIT patch 20 has problems with c++ definitions in header files
1079116 OLIT Menu Buttons retain keyboard focus after menu dismissal
1077198 OLIT's ScrollingList widget does not support image labels or glyphs
1056290 Multiple carets appear in the same window.
1059977 Repeated use of OlTextEditClearBuffer and OlTextEditInsert causes SIGSEG
1090531 coredump using XtSetSensitive and patch 100451-15
1088126	patch level -10 to -14 causes app to hang when submenu item selected
1085312	TextField not properly dimmed when XtNsensitive set False
1087144	Vendor Shell SetValues incorrectly calls Extension SetValues method
1053499 With traversalOn set false, popup menu inputFocus is still highlighted
1054033	Setting traversalOn false does not fully turn off mouseless operation
1070806 Setting traversalOn false doesn't work for ScrollingList widgets
1086857	Gauge widget generates annoying warning message
1069690	inactive widgets are not dimmed properly
1085931	Scrollbar not properly dimmed when XtNsensitive set False
1085311	ScrollingList not properly dimmed when XtNsensitive set False
1055211	popping up Shell w/ XtGrabExclusive renders other widgets inactive
	after popdown
1085117 Slider Widget not properly dimmed when XtNsensitive set False
1085119 AbbrevMenuButton not properly dimmed when XtNsensitive set False
1083658	olit 3.0 patch 100451-07 doesn't select text for triple and quad clicks
1071536	Adding text to a textEdit widget causes it to flicker
1075807	textedit widget incorrectly calculates enclosing rectangle size
1075675 Changing XtNWidth for TextEdit Widget doesn't update XtNCharsVisible
1076244 Memory trashing from XtMalloc() and XtRealloc()
1077804 RubberTile widget not sizing itself correctly when children are
	managed/unmanaged
1067737	OLIT drop cursor animation uses wrong cursor
1069699	StripSpaces() causes string to be nulled
1069958	destroying a draw area widget causes core dump
1070209	The CallResizeCallback of DrawArea is being called with the child
	widget id
1071210	Bulletin Board Widget with OL_IGNORE attribute set works incorrectly
1071427	Pressing OL_ADJUSTKEY on an exclusive item selects it
1071507	Drag and Drop sometimes causes X protocol errors due to race conditions
1071774	Rectbutton: tries to issue XtCallbacks on a NULL or empty list
1071855	Multiple Display support fails to register Screen Shells on other
	screens
1073157 checkbox problem crashes app on monochrome system
1073158 menubutton multi-hightlight problem
1073385 TextEdit Widget growMode resource crashes application
1073843	Drag and Drop code crashes after unrealisation of widgets
1074841	OlGetApplicationValues no longer works in OLIT3.0
1075085	dynamic.c: closing and reopening display causes core dump
1098701 Continuously traversing pull-right menus will eventually unmap menu
1087564 Notice widget does not pop up towards the center of the screen
1102901	scrolled window displays clipped children with small heights
1086919 Indication of input focus is an annoyance on a monochrome screen.
1104603 OlTextEditInsert core dumps in OlTextEditInsert
1054351 ScrollingList difference between selected and input focus difficult 

Installation Instructions: 

	1) cd to directory containing patch files
	2) su to root
	3) verify that $OPENWINHOME is set correctly
	4) execute ./install.sh to preview patch installation
	5) execute ./install.sh install to perform patch installation