View Issue Details

IDProjectCategoryView StatusLast Update
0000589Double CommanderFile operationspublic2020-11-30 14:49
Reportertakiz Assigned ToAlexx2000  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
Platformx86OSLinuxOS VersionXubuntu 12.04.1
Product Version0.6.0 (trunk)Product Build4961 
Target Version0.8.3Fixed in Version0.8.3 
Summary0000589: Drag and Drop didn't work
DescriptionDrag and Drop from DC to other applications didn't work. For example, audio files to Audacious playlist.
TagsNo tags attached.
Fixed in Revision8077-8079,8089,8105
Operating systemLinux
WidgetsetGTK2
Architecture32-bit

Relationships

has duplicate 0000611 closedAlexx2000 Drag'n'drop doesn't work with other apps 
has duplicate 0000697 closedAlexx2000 Drag'n'drop to other programs doesn't work anymore 
has duplicate 0000744 closed Drag drop operations to other programs 
has duplicate 0001915 closed drag and drop outside Doublecmd not possible 
has duplicate 0001799 closed Drag & Drop to Audacious does not work 

Activities

mjacek

2013-07-30 17:08

reporter   ~0001092

Last edited: 2013-07-30 17:48

In my setup (see at the end) Drag&Drop works just ONE time, then I must either restart the DC or [tick, save, untick, save] the option "Show confirmation dialog after drop". However, this sometimes works, and sometimes don't.....

It might be some race condition in the software - after an unsuccessful drag the highlight behaves like if I had not released the mouse button.



Double Commander
Version: 0.5.6 beta
Revision: 5261M
Build date: 2013/07/20
Lazarus: 1.0.10.0-41613
FPC: 2.6.0
Platform: x86_64-Linux-gtk2
OS version: Ubuntu 12.04.2 LTS

Widgetset library: GTK 2.24.10


However, the problem started with previous update, i.e.
doublecmd-gtk (0.5.4-4505M~precise) to 0.5.5-5242~precise

mjacek

2013-08-01 17:02

reporter   ~0001093

Update: it USUALLY works for the first attempt, then it is a bit random - sometimes I succeed (approx. once per twenty attempts), SOMETIMES the tick/save/untick/save trick helps for one attempt.

It seems that DC does not get the info that the window switch process has started by dragging outside DC window (or to the corner - I am a fan of the corner switching setup).

zzarko

2013-08-02 01:11

reporter   ~0001094

I have the same issue with on Ubuntu 12.04 64-bit, DC 0.5.6 GTK version (installed from PPA).

Alexx2000

2013-08-03 13:27

administrator   ~0001095

Something was broken in Lazarus 1.0 and Drag&Drop to external applications doesn't work anymore.
As workaround you can Drag&Drop to external applications with Alt key pressed then it will work or use Qt4 version of DC.

cobines

2013-08-19 13:39

administrator   ~0001112

It got broken in 0.9.30.4 even.
http://bugs.freepascal.org/view.php?id=24886
But only automatic detection of moving mouse cursor outside of window doesn't seem to work. Like Alexander said, press Alt to force switching to external drag&drop.

pwes

2013-10-30 14:05

reporter   ~0001163

