[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #SXM-203201]: projection names in preferences



Hi Don,

Ok, these should be fixed now.

Thanks!

Sean

> Sean-
> 
> When you create the list of Projections, you are putting the projection
> names into the list.  However, when you try to set the selected item to
> the default, you are using the projection, not the name, so the default
> does not get set:
> 
> if (defaultProj != null) {
> if (defaultProj instanceof String) {
> projBox.setSelectedItem(projMap.get(defaultProj));
> } else {
> projBox.setSelectedItem(defaultProj);
> }
> }
> projMap is <String, Projection>
> 
> Don
> 
> On 1/22/13 12:16 PM, Unidata IDV Support wrote:
> > Hi Don,
> >
> > I have this fixed in the latest master (it shouldn't break the preference
> > init stuff). Let me know if it gives you any problems.
> >
> > Sean
> >
> >> Hi-
> >>
> >> I was looking at the User Preferences using the latest Git source
> >> (4.0a1) and noticed that the Preferences panel came up really wide.
> >> This is due to the View tab being really wide because of the projection
> >> names (see attached prefs4.0a1.png image).  If I run 3.1u1 (which uses
> >> the same preferences), it looks as I would expect (attached
> >> prefs3.1u1.png).  Something must have changed with the way the
> >> projection names are being interpreted.
> >>
> >> Don
> >> --
> >> Don Murray
> >> NOAA/ESRL/PSD and CIRES
> >> 303-497-3596
> >> http://www.esrl.noaa.gov/psd/people/don.murray/
> >>
> >>
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: SXM-203201
> > Department: Support IDV
> > Priority: High
> > Status: Open
> >
> 
> --
> Don Murray
> NOAA/ESRL/PSD and CIRES
> 303-497-3596
> http://www.esrl.noaa.gov/psd/people/don.murray/
> 
> 


Ticket Details
===================
Ticket ID: SXM-203201
Department: Support IDV
Priority: High
Status: Open


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.