Bug report #14811
Updated by Nyall Dawson about 7 years ago
When loading a QLR file QGIS locks the parent directory. This lock is not released before QGIS is closed.
Imagine a qlr at the path
c:\\test\\file.qlr
When this file is loaded you cannot move or rename c:\\test before QGIS has been closed.
This happens both when the QLR is loaded through the menu item "Layer -> Add from layer definition file..." and when the python binding "QgsLayerDefinition.loadLayerDefinition(path, group)" is used.
Affected versions are 2.14, 2.12 and possibly earlier also.
Imagine a qlr at the path
c:\\test\\file.qlr
When this file is loaded you cannot move or rename c:\\test before QGIS has been closed.
This happens both when the QLR is loaded through the menu item "Layer -> Add from layer definition file..." and when the python binding "QgsLayerDefinition.loadLayerDefinition(path, group)" is used.
Affected versions are 2.14, 2.12 and possibly earlier also.