Bug report #16339

Embedded layer style and labels properties can be modified within the layer styling panel

Added by Laurence Bechet almost 8 years ago. Updated almost 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Symbology
Affected QGIS version:3.5(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:24249

Description

When using an embedded layer from a 'parent' project within a 'child' project, the (parent)layer properties are not accessible in the layer panel, thus the style and labels. However the layer styling panel allows access to the style and labels - which is inconsistent.

2.18ViewLayer.jpg (188 KB) Laurence Bechet , 2017-03-10 12:37 PM

Associated revisions

Revision e4836429
Added by Alexander Bruy almost 6 years ago

don't allow to change style of the embedded layers from the Layer
Styling panel (fix #16339)

Revision e97649ae
Added by Alexander Bruy almost 6 years ago

Merge pull request #9006 from alexbruy/fix-embedded-layers

don't allow to change style of the embedded layers from the Layer Styling panel (fix #16339)

Revision 149d68df
Added by Alexander Bruy almost 6 years ago

don't allow to change style of the embedded layers from the Layer
Styling panel (fix #16339)

(cherry picked from commit e48364292d0afa87a555a6e7cac65ea0e0e930ae)

History

#1 Updated by Laurence Bechet almost 8 years ago

Also because the Layer/Labeling menu opens the layer styling panel, labels can be accessed from there as well.

#2 Updated by Regis Haubourg almost 8 years ago

Hi Laurence,
can you test in QGIS 3 if the issue is correctly fixed?
If yes, that deserves backport to 2.18 (future LTR)

#3 Updated by Laurence Bechet almost 8 years ago

Hi Regis,
I checked with 2.99.0-Master QGIS code revision 2654c72 and it is not fixed. Is there another version and where can I find it? (sorry if it is an obvious question).
Laurence

#4 Updated by Giovanni Manghi over 7 years ago

  • Regression? set to No
  • Easy fix? set to No

#5 Updated by Jürgen Fischer over 7 years ago

  • Category set to Unknown

#6 Updated by Harrissou Santanna about 7 years ago

This still does not work in master c321700ada
Btw, i think the priority should be raised to High as this bug allows end-users to change layer style, which could be seen as a corruption of the provided project.

#7 Updated by Giovanni Manghi about 7 years ago

  • Priority changed from Normal to High
  • Crashes QGIS or corrupts data changed from No to Yes
  • Affected QGIS version changed from 2.18.4 to 2.18.14
  • Category changed from Unknown to Symbology

#8 Updated by Alexander Bruy almost 6 years ago

  • Pull Request or Patch supplied changed from No to Yes
  • Priority changed from High to Normal
  • Affected QGIS version changed from 2.18.14 to 3.5(master)
  • Crashes QGIS or corrupts data changed from Yes to No

Lowering priority to Normal, as changing style of the embedded layer does not saved in the its original project and also when reopenening child project style is restored from the main project.

PR https://github.com/qgis/QGIS/pull/9006

#9 Updated by Alexander Bruy almost 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#10 Updated by Alexander Bruy almost 6 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF