Opened 17 years ago
Closed 17 years ago
#9 closed defect (fixed)
wxgrass: startup window does't sort locations/mapsets alphabetically
Reported by: | neteler | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 6.3.0 |
Component: | Python | Version: | unspecified |
Keywords: | Cc: | martinl | |
CPU: | Unspecified | Platform: | Unspecified |
Description
The list of locations/mapsets in the wxgrass GUI is not sorted alphabetically. A fix is needed in gui/wxpython/gis_set.py to
- sort locations list, but keep mapsets aligned to sorted locations (simple |wx.LB_SORT doesn't work here)
- sort mapsets list; but keep PERMANENT on top of mapsets list
Change History (5)
follow-up: 2 comment:1 by , 17 years ago
follow-up: 3 comment:2 by , 17 years ago
Cc: | added |
---|
Replying to cmbarton:
Replying to neteler:
The list of locations/mapsets in the wxgrass GUI is not sorted alphabetically. A fix is needed in gui/wxpython/gis_set.py to
- sort locations list, but keep mapsets aligned to sorted locations (simple |wx.LB_SORT doesn't work here)
My locations are sorted fine. In fact, the sorting is better in wxPython for me than in TclTk, since myLocation and MyLocation sort together rather than have all capitalized locations first, with "alocation" following "Zlocation".
How is your systems misbehaving specifically? Which platform and wxPython/Python versions are you using?
- sort mapsets list; but keep PERMANENT on top of mapsets list
This would be convenient. Currenly, PERMANENT sorts in the P's of mapsets. Probably not too hard to fix.
Michael
I fixed the mapset list (at least for my system) so that PERMANENT shows up at the top.
Michael
comment:3 by , 17 years ago
Replying to cmbarton:
Replying to cmbarton:
Replying to neteler:
The list of locations/mapsets in the wxgrass GUI is not sorted alphabetically. A fix is needed in gui/wxpython/gis_set.py to
- sort locations list, but keep mapsets aligned to sorted locations (simple |wx.LB_SORT doesn't work here)
My locations are sorted fine. In fact, the sorting is better in wxPython for me than in TclTk, since myLocation and MyLocation sort together rather than have all capitalized locations first, with "alocation" following "Zlocation".
How is your systems misbehaving specifically? Which platform and wxPython/Python versions are you using?
- sort mapsets list; but keep PERMANENT on top of mapsets list
This would be convenient. Currenly, PERMANENT sorts in the P's of mapsets. Probably not too hard to fix.
Michael
I fixed the mapset list (at least for my system) so that PERMANENT shows up at the top.
Michael
Had some some today and hope that I fixed the sorting issue. I think it looks OK on my Mac because I remember something about Mac directories being automatically alpha sorted, whereas Linux ones are not.
So I've forced sorting of the location and mapset lists. Let me know if it works. If so, this ticket can be marked as resolved.
Michael
comment:4 by , 17 years ago
Cc: | added; removed |
---|
Replying to neteler:
My locations are sorted fine. In fact, the sorting is better in wxPython for me than in TclTk, since myLocation and MyLocation sort together rather than have all capitalized locations first, with "alocation" following "Zlocation".
How is your systems misbehaving specifically? Which platform and wxPython/Python versions are you using?
This would be convenient. Currenly, PERMANENT sorts in the P's of mapsets. Probably not too hard to fix.
Michael