Closed danrubel closed 9 years ago
Karl,
Could not reproduce this issue. Has this occurred again? Any steps you can give to reproduce?
Thanks,
Set owner to @karlklose.
Unable to repro; appears to be fixed? Feel free to re-open and assign to me if it recurs. Thanks!
Added Fixed label.
Not fixed, but I finally found a way to reproduce: Open the editor. In a different window (unrelated to the editor) select a word. The editor should have lost its focus. Now middle-mouse button paste the selected word into the search-field (without giving focus to the editor first). The middle-click should give the focus to the editor. Now press enter (to search). The editor's focus should be stuck in the search-field now.
Set owner to @pq. Added New label.
Issue #2588 has been merged into this issue.
[user feedback] Focus is stuck in the search window after searching and navigating.
From: karlklose@google.com //////////////////////////////////////////////////////////////////////////////////// Editor Version: 4208 //////////////////////////////////////////////////////////////////////////////////// OS: Linux - amd64 (2.6.38.8-gg705) experimental/projectsview = false experimental/filesview = false SDK installed = false ////////////////////////////////////////////////////////////////////////////////////
!ENTRY com.google.dart.tools.core 4 0 2012-02-14 11:35:42.805 !MESSAGE Cannot get resource associated with non-absolute URI: dart/frog/leg/util/util_implementation.dart !STACK 0 java.lang.Exception at com.google.dart.tools.core.internal.util.ResourceUtil.getResources(ResourceUtil.java:131) at com.google.dart.tools.core.internal.model.DartProjectImpl.findFileForUri(DartProjectImpl.java:869) at com.google.dart.tools.core.internal.model.DartProjectImpl.getHandleFromMemento(DartProjectImpl.java:748) at com.google.dart.tools.core.internal.model.DartElementImpl.getHandleFromMemento(DartElementImpl.java:318) at com.google.dart.tools.core.internal.model.DartModelImpl.getHandleFromMemento(DartModelImpl.java:293) at com.google.dart.tools.core.internal.model.DartElementImpl.getHandleFromMemento(DartElementImpl.java:318) at com.google.dart.tools.core.DartCore.create(DartCore.java:281) at com.google.dart.tools.core.DartCore.create(DartCore.java:257) at com.google.dart.tools.core.internal.indexer.location.DartElementLocationType.byUniqueIdentifier(DartElementLocationType.java:75) at com.google.dart.indexer.locations.LocationPersitence.byUniqueIdentifier(LocationPersitence.java:76) at com.google.dart.indexer.storage.paged.LocationTreeStore.fromPath(LocationTreeStore.java:444) at com.google.dart.indexer.storage.paged.LocationTreeStore.locationFromId(LocationTreeStore.java:198) at com.google.dart.indexer.storage.paged.LocationTreeStore.decodeLocation(LocationTreeStore.java:409) at com.google.dart.indexer.storage.paged.LocationTreeStore.decode(LocationTreeStore.java:371) at com.google.dart.indexer.storage.paged.LocationTreeStore.read(LocationTreeStore.java:236) at com.google.dart.indexer.storage.paged.DiskMappedStorage.readLocationInfo(DiskMappedStorage.java:256) at com.google.dart.indexer.index.readonly.DiskBackedIndexImpl.getLocationInfo(DiskBackedIndexImpl.java:78) at com.google.dart.indexer.index.layers.reverse_edges.ReverseEdgesQuery.executeUsing(ReverseEdgesQuery.java:42) at com.google.dart.indexer.workspace.index.WorkspaceIndexer.execute(WorkspaceIndexer.java:158) at com.google.dart.indexer.workspace.driver.WorkspaceIndexingDriver.execute(WorkspaceIndexingDriver.java:182) at com.google.dart.tools.core.indexer.DartIndexer.getAllTypes(DartIndexer.java:162) at com.google.dart.tools.core.internal.search.SearchEngineImpl$7.performIndexSearch(SearchEngineImpl.java:302) at com.google.dart.tools.core.internal.search.SearchEngineImpl.performSearch(SearchEngineImpl.java:472) at com.google.dart.tools.core.internal.search.SearchEngineImpl.searchTypeDeclarations(SearchEngineImpl.java:305) at com.google.dart.tools.ui.omni.elements.TypeProvider.getElements(TypeProvider.java:109) at com.google.dart.tools.ui.omni.OmniProposalProvider.getElementsSorted(OmniProposalProvider.java:52) at com.google.dart.tools.ui.omni.OmniBoxPopup.computeMatchingEntries(OmniBoxPopup.java:673) at com.google.dart.tools.ui.omni.OmniBoxPopup.refreshInternal(OmniBoxPopup.java:801) at com.google.dart.tools.ui.omni.OmniBoxPopup.access$1(OmniBoxPopup.java:792) at com.google.dart.tools.ui.omni.OmniBoxPopup$OmniRefreshJob.run(OmniBoxPopup.java:97) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!ENTRY com.google.dart.tools.core 1 0 2012-02-14 11:36:03.437 !MESSAGE INFO: Could not read and parse the file emitter.dart !STACK 0 java.io.FileNotFoundException: /usr/local/google/karl/dart-workspace/emitter.dart (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:137) at java.io.FileReader.<init>(FileReader.java:72) at com.google.dart.compiler.UrlSource.getSourceReader(UrlSource.java:103) at com.google.dart.tools.core.internal.model.DartLibraryImpl.parseLibraryFile(DartLibraryImpl.java:983) at com.google.dart.tools.core.internal.model.DartLibraryImpl.buildStructure(DartLibraryImpl.java:615) at com.google.dart.tools.core.internal.model.OpenableElementImpl.generateInfos(OpenableElementImpl.java:477) at com.google.dart.tools.core.internal.model.DartElementImpl.openWhenClosed(DartElementImpl.java:520) at com.google.dart.tools.core.internal.model.DartElementImpl.getElementInfo(DartElementImpl.java:298) at com.google.dart.tools.core.internal.model.DartElementImpl.getElementInfo(DartElementImpl.java:283) at com.google.dart.tools.core.internal.model.DartLibraryImpl.getDefiningCompilationUnit(DartLibraryImpl.java:328) at com.google.dart.tools.core.internal.model.DartModelManager.putInfos(DartModelManager.java:1150) at com.google.dart.tools.core.internal.model.DartElementImpl.openWhenClosed(DartElementImpl.java:536) at com.google.dart.tools.core.internal.operation.BecomeWorkingCopyOperation.executeOperation(BecomeWorkingCopyOperation.java:55) at com.google.dart.tools.core.internal.operation.DartModelOperation.run(DartModelOperation.java:374) at com.google.dart.tools.core.internal.operation.DartModelOperation.runOperation(DartModelOperation.java:441) at com.google.dart.tools.core.internal.model.CompilationUnitImpl.becomeWorkingCopy(CompilationUnitImpl.java:878) at com.google.dart.tools.core.workingcopy.WorkingCopyOwner.newWorkingCopy(WorkingCopyOwner.java:137) at com.google.dart.tools.ui.internal.text.editor.CompilationUnitDocumentProvider.createFakeCompiltationUnit(CompilationUnitDocumentProvider.java:1465) at com.google.dart.tools.ui.internal.text.editor.CompilationUnitDocumentProvider.createFakeCompiltationUnit(CompilationUnitDocumentProvider.java:1573) at com.google.dart.tools.ui.internal.text.editor.CompilationUnitDocumentProvider.connect(CompilationUnitDocumentProvider.java:899) at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4213) at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:237) at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1451) at com.google.dart.tools.ui.internal.text.editor.DartEditor.internalDoSetInput(DartEditor.java:3915) at com.google.dart.tools.ui.internal.text.editor.DartEditor.doSetInput(DartEditor.java:2739) at com.google.dart.tools.ui.internal.text.editor.CompilationUnitEditor.doSetInput(CompilationUnitEditor.java:1518) at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3200) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2642) at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3218) at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3245) at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:828) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2945) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850) at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2764) at com.google.dart.tools.search.internal.ui.text.EditorOpener.showWithReuse(EditorOpener.java:124) at com.google.dart.tools.search.internal.ui.text.EditorOpener.openAndSelect(EditorOpener.java:64) at com.google.dart.tools.search.ui.text.AbstractTextSearchViewPage.openAndSelect(AbstractTextSearchViewPage.java:974) at com.google.dart.tools.search.internal.ui.text.FileSearchPage.showMatch(FileSearchPage.java:336) at com.google.dart.tools.search.ui.text.AbstractTextSearchViewPage$7.run(AbstractTextSearchViewPage.java:1366) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at com.google.dart.tools.search.ui.text.AbstractTextSearchViewPage.showMatch(AbstractTextSearchViewPage.java:1369) at com.google.dart.tools.search.ui.text.AbstractTextSearchViewPage.showCurrentMatch(AbstractTextSearchViewPage.java:1345) at com.google.dart.tools.search.ui.text.AbstractTextSearchViewPage.gotoNextMatch(AbstractTextSearchViewPage.java:1247) at com.google.dart.tools.search.ui.text.AbstractTextSearchViewPage.handleOpen(AbstractTextSearchViewPage.java:909) at com.google.dart.tools.search.internal.ui.text.FileSearchPage.handleOpen(FileSearchPage.java:327) at com.google.dart.tools.search.ui.text.AbstractTextSearchViewPage$5.open(AbstractTextSearchViewPage.java:1193) at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48) at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152) at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275) at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.google.dart.tools.deploy.DartIDEApplication.start(DartIDEApplication.java:44) 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:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:616) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386)