Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343303 - 'JUnit' behaves in strange ways despite a perspective switch
Summary: 'JUnit' behaves in strange ways despite a perspective switch
Status: RESOLVED WORKSFORME
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 14:55 EDT by Remy Suen CLA
Modified: 2019-06-05 07:28 EDT (History)
1 user (show)

See Also:


Attachments
Screenshot depicting the behaviour in question. (2.39 KB, image/png)
2011-04-19 14:55 EDT, Remy Suen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2011-04-19 14:55:39 EDT
Created attachment 193615 [details]
Screenshot depicting the behaviour in question.

1. Open the 'JUnit' view.
2. Drag it to the right-hand side and create a new stack on top of the 'Outline' view.
3. Minimize it.
4. Click on its icon a few times.
5. Switch to the 'Debug' perspective'.
6. It still shows up in the trim despite the switch.

You may see an exception if you try to close it while it's hovering.

Continuing to work as hazardous as you get into very strange states like the attached screenshot.

Caused by: org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:4277)
	at org.eclipse.swt.SWT.error(SWT.java:4192)
	at org.eclipse.swt.SWT.error(SWT.java:4163)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:340)
	at org.eclipse.swt.widgets.Widget.getData(Widget.java:554)
	at org.eclipse.e4.ui.workbench.renderers.swt.TrimBarLayout.isSpacer(TrimBarLayout.java:230)
	at org.eclipse.e4.ui.workbench.renderers.swt.TrimBarLayout.tileLine(TrimBarLayout.java:202)
	at org.eclipse.e4.ui.workbench.renderers.swt.TrimBarLayout.layout(TrimBarLayout.java:182)
	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1263)
	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1249)
	at org.eclipse.swt.widgets.Composite.layout(Composite.java:664)
	at org.eclipse.swt.widgets.Composite.layout(Composite.java:622)
	at org.eclipse.swt.widgets.Composite.layout(Composite.java:585)
	at org.eclipse.e4.ui.workbench.renderers.swt.TrimBarRenderer$LayoutJob.run(TrimBarRenderer.java:52)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	... 23 more
Comment 1 Remy Suen CLA 2011-04-19 15:03:35 EDT
I can't seem to reproduce this in an inner at the moment but I do see some other problems related to DND and such.
Comment 2 Remy Suen CLA 2011-04-21 09:16:30 EDT
Bug 343523 and bug 343524 are some possible causes behind this problem. I haven't had much luck reproducing the original problem.
Comment 3 Eclipse Genie CLA 2019-01-01 18:07:37 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Lars Vogel CLA 2019-06-05 07:28:31 EDT
This is a mass change to close all e4 bugs marked with "stalebug" whiteboard.

If this bug is still valid, please reopen and remove the "stalebug" keyword.