[Kde-imaging] RFC: how to identify an action from some KIPI plugin
Angelo Naselli
anaselli at linux.it
Tue Aug 7 22:47:43 CEST 2007
martedì 7 agosto 2007, Jan Kundrát ha scritto:
> (Re-send of an earlier message that was sent to wrong address, apologies
> if it makes it twice to the list.)
>
> Hi list,
Hi Jan
> this message is a result of KPhotoAlbum bugreport [1] and an ugly patch [2].
Reading that report i seem to understand we're talking about kipi-plugins
0.1.0 rc2, have you expierenced the problem with a later version?
Gilles is on holidays by now (trying to ccing him to ping him asap)
but from NEWS file i found out the following
006 ==> 119537 : JPEGLossLess : Exif width and height are not corrected after lossless rotation.
http://bugs.kde.org/show_bug.cgi?id=119537
seems to say your problem is fixed IIUC. And that should mean the bug you're
referring to is fixed and duplicated of bug# 119537.
> What I'm looking for is how to find out that the KAction that user just
> invoked is "EXIF auto rotate" from the "JPEG lossless transformations"
> plugin. Right now, my ugly patch abuses C++ RTTI for that, but this is
> highly unportable, ugly and suboptimal. What I propose is that each
> KAction from each KIPI plugin should have an unique name (in this case,
> probably "JPEGLossless/rotate_exif"). That way, KPA can find out what
> the invoked plugin actually did and update its database.
According to plugin_jpeglossless.cpp there are more than one actions
and related action name but I'm not the jpeglossless
plugin guru :)
> Alternative is to support an equivalent of name() for each KIPI plugin,
> but I'm afraid that this would require a change in the plugin ABI.
Sure it would, libkipi should (*will*) change in incoming kde 4, so
any help, suggestions, patches are welcome ;)
> [1] https://bugs.kde.org/show_bug.cgi?id=146927
HTH,
Angelo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20070807/36631d47/attachment.pgp
More information about the Kde-imaging
mailing list