Skip to content

Copy one style category and paste it collectively to multiple layers removes the settings of the other style categories #63167

Description

@gis-bern

What is the bug or the crash?

Copy one style category and paste it collectively to multiple layers removes the settings of the other style categories. In my eyes only the copied categories should be pasted instead of replacing all properties.

Otherwise I can't copy the attribute form property from one layer to multiple other layers in one click without destroing the symbology or label settings.

Steps to reproduce the issue

  1. Add at least three layers to the QGIS project
  2. Change symbology of layer 1
  3. Change attribute form of layer 2
  4. Copy symbology of layer 1 (Styles -> Copy Style -> Symbology)
  5. Select layer 2 and 3, right click and Paste Style

Result: All layer properties except the symbology property were reset (including the attribute form), even though I only copied the symbology property.

Versions

3.40.10-Bratislava

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

Metadata

Metadata

Assignees

Labels

BugEither a bug report, or a bug fix. Let's hope for the latter!Styles

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions