Feature request #18411
Allow to add comment to an existing field
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||26300|
In layer's properties --> Source Fields tab, there's no way to add a comment to an existing field. This seems to be possible only if done during field creation.
In 2.x, a double-click on the comment cell was enough to add/edit any comment.
#2 Updated by Nyall Dawson over 4 years ago
- Status changed from Open to Feedback
I don't think that's the case -- field comments are read-only, and must be set at the provider backend level. The bug here is that the interface doesn't use a read-only control, so it makes it look like they are editable when in reality they aren't.
#4 Updated by Harrissou Santanna over 4 years ago
- Status changed from Feedback to Open
@m-kuhn, may I have your opinion here, please? I fail to get a reaction from David who afaik is the one that reworks this dialog so making a call to you :) Not be able to add custom comment is annoying me so I'd like to know if it's a bug or an intended block. Thanks.
#6 Updated by Harrissou Santanna over 4 years ago
Yes, I'll do it once I get a working 2.18. Since this week-end osgeo4w updates throw errors on both my home and working machines, hence no python on master and no 2.18 at all. Need to figure out what i have messed up with meanwhile.
Otherwise, I tried on an old 2.18 (macOS) to create a project and it turns out that I could add a comment in eg a shapefile field, but when I reopened the layer properties, my comment was cleared. Weird.
But I'm sure I used this feature years ago to document my fields in project before I move data to PG.