Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give a user oriented label to the default custom properties in layer Information tab #57335

Open
2 tasks
DelazJ opened this issue May 3, 2024 · 2 comments
Open
2 tasks

Comments

@DelazJ
Copy link
Contributor

DelazJ commented May 3, 2024

What is the bug or the crash?

Layer properties --> Information tab has a custom properties section.
Some predefined custom properties seem to exist:

  • dualview/previewExpressions
  • embeddedWidgets/count
  • variableNames
  • variableValues

It could be nice to provide them with a more user readable name. this will be coherent with other default information in that tab: their label is clear and translatable.
And I would add to the list userNotes.

Moreover, one can guess what the last two are but I personally have no idea from where the first ones can be tweaked.

Steps to reproduce the issue

Open a layer properties and its Information tab.
image

Versions

QGIS 3.36.0

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@DelazJ DelazJ added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 3, 2024
@DelazJ
Copy link
Contributor Author

DelazJ commented May 5, 2024

Well, found out that embeddedWidgets/count refers at least to the widgets you can reuse in the Layer properties -> Legend tab.

@signedav
Copy link
Contributor

I'm not sure if this is really a bug than rather an enhancement.

Anyway, if we do that (what means we do evaluate the content of the custom property keys: e.g. if variableName, then write "Variable Name" etc.), one might think about to make it smarter anyway, by e.g. representing the variableNames / variableValues not as single entries but combined in a table (or at least a map like "name":"value" etc.)...

@DelazJ DelazJ added Feature Request and removed Bug Either a bug report, or a bug fix. Let's hope for the latter! labels May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants