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

Clicking "apply" causes the column used for labelling/symbology to reset #18761

Closed
qgib opened this issue May 24, 2014 · 11 comments
Closed

Clicking "apply" causes the column used for labelling/symbology to reset #18761

qgib opened this issue May 24, 2014 · 11 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Labeling Related to QGIS map labeling
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented May 24, 2014

Author Name: Harrissou Santanna (@DelazJ)
Original Redmine Issue: 10340
Affected QGIS version: master
Redmine category:labelling
Assignee: Denis Rouzaud


Hi,
In the label menu of a vector Layer, choose the column to use for labeling and press APPLY. Your labels are applied in the canvas but you'll see that the attribute's listbox become empty. Then, if you do another change in the properties and press OK, you lose your labels.
If the first time, you have pressed OK after selecting your labels, you keep these labels till once again you open your Properties Dialog and press APPLY before OK.
It seems that using the APPLY button resets this field.

I don't know if i need to open a ticket for that but when using a categorized or graduated symbology, clicking APPLY erases the contents of the column listbox. But this symbology is well displayed and the next time you open the Properties dialog, the column name reappears.

QGIS Master c234a09 (OsGeo4w)


Related issue(s): #18872 (relates)
Redmine related issue(s): 10460


@qgib
Copy link
Contributor Author

qgib commented May 24, 2014

Author Name: Giovanni Manghi (@gioman)


Confirmed here, regression.


  • subject was changed from the selection of an attribute column to use for labeling is not memorized to Clicking "apply" causes the column used for labelling/symbology to reset
  • category_id removed Labelling
  • priority_id was changed from High to Severe/Regression
  • fixed_version_id was configured as Version 2.4

@qgib
Copy link
Contributor Author

qgib commented May 25, 2014

Author Name: Anita Graser (@anitagraser)


related or duplicate of #18617

@qgib
Copy link
Contributor Author

qgib commented May 28, 2014

Author Name: Harrissou Santanna (@DelazJ)


I think this ticket should be closed as the issue has been fixed (it works fine since 2 or 3 days).

@qgib
Copy link
Contributor Author

qgib commented May 29, 2014

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Open to Closed
  • resolution was changed from to fixed/implemented

@qgib
Copy link
Contributor Author

qgib commented May 29, 2014

Author Name: Larry Shaffer (Larry Shaffer)


This is not completely fixed yet, and definitely a blocker. Seems with labeled layers of .shp file sources, clicking APPLY still clears the label's text combo box.

This occurs only in the Layer Properties dialog, not when opening the Layer Labeling Options dialog independently from the labeling toolbar.

Latest master on Mac 10.9, though pretty sure platform is inconsequential.


  • category_id was configured as Labelling
  • status_id was changed from Closed to Reopened

@qgib
Copy link
Contributor Author

qgib commented May 29, 2014

Author Name: Harrissou Santanna (@DelazJ)


I Confirm on Windows.
On .shp files, both label and style column are erased.

MapInfo .TAB and .MIF files are also concerned. Not .DXF nor PostGIS tables for the formats I tried.

@qgib
Copy link
Contributor Author

qgib commented Jun 4, 2014

Author Name: Larry Shaffer (Larry Shaffer)


With latest master, I can no longer reproduce this issue with shapefiles, on Mac 10.7.5.

@qgib
Copy link
Contributor Author

qgib commented Jun 5, 2014

Author Name: Giovanni Manghi (@gioman)


Larry Shaffer wrote:

With latest master, I can no longer reproduce this issue with shapefiles, on Mac 10.7.5.

I just compiled the latest code (on Ubuntu) and the bug is still there.


  • operating_system was changed from Windows to
  • os_version was changed from Seven to
  • resolution was changed from fixed/implemented to

@qgib
Copy link
Contributor Author

qgib commented Jun 5, 2014

Author Name: Nathan Woodrow (@NathanW2)


Something is wrong in the QgsFieldModel.


  • assigned_to_id was configured as Denis Rouzaud

@qgib
Copy link
Contributor Author

qgib commented Jun 11, 2014

Author Name: Giovanni Manghi (@gioman)


On master I can't see this issue anymore for the labelling dialog, but it is still there for the symbology one: strange enough when testing the issue with symbology this will affect also labelling...

@qgib
Copy link
Contributor Author

qgib commented Jun 11, 2014

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "3abfb62c616813f70d728aa9a45457140adc1b29".


  • status_id was changed from Reopened to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Labeling Related to QGIS map labeling labels May 25, 2019
@qgib qgib added this to the Version 2.4 milestone May 25, 2019
@qgib qgib closed this as completed May 25, 2019
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! Labeling Related to QGIS map labeling
Projects
None yet
Development

No branches or pull requests

1 participant