Opened 13 years ago
Last modified 13 years ago
#3527 new bug
Crash when removing layers from project
Reported by: | Donkagen2 | Owned by: | nobody |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | Version 1.7.0 |
Component: | Project Loading / Saving | Version: | 1.6.0 |
Keywords: | layer groups | Cc: | |
Must Fix for Release: | No | Platform: | Windows |
Platform Version: | Awaiting user input: | no |
Description
When removing layers from a large project (e.g. 700k project file) there are two problems: 1) Removing a layer or group of layers can take some time but there is no visual indicator of activity (e.g. cursor change to hourglass) and behaviour seems undefined while the removal is in progress. 2) Sometimes, even without any user activity after the Remove is started, QGIS crashes. Single layers seem to remove (relatively) safely - the problem seems much more likely to occur when deleting groups of layers, especially rasters.
Note:
See TracTickets
for help on using tickets.
I could not make it crash myself with many vector layers (on Kubuntu 10.10), but I noticed the following, which may be related tot he slowness problem:
Having a project with:
When I deleted the group of gpx/track) vector layers, the map was updated after the removal of each one of the 10 layers (which was quite slow).