Project: QGIS

Version: 3.24

Feature: Suppress "bad layers" handler on startup

We've added support for a new command line flag for the qgis executable, which allows you to disable the default dialog which shows when opening a project with missing/broken layers:

[--skipbadlayers] don't prompt for missing layers

example invocation:

./qgis --skipbadlayers or

./qgis -B

The use case for this is that sometimes users have automation or other post-startup processes happen and do not want to have the startup process interrupted if there are bad layers present in the project. After startup, QGIS will ignore any missing layers, but they will still be marked as broken in the layers list.

This feature was suggested by Giuseppe Baiamonte during, and live coded on, the QGIS Open Day, 17 Dec 2021.

This feature was developed by Tim Sutton