Opened 15 years ago

Closed 15 years ago

#1985 closed bug (fixed)

Canceling new project remove layers

Reported by: lroubeyrie Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.4.0
Component: Project Loading / Saving Version: 1.3.0
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

After adding some layers, clicking on "New project" but canceling the dialog box will remove all the layers in the layers tree, not on the canvas (not updated).

Change History (4)

comment:1 by lutra, 15 years ago

It is enough to pan or zoom and the layers do disappear in the canvas.

The following question is, what we expect to happen when you click "new project" and then "cancel"? my first answer would be that I expect to continue work normally. Am I wrong?

comment:2 by lroubeyrie, 15 years ago

When I say the canvas is not updated, it's to point a inconsistency between the canvas and the layer tree (legend), and sure when clicking "cancel" I expect the layers to be here (in the legend and on the canvas :P).

in reply to:  2 comment:3 by lutra, 15 years ago

Milestone: Version 1.4.0
Platform: DebianAll

Replying to lroubeyrie:

and sure when clicking "cancel" I expect the layers to be here (in the legend and on the canvas :P).

so this is the "real" bug, clicking "cancel" should leave the project in the state it was before clicking "new project".

comment:4 by mhugent, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in r11769

Note: See TracTickets for help on using tickets.