Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-2921

Dropping a file to Editor pane from Nautilus file browser doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.Beta1
    • 7.1.0.GA
    • central
    • None
    • Hide

      1. Open Nautilus file browser
      2. Select a text file (i.e. README or pom.xml)
      3. Drop it to the edit pane of JBDS

      I expected to open the file with a editor, but nothing happen.

      Show
      1. Open Nautilus file browser 2. Select a text file (i.e. README or pom.xml) 3. Drop it to the edit pane of JBDS I expected to open the file with a editor, but nothing happen.
    • Release Notes
    • Hide
      On Linux-based operating systems using GNOME desktop, dragging a file from Nautilus File Manager into an Editor view did not open the file. Drop events of type String were not recognized and consequently the drag-and-drop action for files did not work. This issue has been resolved by ensuring the IDE recognizes drop events of type String and dragging a file from Nautilus File Manager into an Editor view now successfully opens the file.
      Show
      On Linux-based operating systems using GNOME desktop, dragging a file from Nautilus File Manager into an Editor view did not open the file. Drop events of type String were not recognized and consequently the drag-and-drop action for files did not work. This issue has been resolved by ensuring the IDE recognizes drop events of type String and dragging a file from Nautilus File Manager into an Editor view now successfully opens the file.
    • Documented as Resolved Issue
    • NEW

    Description

      Dropping a file to Editor pane from Nautilus file browser doesn't work. It works on JBDS 7.0, Eclipse 4.3.0 and Eclipse 4.3.1.

      I got this exception:

      $WORKSPACE/.metadata/.log
      !ENTRY org.eclipse.ui 4 0 2014-02-19 10:56:37.879
      !MESSAGE Unhandled event loop exception
      !STACK 0
      org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.core.runtime.AssertionFailedException: assertion failed: )
      	at org.eclipse.swt.SWT.error(SWT.java:4397)
      	at org.eclipse.swt.SWT.error(SWT.java:4312)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3717)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3366)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:622)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
      Caused by: org.eclipse.core.runtime.AssertionFailedException: assertion failed: 
      	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
      	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
      	at org.eclipse.ui.internal.ide.EditorAreaDropAdapter.asyncDrop(EditorAreaDropAdapter.java:131)
      	at org.eclipse.ui.internal.ide.EditorAreaDropAdapter.access$0(EditorAreaDropAdapter.java:87)
      	at org.eclipse.ui.internal.ide.EditorAreaDropAdapter$1.run(EditorAreaDropAdapter.java:81)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      	... 24 more
      

      Attachments

        Activity

          People

            snjeza_jira Snjezana Peco (Inactive)
            rhn-support-tkonishi Takayuki Konishi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: