“Restore Defaults” in XUL tree column pickers
I was looking into getting “Restore Defaults” working in Stylish’s tree column pickers. I figured they didn’t work because I was using custom tree views (where data is loaded by JavaScript rather than RDF). So I looked around for documentation on devmo and XUL Planet - nothing. I thought that was strange, so I searched Bugzilla. As it turns out, “Restore Defaults” is only meant to restore the order of the columns, not which columns to choose. The menu item used to be called “Restore Natural Order” which was deemed to be “unclear to users”. That’s true, and “Restore Defaults” is more clear. Of course, the problem is that the implementation now doesn’t match the expectations. Choice quote from Phil Ringnalda: cc:ing beltzner and mconnor, since it was apparently their out-of-bug conversation that decided “Restore Defaults” in a control that selects columns to display but not their order would clearly indicate it meant to restore the default column order but not which columns are selected.