[Digikam-devel] reading lens description

Matthias Welwarsky matze at welwarsky.de
Tue Jan 20 15:09:10 GMT 2009


On Tuesday 20 January 2009 15:12:33 Marcel Wiesweg wrote:
> > > Matthias,
> > >
> > > Where are you set this tag in code? give us a patch against svn
> > > please...
> >
> > I've downloaded the current beta release, so I've attached a patch
> > against that one. Note that it contains also a change to correctly read
> > the exposure time from RAW files.
>
> Thanks, but that's already fixed in SVN ;-)

very good!

> > > When you said that code is not executed, in which conditions exactly ?
> >
> > When displaying the EXIF content in the "Metadata" or "Properties"
> > sidepanel, and when updating the metadata database of all Albums from the
> > "Tools" menu.
>
> "Update Metadata Database" is a strong misnomer. It does not do that. It
> writes tags, rating and comment from db to the file's metadata, sorry.

Aaargh, you mean it's actually altering my photos when I do that?!

> Currently you can't force a full rescan, the value is for the Properties
> table always taken from database, the Metadata panel just displays all
> values, does not use getLensDescription.

So in order to have the changes take effect, one would need to initiate a full 
album rescan and update of the database, correct? Is there a way to do that, 
in the backend, if not in UI? I can probably patch the UI and add that action 
to the tools menu. I just need something to test my modifications there.

> We need to re-organize the synchronize/update methods, but tomorrow is
> string freeze and the planned batch manager is desirable for this as well.

Well, if there's a string freeze, I hope you can push a change to the "Update 
Metadata Database" before. It's really very much misleading. "Update Image 
Metadata" would be way more appropriate.

>
> > Regards,
> > 	matthias
> >
> > > Best
> > >
> > > Gilles Caulier




More information about the Digikam-devel mailing list