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

Conference bulova::decwindows

Title:DECWINDOWS
Notice:DECwindows Motif V1.2-4 SSB kits: note 5519
Moderator:GRIM::MESSENGER
Created:Wed Nov 28 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5861
Total number of notes:24081

5768.0. "XmDIALOG_PRIMARY_APPLICATION_MODAL can prevent Xserver from 'seeing' mb events" by PEACHS::BRIDGES (MCS where the rubber meets the road) Tue Feb 04 1997 17:11

	Cross-posted in the DECwindows and the Motif notes conferences.

	Hello,

	I've a customer who reports their application programatically
	manages popup dialogs.  They have noticed "inappropriate behavior".  
	So far, I've reproduced the described behavior on;
	AlphaStations running:
		- VMS V6.2* and decwindows Motif v1.2-3	and v1.2-4, 
		- Digital unix v4.0b 
	but not on OpenVMS VAXstations V6.* with decwindows Motif v1.2-4 
	(FWIW)...

	I've reproduced using VMS - DECburger* and Dux - motifbur*

	o modify DECburger.uil/motifbur.uil so that the 
	  control_box: XmBulletinBoardDialog  
			XmNdialogStyle = XmDIALOG_PRIMARY_APPLICATION_MODAL;

	o In DECburger.c/motifbur.c modify the XtAppContext
	  app_context declaration to be global 

	o add a XtAppAddTimeOut( app_context, 10000, show_hide_proc, 0 );
	  to the show_hide_proc() callback so that the order entry dialog
	  is popped up and down every 10 seconds...

	o compile/link

	o pop up the order box
	
	o take it down or wait till it pops down on its own.

	o pull down one of the menus on the menu bar and leave it visible

	o wait till the order box pops up

	o click anywhere within the order box

	o your Xserver will no longer respond to mouse clicks.  

	You must kill the process running decburger/motifbur to get the
	Xserver to again respond to mb events...

	An ideas or just submit a IPMT case ?
	
	Thanks in advance,
	Bruce	
T.RTitleUserPersonal
Name
DateLines
5768.1GERUND::WOLFEI'm going to huff, and puff, and blow your house downWed Feb 12 1997 23:331
I replied to this in Motif.