Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 179823 - [Dialogs] MessageDialog.openError(...) api ignores the title string...
Summary: [Dialogs] MessageDialog.openError(...) api ignores the title string...
Status: RESOLVED DUPLICATE of bug 173678
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-28 15:16 EDT by Steven R. Shaw CLA
Modified: 2007-03-28 17:56 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 Steven R. Shaw CLA 2007-03-28 15:16:08 EDT
When invoking a MessageDialog.openError(...) and passing in a unique title and a message, the title is ignored and the message is used as the title.

This is in 3.3 M5

Setting as major because it looks bad if the message is long...
Comment 1 Steven R. Shaw CLA 2007-03-28 15:24:24 EDT
Downgrading to "minor"... it can be worked around by invoked the constructor on MessageDialog and passing MessageDialog.ERROR

i.e.
MessageDialog dialog = new MessageDialog(null, myTitle,
                                null, // accept the default window icon
                                myMessage, MessageDialog.ERROR,
                                new String[] { IDialogConstants.OK_LABEL }, 0);
                            dialog.open();
Comment 2 Susan McCourt CLA 2007-03-28 17:56:52 EDT
this bug was fixed in M6.

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