Bug 19072 - F2 build, A3.2 test Clicking on "Class" scrolls
Summary: F2 build, A3.2 test Clicking on "Class" scrolls
Status: RESOLVED DUPLICATE of bug 17873
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: Sun Solaris
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-04 10:41 EDT by Konrad Kolosowski CLA
Modified: 2002-06-05 10:09 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konrad Kolosowski CLA 2002-06-04 10:41:03 EDT
F2 build, A3.2 test Clicking on "Class" scrolls editor up.  Only the next click 
on "Class" opens editor, but error appear in the console:
Unhandled exception caught in event loop.
Reason:
Widget is disposed


The log:
!SESSION Jun 04, 2002 18:38:30.317 ---------------------------------------------
java.version=1.3.1_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=solaris, ARCH=sparc, WS=motif, NL=en_US
Command-line arguments: -os solaris -ws motif -arch sparc -install 
file:/export/home/
eclipse/eclipse/
!ENTRY org.eclipse.core.resources 1 1 Jun 04, 2002 18:38:30.319
!MESSAGE Could not load library: libcore_2_0_5.so.  This library provides 
platform-sp
ecific optimizations for certain file-system operations.  This library is not 
present
 on all platforms, so this may not be an error.  The resources plugin will 
safely fal
l back to using java.io.File functionality.
!ENTRY org.eclipse.ui 4 4 Jun 04, 2002 18:39:57.240
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Jun 04, 2002 18:39:57.251
!MESSAGE Widget is disposed
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
        at org.eclipse.swt.SWT.error(SWT.java:1887)
        at org.eclipse.swt.SWT.error(SWT.java:1819)
        at org.eclipse.swt.widgets.Widget.error(Widget.java:283)
        at org.eclipse.swt.widgets.MenuItem.getDisplay(MenuItem.java:278)
        at org.eclipse.swt.widgets.Widget.isValidThread(Widget.java:442)
        at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:221)
        at org.eclipse.swt.widgets.MenuItem.setText(MenuItem.java:700)
        at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:176)
        at org.eclipse.jface.action.SubContributionItem.fill
(SubContributionItem.java
:45)
        at org.eclipse.jface.action.MenuManager.update(MenuManager.java:528)
        at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:575)
        at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars
(WorkbenchWindow.j
ava:1357)
        at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets
(WorkbenchWindow.j
ava:1375)
        at org.eclipse.ui.internal.WorkbenchPage$ActionSwitcher.updateActionSets
(Work
benchPage.java:272)
        at org.eclipse.ui.internal.WorkbenchPage$ActionSwitcher.updateTopEditor
(Workb
enchPage.java:178)
        at org.eclipse.ui.internal.WorkbenchPage.bringToTop
(WorkbenchPage.java:448)
        at org.eclipse.ui.internal.WorkbenchPage.activate
(WorkbenchPage.java:329)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:1686)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:1582)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor
(EditorUt
ility.java:126)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor
(EditorUt
ility.java:104)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor
(EditorUt
ility.java:89)
        at org.eclipse.jdt.ui.JavaUI.openInEditor(JavaUI.java:453)
        at 
org.eclipse.pde.internal.ui.editor.manifest.PluginSpecSection.handleOpen(P
luginSpecSection.java:297)
        at 
org.eclipse.pde.internal.ui.editor.manifest.PluginSpecSection.access$1(Plu
ginSpecSection.java:282)
        at 
org.eclipse.pde.internal.ui.editor.manifest.PluginSpecSection$8.linkActiva
ted(PluginSpecSection.java:239)
        at org.eclipse.update.ui.forms.internal.HyperlinkHandler.linkActivated
(Hyperl
inkHandler.java:98)
        at org.eclipse.update.ui.forms.internal.HyperlinkHandler.mouseUp
(HyperlinkHan
dler.java:76)
        at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:128)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:789)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1678)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1501)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1177)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160)
        at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.j
ava:739)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:244)
        at org.eclipse.core.launcher.Main.run(Main.java:693)
        at org.eclipse.core.launcher.Main.main(Main.java:526)
!ENTRY org.eclipse.ui 4 4 Jun 04, 2002 18:40:11.313
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Jun 04, 2002 18:40:11.320
!MESSAGE Widget is disposed
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
        at org.eclipse.swt.SWT.error(SWT.java:1887)
        at org.eclipse.swt.SWT.error(SWT.java:1819)
        at org.eclipse.swt.widgets.Widget.error(Widget.java:283)
        at org.eclipse.swt.widgets.MenuItem.getDisplay(MenuItem.java:278)
        at org.eclipse.swt.widgets.Widget.isValidThread(Widget.java:442)
        at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:221)
        at org.eclipse.swt.widgets.MenuItem.setText(MenuItem.java:700)
        at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:176)
        at org.eclipse.jface.action.SubContributionItem.fill
