Drag and drop not working

Answered

Hi there.

I'm playing around with IDEA build 6117, and it looks like the drag and drop isn't dragging or dropping. Is there a setting for this somewhere (I don't remember one)?

Is anyone else seeing this?

16 comments
Comment actions Permalink

Hello Rayz,

R> I'm playing around with IDEA build 6117, and it looks like the drag
R> and drop isn't dragging or dropping. Is there a setting for this
R> somewhere (I don't remember one)?

What are you trying to drag and where do you want to drop it?

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Wow! That was quick!

I am trying to drop a piece of text around a JSP file, but it doesn't appear to be working on any of my files.

I've checked the drag and drop settings in the editor configuration, and it is definitely enabled.

0
Comment actions Permalink

Hello Rayz,

R> Wow! That was quick!
R>
R> I am trying to drop a piece of text around a JSP file, but it doesn't
R> appear to be working on any of my files.
R>
R> I've checked the drag and drop settings in the editor configuration,
R> and it is definitely enabled.

Are your files checked out? Drag & Drop is disabled in read-only files.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Nope. Files are all writeable.

Just seems to be refusing to drag and drop. Odd. I have definitely had this working in previous versions.

I'm going to close restart IDEA and see if that helps.



Nope. Still seems to be broken.

This is very odd; the setting in the editor.xml files seems to be OK too ... not quite sure what is going on here.

0
Comment actions Permalink

I've the same problem

 drag-and-drop editor not working

0
Comment actions Permalink

Hello Dinael,

 

Have you tried to drag it with Alt pressed?

0
Comment actions Permalink

HI Yaroslav,

I was try pressed to with Alt, ctrl, ctrl+alt, etc 

0
Comment actions Permalink

Dinael,

Please provide full idea.log ("Help | Show Log in...") after restarting IDEA and reproducing the issue

0
Comment actions Permalink

Copy & paste here? or send it to you by email? what email?

0
Comment actions Permalink

You could share it via Dropbox/Google or send to yaroslav.bedrov"at"jetbrains.com

0
Comment actions Permalink

Could you please try to temporary disable custom plugins:

Loaded custom plugins: .ignore (2.2.1), AWS Elastic Beanstalk Integration for Web Languages (0.8.7), AllProjects (1.7), Angular 2 TypeScript Live Templates (2.0.0), Auto Sync (1.2), Auto-Align (1.4), Css Alphabetical Rearranger (0.6), Erlang (0.9.958), Markdown support (2017.2.20170419), Markup to SCSS (0.2.1), Paste Images into Markdown (1.1.2), PostCSS support (172.3968.20), React CSS Modules (1.0.1), Shifter (1.7.7)

0
Comment actions Permalink

Yeah now it's working.

I will try to activate the plugins to find the problem

0
Comment actions Permalink

all Markdown plugins, Erlang and shifter,

This is the problem 

 

0
Comment actions Permalink

Couldn't reproduce the issue with Erlang plugin. Seems only Markdown and shifter cause the issue

0
Comment actions Permalink

I am trying to drag and drop files in the project view, but can't 

 

Following is my log file: 

 

auncher.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/lib/tools.jar
2020-04-01 20:30:11,144 [6395140] INFO - ntellij.ide.dnd.DnDManagerImpl - Drag and drop in progress
java.awt.dnd.InvalidDnDOperationException: Drag and drop in progress
at java.desktop/sun.awt.dnd.SunDragSourceContextPeer.setDragDropInProgress(SunDragSourceContextPeer.java:357)
at java.desktop/java.awt.dnd.DragSource.startDrag(DragSource.java:303)
at java.desktop/java.awt.dnd.DragSource.startDrag(DragSource.java:392)
at java.desktop/java.awt.dnd.DragGestureEvent.startDrag(DragGestureEvent.java:292)
at com.intellij.ide.dnd.DnDManagerImpl$MyDragGestureListener.dragGestureRecognized(DnDManagerImpl.java:570)
at java.desktop/java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(DragGestureRecognizer.java:361)
at java.desktop/sun.lwawt.macosx.CMouseDragGestureRecognizer.mouseDragged(CMouseDragGestureRecognizer.java:139)
at java.desktop/java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:328)
at java.desktop/java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:327)
at java.desktop/java.awt.Component.processMouseMotionEvent(Component.java:6699)
at java.desktop/javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3360)
at com.intellij.ide.dnd.aware.DnDAwareTree.processMouseMotionEvent(DnDAwareTree.java:49)
at java.desktop/java.awt.Component.processEvent(Component.java:6420)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5026)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4858)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4564)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4858)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:908)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:846)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:778)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:424)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:698)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:423)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2020-04-01 20:30:33,089 [6417085] INFO - rationStore.ComponentStoreImpl - Saving appFileTypeManager took 14 ms
2020-04-01 20:30:37,901 [6421897] INFO - ntellij.analysis.SonarLintTask - Running SonarLint Analysis for 'ItineraryRepository.kt'
2020-04-01 20:30:37,947 [6421943] INFO - ntellij.analysis.SonarLintTask - SonarLint analysis done

0
Comment actions Permalink

When does it happen? Could you describe steps to reproduce? See

https://youtrack.jetbrains.com/issue/IDEA-231215 when dragging a package

https://youtrack.jetbrains.com/issue/IDEA-89077 when working with change lists

for examples

0

Please sign in to leave a comment.