Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366780

Summary: Default button in Message Dialog Issue
Product: [Eclipse Project] Platform Reporter: Sathya <ragesathya>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: prakash, pwebster, remy.suen, susan
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
The behavior noticed on Linux with eclipse 3.4 and 3.5 none

Description Sathya CLA 2011-12-15 01:16:23 EST
The default button(say OK / CANCEL) in Message dialogs are always shown on the rightmost part of the dialog.

This behavior is noticed in eclipse 3.5 on linux.
Also, the same issue is noticed in Solaris platform as well.

However in eclipse 3.4 the issue did not exist.

Further, on windows the buttons positions remain unchanged but only the focus on default buttons change.
The windows behavior is the expected behavior.

Is this OS specific behavior or eclipse behavior?

Can this behavior be overridden? 
Can we interchange the button positions?
Comment 1 Sathya CLA 2011-12-15 01:17:26 EST
Created attachment 208420 [details]
The behavior noticed on Linux with eclipse 3.4 and 3.5
Comment 2 Paul Webster CLA 2011-12-16 09:23:05 EST
Susan, do you remember if this is something that was deliberately done in 3.5?

PW
Comment 3 Sathya CLA 2011-12-16 09:57:23 EST
Just to add, the same is observed in Eclipse 3.6 as well
Comment 4 Prakash Rangaraj CLA 2011-12-18 11:51:51 EST
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.user/whatsNew/platform_whatsnew.html

The order of the default buttons can be changed in GTK and SWT introduced this in 3.5
Comment 5 Susan McCourt CLA 2011-12-18 23:55:56 EST
thanks, Prakash.
(I would not have remembered that).
Comment 6 Paul Webster CLA 2011-12-19 10:38:44 EST
Do you have anything defined like that?

PW
Comment 7 Sathya CLA 2011-12-20 01:55:22 EST
Hello,

I still have a question as to why the default button moved to the right?

If you consider two opposite scenarios, will the user expect dialogs with different button positions or the same button positions with just the focus change on the buttons?

How does it improve on the usability front?

Thank You.
Comment 8 Paul Webster CLA 2011-12-20 07:40:44 EST
Sorry, the 3.5 behaviour is correct on GTK.  It is the platform behaviour to have "No"/"Yes" or "Cancel"/"OK"

Windows has OK/Cancel button order.

PW