(SubContributionItem.java
:45)
        at org.eclipse.jface.action.MenuManager.update(MenuManager.java:528)
        at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:575)
        at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars
(WorkbenchWindow.j
ava:1357)
        at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets
(WorkbenchWindow.j
ava:1375)
        at org.eclipse.ui.internal.WorkbenchPage$ActionSwitcher.updateActionSets
(Work
benchPage.java:272)
        at org.eclipse.ui.internal.WorkbenchPage$ActionSwitcher.updateTopEditor
(Workb
enchPage.java:178)
        at org.eclipse.ui.internal.WorkbenchPage.bringToTop
(WorkbenchPage.java:448)
        at org.eclipse.ui.internal.WorkbenchPage.activate
(WorkbenchPage.java:329)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:1651)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:1582)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor
(EditorUt
ility.java:126)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor
(EditorUt
ility.java:104)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor
(EditorUt
ility.java:89)
        at org.eclipse.jdt.ui.JavaUI.openInEditor(JavaUI.java:453)
        at 
org.eclipse.pde.internal.ui.editor.manifest.PluginSpecSection.handleOpen(P
luginSpecSection.java:297)
        at 
org.eclipse.pde.internal.ui.editor.manifest.PluginSpecSection.access$1(Plu
ginSpecSection.java:282)
        at 
org.eclipse.pde.internal.ui.editor.manifest.PluginSpecSection$8.linkActiva
        at org.eclipse.ui.internal.WorkbenchPage$ActionSwitcher.updateActionSets
(Work
benchPage.java:272)
        at org.eclipse.ui.internal.WorkbenchPage$ActionSwitcher.updateTopEditor
(Workb
enchPage.java:178)
        at org.eclipse.ui.internal.WorkbenchPage.bringToTop
(WorkbenchPage.java:448)
        at org.eclipse.ui.internal.WorkbenchPage.activate
(WorkbenchPage.java:329)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:1651)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:1582)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor
(EditorUt
ility.java:126)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor
(EditorUt
ility.java:104)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor
(EditorUt
ility.java:89)
        at org.eclipse.jdt.ui.JavaUI.openInEditor(JavaUI.java:453)
        at 
org.eclipse.pde.internal.ui.editor.manifest.PluginSpecSection.handleOpen(P
luginSpecSection.java:297)
        at 
org.eclipse.pde.internal.ui.editor.manifest.PluginSpecSection.access$1(Plu
ginSpecSection.java:282)
        at 
org.eclipse.pde.internal.ui.editor.manifest.PluginSpecSection$8.linkActiva
ted(PluginSpecSection.java:239)
        at org.eclipse.update.ui.forms.internal.HyperlinkHandler.linkActivated
(Hyperl
inkHandler.java:98)
        at org.eclipse.update.ui.forms.internal.HyperlinkHandler.mouseUp
(HyperlinkHan
dler.java:76)
        at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:128)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:789)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1678)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1501)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1177)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160)
        at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.j
ava:739)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:244)
        at org.eclipse.core.launcher.Main.run(Main.java:693)
        at org.eclipse.core.launcher.Main.main(Main.java:526)
Comment 1 Konrad Kolosowski CLA 2002-06-04 10:48:09 EDT
Clicking on "More" in the Runtime libary section also scrolls.  My more button 
was fully visible, only the title of the section was partially hidden.  It 
scrolled (escaped from under my mouse) quite a big distance, such that Runtime 
section appeared in the middle of the editor (verticaly).  I do not think, the 
scrolling is needed at all for the buttons, as clicking these buttons is taking 
me to another editor or page.
Comment 2 Dejan Glozic CLA 2002-06-04 11:33:11 EDT
Scrolling is needed when focus moves to the control that is currently not 
showing in the scrolled composite. The support should scroll the client to 
reveal the control in focus. That means that controls that are already visible 
should be left alone, which is clearly not the case. We know about the problem 
in the 'reveal' method and are trying to fix.
Comment 3 Dejan Glozic CLA 2002-06-05 10:09:14 EDT

*** This bug has been marked as a duplicate of 17873 ***