anushani / atlasmapper

Automatically exported from code.google.com/p/atlasmapper
0 stars 0 forks source link

Deleting a print frame before it has been drawn results in broken state #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Click add print frame. Don't draw the frame.
2. Delete the print frame without ever having drawn the frame.
3. Try to drag the map; a rectangle will be drawn instead.

What is the expected output? What do you see instead?
The draw rectangle state should cancel when the print frame is deleted, however 
it stays stuck in this state; drawing a frame each time a click and drag 
occurs. This prevents operation of the map and requires the client to reload, 
loosing the map state.

What version of the product are you using? On what operating system?
1.3 

Original issue reported on code.google.com by eric.law...@gmail.com on 28 Mar 2013 at 5:24

GoogleCodeExporter commented 9 years ago

Original comment by lafond.g...@gmail.com on 23 Apr 2013 at 4:03

GoogleCodeExporter commented 9 years ago
Fixed in 1.4

The print frame now listen for layer remove event before the frame is drawn, 
and return to the normal state when it happen.

Original comment by lafond.g...@gmail.com on 12 Jul 2013 at 4:31