My experience is the same as the OP, but only when I drag the file over the other panel of GC (e.g. from the left panel, over the right panel to the other app's window). However, when I drag the file without the pointer passing over the other panel, the DnD works correctly.

Double Commander
Version: 0.5.7 beta
Revision: 5310
Build date: 2013/09/22
Lazarus: 1.0.12.0-42478
FPC: 2.6.0
Platform: i386-Linux-gtk2
OS version: Ubuntu 12.04.3 LTS

Widgetset library: GTK 2.24.10

Alexquest

2013-11-17 17:23

reporter   ~0001170

Don't work drag and drop from MS Outlook to Double Commander. For example it works correct from Mozilla Thunderbird to DC but doesn't work correct from Outlook to DC. If I try to drag some file attached to letter the DC shows that file can be move in folder opened in DC. But then I drop it in DC it is nothing happen.

quadra

2014-08-07 23:42

reporter   ~0001304

Hi! Besides the ALT key, another workaround seems to be to press the second mouse button before leaving the DC window. (Left click -> Drag -> Press right mouse button -> Leave DC window)

Double Commander 0.5.9 beta
Platform: Xubuntu 12.04 LTS, Xfce session
libgtk2.0-0 2.24.10

With my external mouse, drag & drop works better than with the touchpad.

zeroconf

2016-10-02 12:55

reporter   ~0001939

0001192 repeats this bug.

Alexx2000

2016-10-02 12:57

administrator   ~0001942

No it is about Windows.

hxss

2018-01-02 13:36

reporter   ~0002486

Last edited: 2018-01-02 13:36

For me only this actions order work:
1. Drag file
2. Alt+Tab to needed app
3. Drop file

Double Commander
Version: 0.8.1 beta
Revision: 7950
Build date: 2017/12/23
Lazarus: 1.8.0.6
FPC: 3.0.4
Platform: x86_64-Linux-gtk2
OS version: Arch Linux \r (\l)

Widgetset library: GTK 2.24.31

kandrey89

2018-05-08 06:58

reporter   ~0002594

The issue is intermittent, it works 50% of the time, just need to try drag and dropping over and over until it works.
Half the time when I release it still thinks it's in DoubleCMD window, if ALT+Tab and the window is behind the DoubleCMD pane, then DoubleCMD thinks I am dropping the file in that pane, and not in the active window to which I went.
Speed I think is a factor, drag and dropping too fast causes the issue, if you drag, hold for icon to appear, then drop, it works.

serg_stetsuk

2018-05-10 11:22

reporter   ~0002599

Temporary workaround:

1. Drag a file
2. Press and release Alt

You can drag a file into other app now.

kandrey89

2018-06-28 04:16

reporter   ~0002644

I confirm that the work around of pressing ALT after starting to drag the file actually ALLOWS you to drag the file outside of the DC. If you don't press ALT after starting to drag, when you release, even if you are now looking at a different app, the release action will send to DC instead of the app you are looking at.

Issue History

Date Modified Username Field Change
2012-10-12 15:54 takiz New Issue
2013-05-10 21:05 Alexx2000 Relationship added has duplicate 0000611
2013-05-10 21:07 Alexx2000 Status new => confirmed
2013-07-17 15:35 Alexx2000 Relationship added has duplicate 0000697
2013-07-30 17:08 mjacek Note Added: 0001092
2013-07-30 17:48 mjacek Note Edited: 0001092
2013-08-01 17:02 mjacek Note Added: 0001093
2013-08-02 01:11 zzarko Note Added: 0001094
2013-08-03 13:27 Alexx2000 Note Added: 0001095
2013-08-19 13:39 cobines Note Added: 0001112
2013-10-23 14:18 Alexx2000 Relationship added has duplicate 0000744
2013-10-30 14:05 pwes Note Added: 0001163
2013-11-17 17:23 Alexquest Note Added: 0001170
2014-08-07 23:42 quadra Note Added: 0001304
2016-10-02 12:55 zeroconf Note Added: 0001939
2016-10-02 12:57 Alexx2000 Note Added: 0001942
2017-09-18 22:06 Alexx2000 Relationship added has duplicate 0001915
2018-01-02 13:36 hxss Note Added: 0002486
2018-01-02 13:36 hxss Note Edited: 0002486
2018-05-06 10:05 Alexx2000 Fixed in Revision => 8077-8079
2018-05-06 10:05 Alexx2000 Assigned To => Alexx2000
2018-05-06 10:05 Alexx2000 Status confirmed => resolved
2018-05-06 10:05 Alexx2000 Resolution open => fixed
2018-05-06 10:05 Alexx2000 Target Version => 0.8.3
2018-05-07 08:07 Alexx2000 Relationship added has duplicate 0001799
2018-05-08 06:58 kandrey89 Note Added: 0002594
2018-05-10 11:22 serg_stetsuk Note Added: 0002599
2018-05-12 11:33 Alexx2000 Fixed in Revision 8077-8079 => 8077-8079,8089,8105
2018-05-12 11:33 Alexx2000 Fixed in Version => 0.8.3
2018-06-28 04:16 kandrey89 Note Added: 0002644
2020-11-30 14:49 Alexx2000 Status resolved => closed