Feature request #10779

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

Added by Antonio Locandro about 3 years ago. Updated 5 months ago.

Status:Open
Priority:Normal
Assignee:-
Category:-
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

Description

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 Open 06/20/2014

History

#1 Updated by Hugo Mercier over 2 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 over 2 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.

+1

#3 Updated by Giovanni Manghi 5 months ago

  • Easy fix? set to No

Also available in: Atom PDF