<p dir="ltr">I will have a look at what options we have next Monday hopefully.</p>
<br><div class="gmail_quote"><div dir="ltr">On Wed., 10 Jan. 2018, 10:40 pm Jorge Gustavo Rocha, <<a href="mailto:jgr@di.uminho.pt">jgr@di.uminho.pt</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Richard,<br>
<br>
Good point!<br>
<br>
We have in QGIS3 a new qgis_global_settings.ini file where we can put<br>
global default settings. These global settings can be override later by<br>
the users.<br>
<br>
I think we need to start populating this file with reasonable settings.<br>
<br>
You might suggest some of those settings to start with.<br>
<br>
Regards,<br>
<br>
Jorge Gustavo<br>
<br>
On 10-01-2018 11:53, Richard Duivenvoorde wrote:<br>
><br>
> Hi Devs,<br>
><br>
> Currently if you start QGIS3 for the first time, all kind of default<br>
> options (from the Options Dialog) are not yet 'saved' to QgsSettings().<br>
><br>
> To test:<br>
> - remove ~/.share/local/QGIS<br>
> - start QGIS<br>
> - choose 'I want a clean start. Don't import my QGIS 2 settings.'<br>
><br>
> Now in Python console type:<br>
><br>
> QgsSettings().value( "help/helpSearchPath" )<br>
> which will return an emtpy list (of search paths)<br>
><br>
> Open Settings/Options/System properties and see there is:<br>
> <a href="https://docs.qgis.org/$qgis_short_version/$qgis_locale/docs/user_manual/" rel="noreferrer" target="_blank">https://docs.qgis.org/$qgis_short_version/$qgis_locale/docs/user_manual/</a><br>
> in Documentation paths there.<br>
><br>
> NOW click OK and<br>
><br>
>>>> QgsSettings().value( "help/helpSearchPath" )<br>
> ['<a href="https://docs.qgis.org/$qgis_short_version/$qgis_locale/docs/user_manual/" rel="noreferrer" target="_blank">https://docs.qgis.org/$qgis_short_version/$qgis_locale/docs/user_manual/</a>']<br>
><br>
> So Question: is there a way to 'silently' save all those options for a<br>
> fresh user? I'm not so familiar with how those dialogs are constructed,<br>
> so can we 'submit' all tabs in one? Or should we submit them one by one?<br>
><br>
> Ah, it appears that clicking OK once from whatever tab will 'save' (at<br>
> least this path) to QgsSettings()...<br>
><br>
> Otherwise, current situation will be that a new user upon clicking<br>
> any(!) help button will always be shown with the daft "Oops! QGIS help<br>
> is currently not available. This is likely because: ... " message.<br>
><br>
> See also:<br>
><br>
> <a href="https://issues.qgis.org/issues/17670" rel="noreferrer" target="_blank">https://issues.qgis.org/issues/17670</a><br>
><br>
> <a href="https://issues.qgis.org/issues/17598" rel="noreferrer" target="_blank">https://issues.qgis.org/issues/17598</a><br>
><br>
> Regards,<br>
><br>
> Richard Duivenvoorde<br>
> _______________________________________________<br>
> QGIS-Developer mailing list<br>
> <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
><br>
<br>
J. Gustavo<br>
--<br>
Jorge Gustavo Rocha<br>
Departamento de Informática<br>
Universidade do Minho<br>
4710-057 Braga<br>
Tel: +351 253604480<br>
Fax: +351 253604471<br>
Móvel: +351 910333888<br>
skype: nabocudnosor<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>