Layer & Bookmark view not initialized correctly on restart
----------------------------------------------------------

                 Key: UDIG-1817
                 URL: https://jira.codehaus.org/browse/UDIG-1817
             Project: uDIG
          Issue Type: Bug
          Components: visualization using map layer and style
    Affects Versions: UDIG 1.2.3
         Environment: XP, JRE 1.6
            Reporter: Emily Gouge
            Assignee: Emily Gouge


The layers view is not populated correctly if not visible when restarted.  To 
reproduce:
1. Create a map with at least one layer
2. Click on the "Bookmarks" view to 'hide' the  layers view behind the 
bookmarks view
3. Restart uDig
4. Click on the Layers view; no layers will be shown

This bug affects both the layers and bookmarks views.

This is a result of the new MapEditorWithPalette.  The layers view (and 
bookmark view) checks for a instanceof MapEditor when initializing the current 
map.  I have a fix for this that makes use of IAdaptable which I will provide 
via git.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to