Bug 123455 - Add support of Image Editor actions through DBUS
Summary: Add support of Image Editor actions through DBUS
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-WishForNewTools (show other bugs)
Version: 0.10.0
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-11 23:05 UTC by Christopher Smith
Modified: 2017-08-06 21:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Smith 2006-03-11 23:05:42 UTC
Version:           0.8.0 (using KDE KDE 3.5.1)
Installed from:    Gentoo Packages
OS:                Linux

I am working on a project for my martial arts studio where I need to gamma-correct, crop, and label (with a logo and text) a large number of similar images.  I can do everything except the crop with ImageMagick, but the crop needs to be done by a person, and the showfoto aspect-ratio crop is the best tool I've found (since it has the rule-of-third guidelines).

Unfortunately, I can't invoke the Aspect Ratio Crop function from DCOP.  Ideally, I'd like to be able to open showfoto with a picture, automatically invoke the crop, then save as soon as it's done and move on the the next one.  activateAction from the dcop command-line utility will enable or disable the function, but I can't start it (like I can with the Open or Save As functions).

Please provide a hook so that I can script the aspect-ratio crop.


Thanks for all the work on what's already a highly useful program!
Comment 1 Andi Clemens 2008-12-04 20:38:38 UTC
Since DCOP is not used in KDE4, we can close this, right?
Comment 2 caulier.gilles 2008-12-04 20:52:13 UTC
Andi,

Well, not sure, since DBUS is used instead.

Try qdbusviewer for example, when digiKam run...

Gilles Caulier
Comment 3 Andi Clemens 2008-12-04 21:05:14 UTC
Yes but DCOP is not used. So actually this is not valid anymore, even if we implement some DBUS interface later on.
If this is needed, a new bugreport can be created instead with the DBUS approach. And I don't think we will do this anymore for the KDE3 version.

Andi
Comment 4 Mikolaj Machowski 2008-12-05 21:38:18 UTC
Note: experimental action in bugzilla: rename wish report according to current state of technical matters. If you don't like it revert. Only changed DCOP into DBUS in title and updated version number.
Comment 5 Teemu Rytilahti 2013-12-05 01:37:54 UTC
Is batch queue manager enough for this usecase?
Comment 6 caulier.gilles 2013-12-05 08:11:26 UTC
All can be done with BQM, excepted the hands cropping... there is a crop tool but you need to adjust manually the crop region.

If i'm not too wrong DBUS is already open for all KDE applications through KDELibs... But i never tried, so i can confirm if this file can be closed as well...

Gilles Caulier
Comment 7 caulier.gilles 2016-06-16 13:47:09 UTC
Git commit 57ebc2ab3a9266d266b522a93fe11f06a44f1792 by Gilles Caulier.
Committed on 16/06/2016 at 13:41.
Pushed by cgilles into branch 'master'.

make DBUS dependency optional.
It's typically used for Linux Desktop, not OSX and Windows.
The database core implementation based on DBUS was only used with olde KIOSalve which are now removed.
So typically, this code can be removed later, when Internal server will be rewritten without to use DBUS.
Currently, if DBUS is disabled, Internal Server is not available.
CCMAIL: swatilodha27@gmail.com
FIXED-IN: 5.0.0

M  +15   -1    CMakeLists.txt
M  +1    -0    NEWS
M  +15   -4    app/CMakeLists.txt
M  +9    -1    app/main/digikamapp.cpp
M  +18   -4    app/main/main.cpp
M  +6    -0    app/utils/componentsinfo.cpp
M  +4    -1    app/utils/digikam_config.h.cmake.in
M  +4    -1    libs/album/CMakeLists.txt
M  +27   -4    libs/database/CMakeLists.txt
M  +8    -0    libs/database/collection/collectionscannerhints.cpp
M  +16   -1    libs/database/collection/collectionscannerhints.h
M  +30   -0    libs/database/coredb/coredbchangesets.cpp
M  +24   -3    libs/database/coredb/coredbchangesets.h
M  +6    -0    libs/database/coredb/coredbfields.h
M  +70   -24   libs/database/coredb/coredbwatch.cpp
M  +10   -0    libs/database/coredb/coredbwatch.h
M  +4    -1    libs/fileactionmanager/CMakeLists.txt
M  +4    -1    libs/filters/CMakeLists.txt
M  +4    -1    libs/imageproperties/CMakeLists.txt
M  +4    -1    libs/models/CMakeLists.txt
M  +4    -1    libs/notificationmanager/CMakeLists.txt
M  +6    -3    libs/notificationmanager/dnotificationwrapper.cpp
M  +4    -1    libs/threadimageio/CMakeLists.txt
M  +16   -4    tests/database/CMakeLists.txt
M  +8    -2    tests/timestampupdate/CMakeLists.txt
M  +4    -1    utilities/facemanagement/CMakeLists.txt
M  +4    -1    utilities/fuzzysearch/CMakeLists.txt
M  +4    -1    utilities/geolocation/mapsearches/CMakeLists.txt
M  +5    -2    utilities/searchwindow/CMakeLists.txt
M  +4    -0    utilities/slideshow/CMakeLists.txt
M  +11   -4    utilities/slideshow/slideshow.cpp

http://commits.kde.org/digikam/57ebc2ab3a9266d266b522a93fe11f06a44f1792
Comment 8 caulier.gilles 2016-06-16 13:48:18 UTC
I closed this bug because using DBUS will be very limited in the future. DBUS is not portable well under other non Linux desktop,.

Gilles Caulier