Bug 357175

Summary: dolphin 4.13.3 ... 15.08.3 ignore Drag & Drop action type
Product: [Applications] dolphin Reporter: Raymond Czerny <chip>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: frank78ac, mail, nate
Priority: NOR    
Version First Reported In: 4.13.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: a simple example application to check Drag and Drop functions
3 Screeshots

Description Raymond Czerny 2015-12-26 14:00:02 UTC
In my Qt5 application will drag action starts with code fragment:

drag->exec(Qt::CopyAction, Qt::CopyAction);

Dolphin show correct mouse symbol (+) for copy action. But after dropping, popped up the context menu to choose: copy, move and link.
All three menu items are enabled and be executed. But only the action copy should allowed.
Krusader have this identical problem.

A cross check with GNOME nautilus and Xfce thunar is a proof, than my QT5 application working correct.



Reproducible: Always
Comment 1 Frank Reininghaus 2015-12-31 09:50:56 UTC
Thanks for the bug report.

(In reply to Raymond Czerny from comment #0)
> Krusader have this identical problem.

Then it's most likely not a Dolphin issue.

Note that Dolphin 4.13.3 is extremely outdated. Is there any chance that you could test it with a more recent version, like 15.08.x or later? Thanks.
Comment 2 Raymond Czerny 2016-01-02 18:13:24 UTC
Now, I have checked this problem with Dolphin 15.08.3 in a virtual machine with openSUSE.
This problem also exists in this modern version of Dolphin.
Comment 3 Frank Reininghaus 2016-01-03 11:02:16 UTC
Thanks. Copying between Dolphin windows by dragging and dropping while Ctrl is pressed seems to work fine for me.

I think the easiest way to investigate further would be that you make the source code of your application (or ideally, a minimal compilable code snippet that can be used to reproduce the problem) available. Could you do that, please? Thanks for your help.
Comment 4 Raymond Czerny 2016-01-03 17:27:03 UTC
Created attachment 96427 [details]
a simple example application to check Drag and Drop functions

Here a simple example application to check Drag and Drop functions.
Comment 5 Julian Steinmann 2018-04-19 15:14:11 UTC
Can you reproduce this behavior with newer versions of Dolphin?
Comment 6 Raymond Czerny 2018-04-19 17:28:37 UTC
Created attachment 112122 [details]
3 Screeshots

Screeshots: Drag & Drop Test, Infobox of Dolphin and Qt5-Creator
Comment 7 Raymond Czerny 2018-04-19 17:34:33 UTC
Yes, I can reproduce this behavior with newer versions of Dolphin and with know demo program from message on 2016-01-03 17:27:03 UTC.
Comment 8 Julian Steinmann 2018-04-19 19:48:26 UTC
I can now also confirm this behavior with Dolphin 17.12.3. Thanks for the quick response!
Comment 9 Raymond Czerny 2018-12-22 22:04:21 UTC
Dear developer, I have new checked this drag and drop functionality today.
The bug is fixed on Kubuntu 18.04.1 LTS with Dolphin 17.12.3 and new compiled demo program with Qt 5.12.0.
Maybe this bug was just a side effect and was fixed by editing another bug.
Please check it self. Than can close this bug.
Comment 10 Nate Graham 2019-03-18 15:19:58 UTC
Yep, I agree. Thanks for checking!