not sure which bug had happened or fixed, but I suspect it depends on Qt library. IIRC pshow in some Qt platform or release is async in that it returns immediately without waiting a form to be displayed and subsequent UI events are posted afterwards.
the 'bug' may reappear in another Qt release. 14 авг. 2015 г. 4:53 пользователь "'Pascal Jasmin' via Beta" < [email protected]> написал: > for code that launches another jqt process, > > the code below works in j804, but in j803 the form that is created in > mainsign is blank and minimized in top left corner. In j803, I can call > mainsign and the form will draw correctly. The code in mainsigh first > creates the form, and then start__r a: displays it. > The wd 'msgs' line is not necessary either in j804, or in j803 for calling > after the J session is loaded. > > Worth noting is that in j804, the form appears prior to qt console. (the > blank minimized j803 form actually also flashes before the jqt console > appears) > > Is there something I can do to make it work in j803 too? > > > in calling code process > > launch =: 3 : 0 > 'file datasub proc params settings port' =. y > o =. ' echo privateconnectionport=:' (,&'" "')@:,^:(0<#@:]) port > o =. o ,' [echo settingsfile=:' (,&'" "')@:,^:('-'-.@:-:]) quote settings > o =. o ,' [echo datasub=:' (,&'" "')@:,^:(0<#@:]) quote datasub > o =. o , ' echo ', proc , ' ', (lr > params), '"' > t =. > IFWIN{'./jqt "'; jpath'~bin/jqt.exe "' > > fork_jtask_ t , file, '" -js "', o > ) > > > in target file, the procedure that is called (after a bunch of require's) > > mainsign =: 3 : 0 > MyID_z_ = 0 ". > {:'/' cut datasub > APPDATA =: datasub > r =: ('psign ; Signature Server ; session password provides additional > encryption. ; signcb_base_ ; `' , datasub , ';passw"1`edit ; session > password that must be identical in client app`datasubdir') DEF_recordform_ > 'session_passwd ; datasub' > wd 'msgs' > start__r a: > > ) > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
