Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-dev] 1.5.0 Problem with Layers View

I have a problem with the layers views not refreshing properly with multiple maps. Initially I found this issue on the luna-branch, but I tested the 1.5.0 release and it also exists there.

The problem arises only when more than one map is open.  To reproduce:
1) Open a map & add a shapefile layer to this map
2) Open a second map
3) Add a shapefile layer to the second map
At this point the layers view will add the layer, but it will not be checked. 4) Add a second shapefile layer (to the second map). Now, the layers view does not even display the new layer.

The map is updated fine, this is just a problem with the layers view not being refreshed in modifying layers. If you switch between maps the layers view is refreshed properly. The problem also exists if you try to delete a layer from the second map (it gets deleted from the map but not the layers view). I tracked this down to some events are not being fired when the second map is active; but where the events originate I have not found yet.

Does anyone have any thoughts on what might have changed? This was not a problem for in previous versions (1.4.0).

Thanks,
Emily



Back to the top