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

Value map widget: "value"/"description" inconsistency when table added to print layouts #41798

Closed
Cucumerlu opened this issue Feb 24, 2021 · 3 comments · Fixed by #47300
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@Cucumerlu
Copy link

Hi,
I created a QGIS project using value map widget. When I open attribute table in the "main" project I see the "description" BUT when I create an attribute table in the layout I see the "value"

Example
1 - build
2 - river
3 - tree

In the attribute table of the project I see "build", "river" and "tree"
In the attribute table in tha layout I see 1, 2, 3

Can you help me?

Thanks

@Cucumerlu Cucumerlu added the Won't fix By design, or won't be fixed for some other reason label Feb 24, 2021
@gioman gioman added Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks and removed Won't fix By design, or won't be fixed for some other reason labels Feb 24, 2021
@gioman gioman changed the title Value map widget: "value" - "description" problem in attribute table Value map widget: "value"/"description" incosistency when table added to print layouts Feb 24, 2021
@gioman gioman added the Feedback Waiting on the submitter for answers label Feb 24, 2021
@gioman
Copy link
Contributor

gioman commented Feb 24, 2021

@Cucumerlu show "description" instead of "value" in the attribute table is by design, so here there should not be any bug. I guess that one could argue that then also in print layouts the table should behave the same. Anyway there are probably many workarounds, you can for example create a virtual column that is filled with the "description" and this will show as such in the layouts.

@Cucumerlu
Copy link
Author

@gioman I know that I could "create a virtual column that is filled with the "description" and this will show as such in the layouts" but I have a lot of columns and I don't think that the incosistency "is by design". And, as you understand, I argue that "also in print layouts the table should behave the same".

@gioman gioman removed the Feedback Waiting on the submitter for answers label Feb 25, 2021
@gioman gioman changed the title Value map widget: "value"/"description" incosistency when table added to print layouts Value map widget: "value"/"description" inconsistency when table added to print layouts Feb 25, 2021
@Pedro-Murteira
Copy link

Still valid on QGIS 3.22.3. (Windows 10)

elpaso added a commit to elpaso/QGIS that referenced this issue Feb 11, 2022
nyalldawson pushed a commit that referenced this issue Feb 14, 2022
qgis-bot pushed a commit that referenced this issue Feb 14, 2022
nyalldawson pushed a commit that referenced this issue Feb 21, 2022
nyalldawson pushed a commit that referenced this issue Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants