[KPhotoAlbum] Not using the saved search dialog layout...

Baptiste MATHUS ml at batmat.net
Sat Nov 18 16:28:32 GMT 2006


OK, I deleted my layout.xml file, then recreated entirely my usual
layout, then saved it. I closed KPA, and all is ok after restarting.
Bug out for me.

Thanks a lot.

2006/11/18, Jesper K. Pedersen <blackie at blackie.dk>:
> I found that I did not read the file with the right encoding. It is fixed in
> SVN, please retry and let me know if it now works for you.
>
> Cheers
> Jesper.
>
> On Sunday 12 November 2006 20:44, Baptiste MATHUS wrote:
> | 2006/11/12, Jesper K. Pedersen <blackie at blackie.dk>:
> | > This is for a snapshot or SVN version of KPA, right?
> |
> | Yes, svn. I svn up once a day, recompile then install :-). A bit risky
> | maybe.
> |
> | > Are you using a translated version of KPA?
> |
> | Yes, but partial one :-/. Only a few items are translated.
> |
> | > Does it happen when you do these steps?
> | > - kphotoalbum -demo
> | > - C-f or pressing the search icon
> | > - redo layout
> | > - press config->save layout
> | > - ctrl-c the app and reopen the config dialog.
> |
> | No, it works fine with the demo DB.
> |
> | > If things work fine in the above setup, what action do you do?
> |
> | I think you're right : the problem is due to my translated version.
> | The termf "keywords", which is "mots-clés" in french with an accent,
> | seems not to be found.
> |
> | In the past few days, I think I found why KPA was not doing right IMO
> |
> | : the encoding of the layout file is not present, and not understood
> |
> | (note that it does not have a prolog at all). So, I guess it's not
> | finding the string "mots-clés" in the layout because the file was not
> | saved in the same encoding.
> |
> | In fact, UTF-8, does not save the accent the same way latin1
> | (iso-8859-1 or 15 with euro in addition and some little other things),
> | so it could explain why KPA can't find "mots-clés" and lay it out at
> | the right place.
> |
> | The thing is : I do not know what changed in the svn version of KPA,
> | but now, "mots-clés" is not even displayed in the main window, only
> | the icon (see screenshot) ?!? I don't have any idea what the reason
> | is. Let me know if you want me to test things...
> |
> | > On Tuesday 31 October 2006 23:48, Baptiste MATHUS wrote:
> | > | Hi all,
> | > |
> | > | Is anybody having the same problem ? The first capture attached is the
> | > | search dialog as I see it before I layout it as I need it => see
> | > | second image (After-layout.png) for the wished layout. Then, I select
> | > | "Save the current window setup" and it creates (or updates) the last
> | > | attached xml file. Next time I open search dialog, it does not use the
> | > | defined layout
> | > |
> | > | Wait a minute...
> | > |
> | > | Trying to repeat the step for this potential bug, I just noticed
> | > | something which I think might be very valuable : if I do ctrl-f, it
> | > | uses the recently saved layout very well, BUT if I click on the
> | > | "Search" icon of the main window, it doesn't ! Maybe some init code
> | > | has been forgotten for one of the case so as to reload the layout that
> | > | was saved...
> | > |
> | > | Note that if I close, then reopen KPA, none of the case works anymore
> | > | and it uses the "Before-layout.png" layout...
> | > |
> | > | Hope this helps debugging ?
> | > |
> | > | Thanks a lot
> | >
> | > --
> | > Having trouble finding a given image in your collection containing
> | > thousands of images?
> | >
> | > http://www.kphotoalbum.org might be the answer.
>
> --
> Having trouble finding a given image in your collection containing
> thousands of images?
>
> http://www.kphotoalbum.org might be the answer.
>


-- 
Baptiste <Batmat> Mathus
BMathus at Batmat point net - http://batmat.net
---------
Si chacun de nous a une idée et que nous les partageons, nous
repartirons tous les deux avec deux idées... C'est ça le Libre.



More information about the Kphotoalbum mailing list