Feature request #1086
Don't change active layer when adding new layer if identify tool is used
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||11146|
When adding new layer, QGIS automatically selects the new layer. It may not be desirable if identify tool is used, as it works on currently selected (active) layer.
Consider following workflow:
I have tileindex layer (shp with poligons containing path/filename to rasters) and I'm adding raster layers based on identify tool results.
Click on tileindex_layer.shp -> Identify tool -> click on map -> read raster name -> Add raster layer -> click on map -> OUT OF EXTENT as newly added raster layer is now active -> start loop from beginning by selecting tileindex_layer. If added layer list is large and I need to add lot of layers it takes significant time to activate correct layer after every new layer is added.
#3 Updated by Alister Hood almost 10 years ago
- Pull Request or Patch supplied set to No
Also see #5125.
A workaround is to put the tileindex layer inside a layer group, and set the option “Settings>Options>General>Add new layers to selected or current group”. If you do this the newly added layer will not be selected (at least in QGIS master).