[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference unxa::cde

Title:CDE on Digital UNIXonment - CDE
Notice:CDE on Digital UNIX - for CDE on VMS, please see Note 1.3
Moderator:UNXA::SYSTEM
Created:Tue Nov 23 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:660
Total number of notes:2674

600.0. "APPLICATION WINDOWS MISSING SOME INFO" by IB001::ANAMARIA (Ana Garc�a, MCS (Madrid)) Thu Feb 06 1997 13:20

	Hi all.

	Digital UNIX v4.0A

	My customer is having a problem with the window size from 
some applications executed from the CDE (for example, disklabel, 
account manager, etc.). When the corresponding window displays, some 
information is missing; the application window borders are limited to 
the physical screen. So, if it happens that the application window size 
is bigger than the physical screen, some part of the information 
inside the window is losed. This happens in the right and down parts 
of the window, depending on the application.

	I had the same problem with xdm and Excursion in DUNIX v3.2c
and I found reported that, changing the 'Mwm*limitResize' resource to 
false (by default it's true) at the '/usr/lib/X11/app-defaults/Mwm' 
file, the problem disappeared. This works OK. 

	I have tested to define the corresponding resource in CDE:
	
	Dtwm*limitResize: false at '/usr/dt/app-defaults/C/Dtwm' file.

	With this change, the application window expands at the right 
limit, but not at the down limit.

	For example, before changing the resource, when I choose the 
'DISK' icon from the 'DailyAdmin' options, it appears a window with 
information about the selected disk but with the information from the 
'Selected Partition:' missing because the window doesn't expand at 
the right. When I change the resource, the whole window, although it 
doesn't fit in the physical screen, shows all the information if we 
move through the down bar.

	Another failing case. When I execute the 'Account Manager' 
icon from the 'DailyAdmin' options, if I choose the 'Add' option, the 
window generated doesn't display the 'OK', 'APPLY', 'OPTIONS', etc 
options at the down part because it's limited by the physical screen. 
When I change the resource, there is NO difference. It doesn't work.

	The customer has experienced this behavour with the graphic 
console and I have got the same situation through Excursion. Note that 
the change in the resource works with 'xdm' and not completely with 
CDE.

	Has anybody had this same problem?.

	Any help or suggestion will be very appreciated.

	Thanks in advance.

	Regards.
	

				Ana
	
T.RTitleUserPersonal
Name
DateLines
600.1Where is this being displayed?ALFAXP::RETTERERThu Feb 06 1997 16:436
Ana,

Is this being displayed on a PC running eXcursion or on the Graphics
console of the system?

Rick
600.2EXPERIENCED WITH BOTH EXCURSION AND GRAPHIC CONSOLEIB001::ANAMARIAAna Garc�a, MCS (Madrid)Fri Feb 07 1997 06:4410
    	Hi Rick.
    
    	Thanks for your answer.
    
    	As I said in .0, my customer has experienced this behavour at his
    graphical console and I have seen it working with Excursion on a PC.
    
    	Regards.
    
    					Ana
600.3one other possibilityUNXA::BEUTENo good deed ever goes unpunished...Fri Feb 07 1997 10:0829

	One other possibility is that XDM/dxsession/dx applications made
	use of a Digital-supplied extension to Motif. See Section 2.1.2
	of the DECWindows Extensions to Motif manual in the doc set
	for this description:

2.1.2  DXmNfitToScreenPolicy Resource

The DXmNfitToScreenPolicy resource, which is specific
only to the dialog shell widget, automatically sizes all dialog
widgets for a screen. When the DXmNfitToScreenPolicy re-
source is set to AS_NEEDED in an application's defaults file,
the dialog shell automatically resizes and positions all dialog
shells that are too big for the user's screen.

You can set this resource only in an application's defaults file
(access is CG); it cannot be set in a UIL module or through
a call to XtSetArg. The format for setting this resource is as
follows:

*DXmfitToScreenPolicy: AS_NEEDED


	This would explain why you don't see scrolling bars automatically
	since CDE doesn't set this resource for any applications. You
	might try adding this to some of the app-defaults files to see
	if it helps resolve their size problems on smaller screens.

600.4PROBLEM SOLVED BUT... THANKSIB001::ANAMARIAAna Garc�a, MCS (Madrid)Tue Feb 11 1997 11:1819
    	Hi.
    
    	Thank for your answers.
    
    	I have included that resource at the '/.Xdefaults' file and it
    works for 'root'. I'm now looking for the file that affects all the
    users. I've tried with:
    
    	/usr/lib/X11/app-defaults/Xdefaults
    
    but it doesn't work for all the users.
    
    	By the moment, I'll use the ~USERNAME/.Xdefaults file.
    
    	Thanks again.
    
    	Regards.
    
    				Ana
600.5try thisUNXA::BEUTENo good deed ever goes unpunished...Tue Feb 11 1997 11:3515
    
>>    	I have included that resource at the '/.Xdefaults' file and it
>>    works for 'root'. I'm now looking for the file that affects all the
>>    users. I've tried with:
>>    
>>    	/usr/lib/X11/app-defaults/Xdefaults
>>    
>>    but it doesn't work for all the users.
    
	Take a look in the CDE Advanced User and System Administrator 
	Guide. If you want to make a resource setting to take effect
	for each user who logs in, the right thing to do is to create
	the file /etc/dt/config/{$LANG}/sys.resources, add the change
	in there, and make sure that the new file is world-readable.