Dear FLAIR Team
Suggestion that the help feature in the old Flair program was more helpful to me than the new one … as the new one gives all the indicators of the manual and you have to rewrite or search about what you want. While the old feature gives directly what you are searching for, it directly gives what you are looking for when you press F1 or Help
I suggest to focus the F1, for example, for fixed and definite search topic directly while other icon can be for the whole body of the manual
Hi @mohammed.fayiz@Ivan
in the last versions of both fluka and flair a big effort went to restructure the manual and convert it to restructure text format so as from a common source to generate other formats like html, pdf, with a lot more formatting capabilities
The old help browser in flair was not able to show the html formatted help, so now flair is forced to use external viewers.
You have the option from the flair preferences to either select as viewer your favorite web-browser or you can install the pywebview python plug in.
When hitting F1 flair is asking the browser to show the corresponding page as in the past.
If this is not happening I would advice either to check with a different browser (setting as default on your system) or preferably install the pywebview as pip install pywebview
if it still fails for you, please tell us what system you are using, and the default web browser to be able to debug the issue
First of all. Thanks for your efforts! In general the new manual looks amazing!
The problem is that I tried both options and the thing is that info button opens the main page of the manual all the time (index.html), but in previous version of Flair this info button (or F1) showed the page of manual appropriate to the selected card in Flair. Also, you can see the output in terminal after I push the info button.
Output
- help(‘/usr/local/flair/manual/html/index.html’)
Bottle v0.12.23 server starting up (using WSGIRefServer())…
Listening on http://127.0.0.1:19835/
Hit Ctrl-C to quit.
Bottle v0.12.23 server starting up (using WSGIRefServer())…
Listening on http://127.0.0.1:32647/
Hit Ctrl-C to quit.
Thanks for the information @Ivan
on my setup ubuntu 22.10 it works as it is supposed (at least on what I’ve tried). So I will try on a virtual machine with your setup to understand what can be the problem
But seems that for both @mohammed.fayiz and me neither pywebview nor webbrowser opens correct page it’s the main page all the time. Just tried with Firefox still the same…