Bug 385658 - DefaultDetailsArea should not insert each line separately into StyledText
Summary: DefaultDetailsArea should not insert each line separately into StyledText
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.8   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: performance
Depends on:
Blocks:
 
Reported: 2012-07-21 03:55 EDT by Dani Megert CLA
Modified: 2019-11-27 07:32 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2012-07-21 03:55:10 EDT
3.8 and 4.2.

DefaultDetailsArea should not insert each line separately into StyledText.

For details see bug 384742.

Test Case:
Create a DefaultDetailsArea and set a multi-status with 100'000 status elements.
Comment 1 Dani Megert CLA 2012-07-23 05:19:07 EDT
Test Case:

Add this code somewhere and execute it (as Eclipse Application):

	MultiStatus multi= new MultiStatus("BugPlugin", 0, "Bug", null);
	int i= 0;
	while (i < 10000) {
		IStatus status= new Status(
			IStatus.ERROR,
			"test",
			IStatus.ERROR,
			"test message " + i++, new NullPointerException());
		multi.add(status);
	}
	StatusAdapter statusAdapter= new StatusAdapter(multi);
	WorkbenchErrorHandler w= new WorkbenchErrorHandler();
	w.handle(statusAdapter, StatusManager.SHOW);
Comment 2 Lars Vogel CLA 2019-11-27 07:32:12 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.

If the bug is still relevant, please remove the stalebug whiteboard tag.