<div dir="ltr">Mathieu and Felipe,<div><br></div><div>The fix for saving settings in custom application-specific directories/files is now in master.<div><br></div><div>Best,</div><div>Cory</div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sat, May 31, 2014 at 10:03 PM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Mathieu,</div><div><br></div>I have a proposed fix for this under review at <a href="http://review.source.kitware.com/#/t/4253/" target="_blank">http://review.source.kitware.com/#/t/4253/</a><div><br></div>
<div>Feel free to try it out with git command</div>
<div><br></div><div>git fetch <a href="http://review.source.kitware.com/p/ParaView" target="_blank">http://review.source.kitware.com/p/ParaView</a> refs/changes/96/15596/1 && git checkout FETCH_HEAD -b 14760_fix_settings_saving<br>
</div><div><br></div><div>This fix changes where the user settings file is saved. The new pattern for the user settings JSON file is</div><div><br></div><div>~/.config/ORGANIZATION/APPLICATION-UserSettings.json</div><div>
<br></div><div>It's not 100% certain that this is how it will be, but I think it makes sense to have the organization and application name in the case that one organization has more than one branded ParaView application.</div>
<div><br></div><div>Best,</div><div>Cory</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 28, 2014 at 4:06 PM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Mathieu,<br>
<br>
Thank you for the report. I've should have this fixed tonight or tomorrow.<br>
<span><font color="#888888"><br>
Cory<br>
</font></span><div><div><br>
On Wed, May 28, 2014 at 3:56 PM, Mathieu Westphal<br>
<<a href="mailto:mathieu.westphal@gmail.com" target="_blank">mathieu.westphal@gmail.com</a>> wrote:<br>
> Hello<br>
><br>
> With my custom application, it is not working.<br>
><br>
> Each time i close my application i have :<br>
> Saving settings file failed<br>
><br>
> Of course there is no UserSettings.json<br>
> the .ini file is written without problem however.<br>
><br>
><br>
> I've debugged it and the ini file is written into :<br>
> ~/.config/ORGANIZATION/cnsGUI0.3.6869.ini<br>
><br>
> and the json file try to be written into:<br>
> ~/.config/ApplicationName/UserSettings.json<br>
><br>
> while ~/.config/ApplicationName does not exist.<br>
><br>
> So it seems the "ORGANIZATION" cmake variable is not taken into account<br>
> when creating the user config file path.<br>
><br>
> Mathieu<br>
><br>
> On Wed, May 28, 2014 at 03:11:04PM +0200, Felipe Bordeu wrote:<br>
>> -----BEGIN PGP SIGNED MESSAGE-----<br>
>> Hash: SHA1<br>
>><br>
>> Hi Cory,<br>
>><br>
>> Everything work as expected. Thanks.<br>
>><br>
>><br>
>> Felipe<br>
>><br>
>> Le 25/05/2014 20:49, Cory Quammen a écrit :<br>
>> > Felipe,<br>
>> ><br>
>> > I have pushed a fix to the git next branch, commit<br>
>> > b154c1c4f31cb9d518965fd742a4603602036744. It will be in master after<br>
>> > the next gatekeeper review (assuming it is approved).<br>
>> ><br>
>> > Thanks,<br>
>> > Cory<br>
>> ><br>
>> > On Fri, May 23, 2014 at 11:31 AM, Felipe Bordeu<br>
>> > <<a href="mailto:felipe.bordeu@ec-nantes.fr" target="_blank">felipe.bordeu@ec-nantes.fr</a>> wrote:<br>
>> > Bug reported<br>
>> ><br>
>> > <a href="http://www.paraview.org/Bug/view.php?id=14753" target="_blank">http://www.paraview.org/Bug/view.php?id=14753</a><br>
>> ><br>
>> ><br>
>> > Felipe<br>
>> >> _______________________________________________<br>
>> >> Paraview-developers mailing list<br>
>> >> <a href="mailto:Paraview-developers@paraview.org" target="_blank">Paraview-developers@paraview.org</a><br>
>> >> <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
>><br>
>> - --<br>
>> Felipe Bordeu Weldt<br>
>> Ingénieur de Recherche<br>
>> - -------------------------------------<br>
>> Tél. : 33 (0)2 40 37 16 57<br>
>> Fax. : 33 (0)2 40 74 74 06<br>
>> <a href="mailto:Felipe.Bordeu@ec-nantes.fr" target="_blank">Felipe.Bordeu@ec-nantes.fr</a><br>
>> Institut GeM - UMR CNRS 6183<br>
>> École Centrale Nantes<br>
>> 1 Rue de La Noë, 44321 Nantes, FRANCE<br>
>> - -------------------------------------<br>
>> -----BEGIN PGP SIGNATURE-----<br>
>> Version: GnuPG v1.4.11 (GNU/Linux)<br>
>> Comment: Using GnuPG with Thunderbird - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
>><br>
>> iQEcBAEBAgAGBQJTheBoAAoJEE/fMfNgU9/DX98IAINzUEBd5ejSy8wETHLbBPj6<br>
>> 57LUNWEIiTHizjHmo7wopbK+1bM8Ce7yXyM/XEBvHf1xy5bjsXls912Pr4p7bWqY<br>
>> NKLs/34LKBZ9NfiNTjM2lCHEWz4SkXSHu7HAmxAELfw5PRjmGU77woT5yKF+V6ao<br>
>> 9jKtxkQdZGGdsyLvFbYZ4Uv6hqlRQtRvUf2YIJtcDSRsZhkq87sAfu1iRdxmdEiI<br>
>> s5Ie82i/hhGINQCEk7kg6VR7lgyJQ/nDzNDv7PvcJims2w+zORFhj4gBYNzNU+pb<br>
>> Sfp4Eg8kx87u0tVPrrdtpL3kxJRLm+b90L5+1w99/T7E0u+Ld2/R86+CQKZ/WQw=<br>
>> =gv2W<br>
>> -----END PGP SIGNATURE-----<br>
>> _______________________________________________<br>
>> Paraview-developers mailing list<br>
>> <a href="mailto:Paraview-developers@paraview.org" target="_blank">Paraview-developers@paraview.org</a><br>
>> <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
> _______________________________________________<br>
> Paraview-developers mailing list<br>
> <a href="mailto:Paraview-developers@paraview.org" target="_blank">Paraview-developers@paraview.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>