Summary: | Can't drag any image file from digikam to GIMP | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Rafael Linux User <rafael.linux.user> |
Component: | Usability-Drag&Drop | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | caulier.gilles, putz.alexey, rafael.linux.user |
Priority: | NOR | ||
Version: | 5.3.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/digikam/cf95a328cdcdd82c63d85dcbdc4ba5acc0314443 | Version Fixed In: | 5.4.0 |
Description
Rafael Linux User
2016-11-18 18:33:56 UTC
I tried, and I can confirm the issue. GIMP 2.8.18 digiKam Version 4.14.0 Using KDE Development Platform 4.14.22 Kubuntu 16.10 KDE Plasma Version : 5.7.5 KDE Frameworks Version : 5.26.0 Qt Version : 5.6.1 Kernel Version : 4.8.0-22-generic OS Type: 64-bit Can you drag and drop from Dolphin file manager or Gwenview to Gimp ? Note : testing with DK 4 is not valid, as it's based on Qt4 and is not maintained. DK 5 is the main implementation now and is based on Qt5 which can have serious difference about D&D. this last one is managed by Qt in fact in background. Gilles Caulier DK and Krita are based on Qt5. Gimp is GTK stuff. Qt manage the D&D through the XDND standard. Look "Interoperating with Other Applications" section for details. http://doc.qt.io/qt-5/dnd.html So the question is : Gimp support XDND ? Gilles Caulier I suppose that GIMP do support XDND. Found a quote about XDND: XDND defines a standard for drag and drop on X11. It is implemented by GTK+. Dragging from Dolphin to GIMP do work. About Gwenview, I wasn't able to drag from it as far as primary tool in this program is "navigating" hand, and it doesn't drag anything. GIMP 2.8.18 Dolphin 16.04.3 Kubuntu 16.10 KDE Plasma Version : 5.7.5 KDE Frameworks Version : 5.26.0 Qt Version : 5.6.1 Kernel Version : 4.8.0-22-generic OS Type: 64-bit > About Gwenview, I wasn't able to drag from it as far as primary tool in this > program is "navigating" hand, and it doesn't drag anything. Well, Gwenview is the "smaller brother" of Digikam, that's to say, you can explore image thumbnails and manipulate them, or view them. If you hit "ESC" key in Gwenview, you will see images thumbnails. > > GIMP 2.8.18 > > Dolphin 16.04.3 > > Kubuntu 16.10 > KDE Plasma Version : 5.7.5 > KDE Frameworks Version : 5.26.0 > Qt Version : 5.6.1 > Kernel Version : 4.8.0-22-generic > OS Type: 64-bit I 've managed to drag from Gwenview 16.04.3 , I just needed to open thumbnail bar to drag from it. Digikam 5 is still unable to drag from albums. But can drag to Dolphin from Digikam 5. digiKam Version 5.3.0 Kubuntu 16.10 KDE Plasma Version : 5.7.5 KDE Frameworks Version : 5.26.0 Qt Version : 5.6.1 Kernel Version : 4.8.0-22-generic OS Type: 64-bit Apparentely, is not a GIMP issue "XDND - Drag-and-Drop Protocol for the X Window System. XDND defines a standard for drag and drop on X11. It is implemented by GTK+. See also XDND specification. " from https://wiki.gimp.org/wiki/Glossary I just tested with digiKam AppImage bundle and Gimp. Drag and drop work fine. You just to drop item from DK into right region of Gimp GUI, typically here : https://www.flickr.com/photos/digikam/31095559876/in/dateposted-public/ If D&D do not work to Gimp canvas, well it's a problem into Gimp to support this action at the right place in Gimp Implementation. Why it support well this action somewhere in Gimp GUI and not in another place ?... Gilles Caulier (In reply to caulier.gilles from comment #8) > I just tested with digiKam AppImage bundle and Gimp. Drag and drop work > fine. You just to drop item from DK into right region of Gimp GUI. > Digikam 5.3 works on that way too, that's not a problem. > If D&D do not work to Gimp canvas, well it's a problem into Gimp to support > this action at the right place in Gimp Implementation. Why it support well > this action somewhere in Gimp GUI and not in another place ?... You forgot to try to D&D from Dolphin or Gwenview to GIMP canvas and it works like a charm. So, why is Digikam failing and not this two programs? Hi Gilles > Gilles Caulier This maybe will clear more the Digikam issue, cause we can demonstrate is not a QT vs GTK+ or GIMP application fail. I CAN D&D to GIMP canvas from Krusader, another QT native file manager like Dolphin, that let us D&D to GIMP canvas. Git commit cf95a328cdcdd82c63d85dcbdc4ba5acc0314443 by Maik Qualmann. Committed on 20/11/2016 at 21:36. Pushed by mqualmann into branch 'master'. set QDrag default drop action to Qt::CopyAction FIXED-IN: 5.4.0 M +2 -1 NEWS M +1 -1 libs/album/albumtreeview.cpp M +1 -1 libs/widgets/common/dragdropimplementations.cpp http://commits.kde.org/digikam/cf95a328cdcdd82c63d85dcbdc4ba5acc0314443 |