Bug report #19604
[DXF export] Labels are exported even if the entity is not visible
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | DXF export | ||
Affected QGIS version: | 3.5(master) | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 27431 |
Description
When exporting DXF, labels of entities that are not displayed are still exported (but the entity no). This happens when they are not visible due to a filter made at the layer style level.
An example with three linestring, two labelled with "F%" and one with "G%" only "F%" labels should be exported.
Tested on 2.18 and 3
Associated revisions
dxf export: don't label invisible features (fixes #19604)
dxf export: don't label invisible features (fixes #19604)
(cherry picked from commit c389fad1ad0396cf9914dedc8d2e9a9c303cd8f8)
History
#1 Updated by Regis Haubourg over 6 years ago
- Subject changed from Labels are exported even if the entity is not visible to [DXF export] Labels are exported even if the entity is not visible
#2 Updated by Jürgen Fischer almost 6 years ago
- Status changed from Open to Feedback
Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.
#3 Updated by Loïc BARTOLETTI almost 6 years ago
- Affected QGIS version changed from 2.18.21 to 3.5(master)
- Status changed from Feedback to Open
#4 Updated by Nyall Dawson almost 6 years ago
Yes, confirmed here
#5 Updated by Jürgen Fischer over 5 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset qgis|c389fad1ad0396cf9914dedc8d2e9a9c303cd8f8.