Bug report #9369
"duplicate layer" takes ages to duplicate spatialite layers
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||not reproducable|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||17969|
When duplicating spatialite layers using the "Duplicate layer" command from the contextual menu, it takes sometimes up to 10 seconds for the duplicate to appear in the layer list.
It seem to happen especially when the project is complex (lots of layers) and open since some time (the problem does not appear on a freshly opened file).
I'll try to be more precise, but the bug is not that easy to reproduce (still, it happened to me often).
First consequence : since there is absolutely no feedback during that time, the user can be tempted to run the command again or conclude the function does not work.
Second consequence : under certain conditions (for instance if you close the project between running the command and it's effect), QGIS crashes (with "minidump dumped to...").
I'm not sure if it's the same issue, but when using the "add to canvas" command from the DBManager, the same delay sometimes occurs...
#2 Updated by Regis Haubourg over 8 years ago
Hi, I confirm the issue. It occurs for large projects only after having worked for a while.
Really hard to reproduce but occurs every time you make production work as always ;-) ..
it also affects plugin menu layer form project that adds layers to a project. adding raw data from file or database is fast..
#5 Updated by Giovanni Manghi almost 7 years ago
- Resolution set to not reproducable
- Status changed from Feedback to Closed
Closing for lack of feedback and because I cannot replicate with recent releases, but please reopen if still true (and attaching project and data to allow us replicate). Cheers!