Bug 357175 - dolphin 4.13.3 ... 15.08.3 ignore Drag & Drop action type
Summary: dolphin 4.13.3 ... 15.08.3 ignore Drag & Drop action type
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 4.13.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-26 14:00 UTC by Raymond Czerny
Modified: 2019-03-18 15:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
a simple example application to check Drag and Drop functions (2.96 KB, application/gzip)
2016-01-03 17:27 UTC, Raymond Czerny
Details
3 Screeshots (91.92 KB, application/gzip)
2018-04-19 17:28 UTC, Raymond Czerny
Details

Note You need to log in before you can comment on or make changes to this bug.
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!