spyder: "Drag and drop" files from explorer does not work

Problem Description

Dragging any *.py from an Explorer window to the Editor panel, the cursor transforms into a “forbidden” symbol and the file does not open.

What steps reproduce the problem?

  1. Create an empty aaa.py file
  2. Try drag and drop it onto Spyder

Versions

  • Spyder version: 4.0.1
  • Python version: 3.7
  • Qt version: 5.9.6
  • PyQt version: 5.9.2
  • Operating System name/version: Windows10

Dependencies

atomicwrites >=1.2.0         :  1.3.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
cloudpickle >=0.5.0          :  1.2.2 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
IPython >=4.0                :  7.8.0 (OK)
jedi =0.14.1                 :  0.14.1 (OK)
nbconvert >=4.0              :  5.6.0 (OK)
numpydoc >=0.6.0             :  0.9.1 (OK)
pexpect >=4.4.0              :  4.8.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
psutil >=0.3                 :  5.6.3 (OK)
pygments >=2.0               :  2.4.2 (OK)
pylint >=0.25                :  2.4.2 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.2 (OK)
zmq >=17                     :  18.1.0 (OK)
qdarkstyle >=2.7             :  2.8 (OK)
qtawesome >=0.5.7            :  0.6.0 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
rtree >=0.8.3                :  0.9.3 (OK)
sphinx >=0.6.6               :  2.2.0 (OK)
spyder_kernels >=1.8.1;<2.0.0:  1.8.1 (OK)
watchdog                     :  None (OK)
cython >=0.21                :  0.29.13 (OK)
matplotlib >=2.0.0           :  3.1.1 (OK)
numpy >=1.7                  :  1.16.5 (OK)
pandas >=0.13.1              :  0.25.1 (OK)
scipy >=0.17.0               :  1.3.1 (OK)
sympy >=0.7.3                :  1.4 (OK)

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 27 (14 by maintainers)

Most upvoted comments

Sorry for not updating you on this issue for such a long time. I discovered the issue is common not just to my PC, but also to all my colleagues’ PCs.

I am working on it with the IT, but at the moment IT has more urgent things to do in order to support the massive increase in network activity due to all the people working from home.

I will post here as soon as I have an update.

@dalthviz, please add the messages we need to debug this as a first step. Then, after releasing 4.1.0, @pj1989 could send us those logs so we can fix this problem.

@dalthviz, please take a look at this one.