Community
Participate
Working Groups
WTP 3.2 RC2 build (retrieved as wst-sdk-buildrepo-S-3.2.0RC2-20100520232028 for x64 / Cocoa), tested on Mac OS X, build 10D573 On a Mac, the Add Namespace Dialog misbehaves if one of the radiobuttons is not selected. Steps to reproduce: 1 - Start recent Eclipse w/WST in Snow Leopard (I don' know how far this bug goes back, but it is present in Galileo, too) 2 - Open an XML document using namespaces. 3 - Show the Outline view, right click on the root node. 4 - Choose "Edit namespaces..." 5 - Click "Add..." and you see the "Add Namespace Declarations" dialog with none of the radio buttons selected. 6 - Now select a namespace in the "Select namespaces to add" list, and click "OK" Now you added a <null> namespace with a <null> prefix. This is not a problem on Windows, apparently Windows will make sure one of the radio buttons are selected. Calling setSelected(true) in the dialog will fix this on Mac.
Created attachment 180482 [details] Patch to select radio button by default Added the default selection of radio for "Select From Registered Users" in "Add Namespace Declarations" Dialog
Patch looks good. Nice to get things consistent on OS X. Thanks.