Skip to content

Introduce selective masking presets (Request in QGIS) #10710

@qgis-bot

Description

@qgis-bot

Request for documentation

From pull request qgis/QGIS#64639
Author: @nyalldawson
QGIS version: 4.0

Introduce selective masking presets

PR Description:

For large projects, configuring selective masking can be very difficult, especially when many different layers need to reference the same complex set of mask sources. (Eg when many layers are masked by the same set of many different labeled layers). This can lead to project maintenance pain, as adding new layers or changing existing layers can require the user to go through an re-configure all the many layers which need to use that new layer as a mask source.

To avoid this pain, this PR introduces preset support for selective masking sources. Now, users will see a drop-down combo under Mask Sources when configuring a layer's masking:

image

This defaults to "custom", which is the existing ad-hoc per-layer configuration.

The "..." button shows actions to create new selective masking sets, remove the selected one, or rename the selected one. When a project contains masking source sets, they will all be shown as options in the combo:

Screencast_20260121_231122.webm

Selecting one of them links that layer's masking sources to the preset. Any changes then made to the preset's checked sources apply to ALL layers linked to that preset, meaning that users will only need to update the preset ONCE and it will automatically apply across the project.

Sponsored by LINZ

Commits tagged with [need-docs] or [FEATURE]

Metadata

Metadata

Assignees

Labels

4.0QGIS 4.0 new featuresSize 5It will take between half a day and a full daySymbologyRefers to layer symbol propertiesVector

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions