Feature request #10779
Layer Properties - "displayed as" should work as Alias for layer instead of echoing Layer Name
|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
#1 Updated by Hugo Mercier almost 5 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 ?