Feature request #10779

Layer Properties - "displayed as" should work as Alias for layer instead of echoing Layer Name

Added by Antonio Locandro over 9 years ago. Updated almost 6 years ago.

Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:19160


Based on #10658

"Layer name could be the name in a postgis table for example, displayed as I would say should work more like an alias, in my opinion Layer name shouldn't be editable and just be read only as this gives you the name of the layer in provider, displayed as should be editable so people can use another name if desired, of course by default it would echo layer name

As it is right now it's useless but as I have outlined above it could be useful"

Additionally the behaviour is backward in 2.4. Displayed as is read only (should be used as alias), Layer name is editable (shouldn't) and echoes to displayed as

Related issues

Related to QGIS Application - Bug report #10658: Repeated Layer name Closed 2014-06-20


#1 Updated by Hugo Mercier almost 9 years ago

The "displayed as" field is different if the "capitalize layer names" option is enabled ...
I agree this is confusing. Even with the option enabled, only one layer name should be kept.

About aliases : names are already aliases. Everything in the code relies on the layer's id (unique and set at the creation, not editable) rather than on its name.

I suggest :
  • get rid of the "displayed as" field
  • keep the "name" editable

What do you think ?

#2 Updated by Antonio Locandro almost 9 years ago

That would match the other COTS behaviour, I guess if you want to get the original name Layer source right below it would provide it.


#3 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No

#4 Updated by Jürgen Fischer over 6 years ago

  • Category set to Unknown

#5 Updated by Antonio Locandro almost 6 years ago

Tested in latest master version and the issue remains.

Also available in: Atom PDF