cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
%3CLINGO-SUB%20id%3D%22lingo-sub-748357%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3EJSL%3A%20gli%20elementi%20della%20casella%20di%20riepilogo%20non%20sono%20selezionabili%20per%20alcuni%20utenti%20in%20JMP%2017%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-748357%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CP%3E%20%3C%2FP%3E%3CP%3ECiao%20a%20tutti%2C%3C%2FP%3E%3CP%3E(Non%20sono%20sicuro%20al%20100%25%20se%20questo%20sia%20il%20forum%20giusto%20per%20questo%20-%20sentiti%20libero%20di%20spostare%20il%20post%2Findicarmi%20la%20giusta%20direzione%20come%20richiesto)%3C%2FP%3E%3CP%3EForniamo%20un%20componente%20aggiuntivo%20JMP%20per%20diverse%20dozzine%20di%20utenti.%20Questo%20componente%20aggiuntivo%20mostra%20un%20paio%20di%20finestre%20di%20dialogo%20e%20ha%20funzionato%20senza%20problemi%3CBR%20%2F%3E%20ormai%20da%20diversi%20anni%20(abbiamo%20iniziato%20a%20sviluppare%20con%20JMP%2014%2C%20e%20gli%20aggiornamenti%20a%2015%20%2F%2016%20non%20hanno%20posto%20alcun%20problema).%3C%2FP%3E%3CP%3ECon%20JMP%2017%20per%C3%B2%20due%20dei%20nostri%20utenti%20stanno%20riscontrando%20uno%20strano%20problema.%20Il%20componente%20aggiuntivo%20funziona%20di%20per%20s%C3%A9%2C%20ma%20nelle%20finestre%20di%20dialogo%20che%20contengono%3CBR%20%2F%3E%20caselle%20di%20riepilogo%2C%20non%20possono%20selezionare%20alcun%20elemento%3A%20sembra%20che%20la%20casella%20di%20riepilogo%20non%20risponda%20ad%20alcun%20evento%20(n%C3%A9%20ai%20clic%20del%20mouse%3CBR%20%2F%3E%20n%C3%A9%20navigazione%20basata%20su%20tastiera).%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EEcco%20una%20versione%20ridotta%20che%20presenta%20il%20problema%20(mostra%20due%20finestre%20di%20dialogo%3A%20una%20con%20una%20singola%20casella%20di%20riepilogo%2C%20una%20con%20due%20e%20un%20paio%20di%20pulsanti.%20Nessuno%20dei%20due%20funziona).%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EshowSelectDialog%20%3D%20function(%7Bprocess_col%7D%2C%20%7BDefault%20Local%7D%2C%0A%09parameter_list%20%3D%20List%20(%22Param1%22%2C%20%22Param2%22%2C%20%22Param3%22)%3B%0A%09%0A%09nw%20%3D%20New%20Window(%22Select%20Parameters%22%2C%0A%09%09%26lt%3B%3CMODAL%3E%26gt%3B%22%2C%20select_script)%2C%0A%09%09%09%09%09Button%20Box(%22%26lt%3B%26lt%3B%20Remove%22%2C%20remove_script)%0A%09%09%09%09)%0A%09%09%09)%2C%0A%09%09%09V%20List%20Box(%0A%09%09%09%09text%20Box(%22Selected%20parameters%3A%22%2C%20%26lt%3B%26lt%3B%20set%20font%20style(%20%22Bold%22%20)%20)%2C%0A%09%09%09%09select_list%20%3D%20List%20Box%20(selected_param_list%2C%20width(250)%2C%20nlines(20))%3B%0A%09%09%09)%0A%09%09)%2C%0A%09%09hlistbox(%0A%09%09%09ok_button%20%3D%20button%20box(%22OK%22%2C%0A%09%09%09%09selected_param_list%20%3D%20select_list%20%26lt%3B%26lt%3B%20Get%20Items%3B%0A%09%09%09)%2C%0A%09%09%09cancel_button%20%3D%20button%20box(%22Cancel%22)%0A%09%09)%2C%0A%09%09%2F%2F%20Script%20to%20add%20parameters%20from%20paramlist%20to%20the%20select_list%2C%20%5BDOE-379%5D%20remove%20from%20paramlist%0A%09%09select_script%20%3D%20Expr(%0A%09%09%09toappend%20%3D%20paramlist%20%26lt%3B%26lt%3B%20Get%20Selected%3B%0A%09%09%09for(i%3D1%2C%20i%26lt%3B%3D%20Nitems(toappend)%2C%20i%2B%2B%2C%0A%09%09%09%09if(!Contains(select_list%20%26lt%3B%26lt%3B%20Get%20Items%2C%20toappend%5Bi%5D)%2C%0A%09%09%09%09%09select_list%20%26lt%3B%26lt%3B%20Append(toappend%5Bi%5D)%3B%0A%09%09%09%09)%0A%09%09%09)%3B%0A%09%09%09paramlist%20%26lt%3B%26lt%3B%20remove%20selected%3B%0A%09%09)%3B%0A%09%09%2F%2F%20Script%20to%20remove%20parameters%20from%20the%20select_list%2C%20%5BDOE-379%5D%20add%20to%20paramlist%0A%09%09remove_script%20%3D%20Expr(%0A%09%09%09toremove%20%3D%20select_list%20%26lt%3B%26lt%3B%20Get%20Selected%3B%0A%09%09%09for(i%3D1%2C%20i%26lt%3B%3D%20Nitems(toremove)%2C%20i%2B%2B%2C%0A%09%09%09%09if(!Contains(paramlist%20%26lt%3B%26lt%3B%20Get%20Items%2C%20toremove%5Bi%5D)%2C%0A%09%09%09%09%09paramlist%20%26lt%3B%26lt%3B%20Append(toremove%5Bi%5D)%3B%0A%09%09%09%09)%0A%09%09%09)%3B%0A%09%09%09%2F%2F%5BDOE-379%5D%20sort%20alphabetically%0A%09%09%09select_list%20%26lt%3B%26lt%3B%20remove%20selected%3B%0A%09%09%09param_list%20%3D%20paramlist%20%26lt%3B%26lt%3B%20Get%20Items%3B%0A%09%09%09param_list%20%3D%20Sort%20List%20(param_list)%3B%0A%09%09%09paramlist%20%26lt%3B%26lt%3B%20Set%20Items(param_list)%3B%0A%09%09)%3B%0A%09)%3B%0A%0A%09if(nw%5B%22Button%22%5D%20!%3D%201%2C%0A%09%09dialog_ok%20%3D%200%2C%0A%09%09dialog_ok%20%3D%201%0A%09)%3B%0A%0A%09return(Eval%20List(%7Bselected_param_list%2C%20dialog_ok%7D))%3B%0A)%3B%0A%0AshowSimpleDialog%20%3D%20function(%7Bprocess_col%7D%2C%20%7BDefault%20Local%7D%2C%0A%09parameter_list%20%3D%20List%20(%22Param1%22%2C%20%22Param2%22%2C%20%22Param3%22)%3B%0A%09%0A%09nw%20%3D%20New%20Window(%22Select%20Parameters%22%2C%0A%09%09%26lt%3B%3CMODAL%3E%3C%2FMODAL%3E%3C%2FMODAL%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3CBR%20%2F%3EEcco%20un%20video%20che%20mostra%20le%20finestre%20di%20dialogo%20disfunzionali%3A%3CBR%20%2F%3E%3C%2FP%3E%3CDIV%20class%3D%22lia-vid-container%20video-embed-center%22%3E%3CDIV%20id%3D%22lia-vid-6351401001112w1164h540r810%22%20class%3D%22lia-video-brightcove-player-container%22%3E%3CVIDEO-JS%20data-video-id%3D%226351401001112%22%20data-account%3D%226058004218001%22%20data-player%3D%22default%22%20data-embed%3D%22default%22%20class%3D%22vjs-fluid%22%20controls%3D%22%22%20data-application-id%3D%22%22%20style%3D%22width%3A%20100%25%3B%20height%3A%20100%25%3B%22%3E%3C%2FVIDEO-JS%3E%3C%2FDIV%3E%3CSCRIPT%20src%3D%22https%3A%2F%2Fplayers.brightcove.net%2F6058004218001%2Fdefault_default%2Findex.min.js%22%3E%3C%2FSCRIPT%3E%3CA%20class%3D%22video-embed-link%22%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fvideo%2Fgallerypage%2Fvideo-id%2F6351401001112%22%20target%3D%22_blank%22%3E(vedi%20in%20I%20miei%20video)%3C%2FA%3E%3C%2FDIV%3E%3CBR%20%2F%3EJMP%20Version%3A%2017.0.0%20(622753)%3CBR%20%2F%3EOS%20version%3A%20Windows%2011%3CBR%20%2F%3E%3CBR%20%2F%3EAny%20pointers%20%2F%20suggestions%20highly%20appreciated.%3CBR%20%2F%3E%3CBR%20%2F%3EKind%20regards%3CBR%20%2F%3EFrank%3CP%3E%3C%2FP%3E%3CP%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%3C%2FCODE%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-748357%22%20slang%3D%22de-DE%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Efinestre%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-749426%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EOggetto%3A%20JSL%3A%20gli%20elementi%20della%20casella%20di%20riepilogo%20non%20sono%20selezionabili%20per%20alcuni%20utenti%20in%20JMP%2017%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-749426%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EPotresti%20contattare%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FSupport%2Fct-p%2Fjmp-support%22%20target%3D%22_blank%22%3Eil%20supporto%20JMP.%3C%2FA%3E%20Molto%20probabilmente%20ti%20chiederanno%20i%20file%20Install%20Checker%20e%20alcune%20informazioni%20aggiuntive.%20Inoltre%2C%20se%20trovi%20una%20soluzione%2C%20postala%20qui.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
frankschmitt
Level I

JSL: Listbox items are not clickable for some users in JMP 17

 

Hi all,

(I'm not 100% sure whether this is the right forum for this - feel free to move the post / point me in the right direction as required)

We're providing a JMP addin for several dozen users. This addin shows a couple of dialogs and has been working without any problems
for several years now (we started developing with JMP 14, and upgrades to 15 / 16 didn't pose any problems).

With JMP 17 however, two of our users are having a strange problem. The addin is working per se, but in dialogs that contain
list boxes, they cannot select any items - it seems that the list box doesn't respond to any events (neither mouse clicks
nor keyboard-based navigation).

Here's a stripped-down version that exhibits the problem (it shows two dialogs - one with a single list box, one with two and a couple of buttons. Neither of them work).

showSelectDialog = function({process_col}, {Default Local},
	parameter_list = List ("Param1", "Param2", "Param3");
	
	nw = New Window("Select Parameters",
		<<modal,
		Panel Box("Parameter Selection",
			text box("Available parameters", <<set font style( "Bold" )),
			text box("The parameters that have data available for the selected processes and samples.", << set width(600)),
			text box("Selected parameters", <<set font style( "Bold" )),
			text box("Parameters to be loaded into the DOE file. Preselected are all project specific parameters found in the available parameter list.", << set width(600)),
		),
		text box(" "),
		H List Box(
			V List Box(
				text Box("Available parameters:", << set font style( "Bold" ) ),
				paramlist = List Box(parameter_list, width(250), nlines(20))
			),
			V List Box(
				text Box(" "),
				Lineup Box(NCol(1), Spacing(10),
					Button Box("Add >>", select_script),
					Button Box("<< Remove", remove_script)
				)
			),
			V List Box(
				text Box("Selected parameters:", << set font style( "Bold" ) ),
				select_list = List Box (selected_param_list, width(250), nlines(20));
			)
		),
		hlistbox(
			ok_button = button box("OK",
				selected_param_list = select_list << Get Items;
			),
			cancel_button = button box("Cancel")
		),
		// Script to add parameters from paramlist to the select_list, [DOE-379] remove from paramlist
		select_script = Expr(
			toappend = paramlist << Get Selected;
			for(i=1, i<= Nitems(toappend), i++,
				if(!Contains(select_list << Get Items, toappend[i]),
					select_list << Append(toappend[i]);
				)
			);
			paramlist << remove selected;
		);
		// Script to remove parameters from the select_list, [DOE-379] add to paramlist
		remove_script = Expr(
			toremove = select_list << Get Selected;
			for(i=1, i<= Nitems(toremove), i++,
				if(!Contains(paramlist << Get Items, toremove[i]),
					paramlist << Append(toremove[i]);
				)
			);
			//[DOE-379] sort alphabetically
			select_list << remove selected;
			param_list = paramlist << Get Items;
			param_list = Sort List (param_list);
			paramlist << Set Items(param_list);
		);
	);

	if(nw["Button"] != 1,
		dialog_ok = 0,
		dialog_ok = 1
	);

	return(Eval List({selected_param_list, dialog_ok}));
);

showSimpleDialog = function({process_col}, {Default Local},
	parameter_list = List ("Param1", "Param2", "Param3");
	
	nw = New Window("Select Parameters",
		<<modal,
		Panel Box("Parameter Selection",
			text box("Available parameters", <<set font style( "Bold" )),
		),
		text box(" "),
		H List Box(
			V List Box(
				text Box("Available parameters:", << set font style( "Bold" ) ),
				paramlist = List Box(parameter_list, width(250), nlines(20))
			)
		)
	);
			
if(nw["Button"] != 1,
		dialog_ok = 0,
		dialog_ok = 1
	);
   return(Eval List({dialog_ok}));
);


//===============DATA LOADING & PREPARATION==============
// Get parameters to be loaded
{dialog_ok} = showSimpleDialog("XYZ");
{selected_param_list, dialog_ok} = showSelectDialog("XYZ");


Here's a video showing the dysfunctional dialogs:


JMP Version: 17.0.0 (622753)
OS version: Windows 11

Any pointers / suggestions highly appreciated.

Kind regards
Frank

 

1 ACCEPTED SOLUTION

Accepted Solutions
frankschmitt
Level I

Re: JSL: Listbox items are not clickable for some users in JMP 17

Disabling hardware accelerated graphics (as suggested by JMP support) fixed the problem (at least for one of our users, the second one is currently on vacation). 

 

Here are the instructions I received from JMP support:

 

Please let the user run the JMP Install Checker and then e-mail us the result to this case. This report give us more information about the specific JMP installation.
   -  Within JMP, navigate to Help ? About JMP and click Install Checker.
   -  After the report is displayed, choose Open in Browser.
   -  Choose File ? Save As.
   -  Save it to your desktop as a HTML file.

Also please let the user navigate to File > Preferences > Windows Specific > Enable hardware accelerated graphics. Unselect/unhide this preferences and then click Apply and restart JMP and test again.

 

Update The suggested workaround also works for the second affected user.

 

View solution in original post

2 REPLIES 2
jthi
Super User

Re: JSL: Listbox items are not clickable for some users in JMP 17

You could contact JMP support. They will most likely ask Install Checker files and some extra information. Also if you get a solution, please post it back here.

-Jarmo
frankschmitt
Level I

Re: JSL: Listbox items are not clickable for some users in JMP 17

Disabling hardware accelerated graphics (as suggested by JMP support) fixed the problem (at least for one of our users, the second one is currently on vacation). 

 

Here are the instructions I received from JMP support:

 

Please let the user run the JMP Install Checker and then e-mail us the result to this case. This report give us more information about the specific JMP installation.
   -  Within JMP, navigate to Help ? About JMP and click Install Checker.
   -  After the report is displayed, choose Open in Browser.
   -  Choose File ? Save As.
   -  Save it to your desktop as a HTML file.

Also please let the user navigate to File > Preferences > Windows Specific > Enable hardware accelerated graphics. Unselect/unhide this preferences and then click Apply and restart JMP and test again.

 

Update The suggested workaround also works for the second affected user.