Hi Sergey,
Thanks your answer !
I just gave it a try and in my code I do:
gEnv->Print();
viewer->Show();
and I get:
[...]
WebEve.DisableShow: 1 [User]
Info in <THttpEngine::Create>: Starting HTTP server on port 9374
Showing web window in browser with:
/usr/bin/firefox --private-window 'http://localhost:9374/win1/?key=1048305' &
Running without a11y support!
So the option seems set but firefox is started anyway.
I get the same behaviour when checking with the tutorials/eve7/viewer.C example, adding a gEnv->Print() to confirm that the option is set (I then get:
[...]
Davix.UseOldClient: no [Global]
Rint.Canvas.HighLightColor: 5 [Global]
WebEve.DisableShow: 1 [User]
Info in <THttpEngine::Create>: Starting HTTP server on port 8902
Showing web window in browser with:
/usr/bin/firefox --private-window 'http://localhost:8902/win1/?key=1048305' &
root [1] Running without a11y support!
Recv BRREQ:{"path":"/","first":0,"number":100,"sort":"","regex":""}
Recv BRREQ:{"path":"/CMSE_1/","first":0,"number":100,"sort":"","regex":""}
Recv GETDRAW
SELECT NODES 840
Produce geometry JSON 467662
Recv GVREQ:{"oper":"HIGHL","path":"","stack":[4,0,2,132]}
Recv GVREQ:{"oper":"HIGHL","path":"","stack":[]}
Recv GVREQ:{"oper":"HOVER","path":"OFF","stack":[]}
The CMS detector renders properly with this example, whereas in my case, the browser is stuck.
In any case I would like to force it from the code, as I can expect users to all set their .rootrc files.
Many thanks for your help !
Ben
P.S. I am running with ROOT 6.20/06, as released in LCG 97a