Bug 136591 - [Dialogs] TypeFilteringDialog appends unnecessary comma
Summary: [Dialogs] TypeFilteringDialog appends unnecessary comma
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M6   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-04-13 06:02 EDT by Markus Schorn CLA
Modified: 2007-03-20 11:07 EDT (History)
0 users

See Also:


Attachments
fixes the bug (1.15 KB, patch)
2006-04-13 06:03 EDT, Markus Schorn CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Schorn CLA 2006-04-13 06:02:23 EDT
Whenever the last extension that is shown in the 'Other Extensions' field is not the last extension in the list passed to the dialog an extra comma is appended at the end.
Comment 1 Markus Schorn CLA 2006-04-13 06:03:10 EDT
Created attachment 38500 [details]
fixes the bug
Comment 2 Eric Moffatt CLA 2006-04-13 11:37:03 EDT
Kim, again I'm unsure as to the component area, I'm just going by the history.
Comment 3 Susan McCourt CLA 2006-04-13 15:39:55 EDT
investigate for 3.2 bug fixing
Comment 4 Susan McCourt CLA 2006-05-02 13:39:59 EDT
reassigning to 3.3, only major bugs at this point.
Comment 5 Susan McCourt CLA 2007-03-15 17:22:14 EDT
Fixed >20070315.
Thanks for the patch, Markus.
Comment 6 Susan McCourt CLA 2007-03-20 11:07:45 EDT
verified I20070320-0010, WinXP.

	public void run(IAction action) {
		Shell shell = new Shell();
		List list = new ArrayList();
		list.add("*.obj");
		list.add("*.blort");
		list.add("*.txt");;
		new TypeFilteringDialog(shell, list).open();
	}