Bug report #19909

Vertex markers not displayed properly for MultiPolygon features

Added by Andreas Wicht over 5 years ago. Updated about 5 years ago.

Status:Closed
Priority:High
Assignee:Hugo Mercier
Category:Map Canvas
Affected QGIS version:3.4.1 Regression?:Yes
Operating System:Windows 10 / Ubuntu 18.04 Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27733

Description

When editing a MultiPolygon Layer the vertex markers are not displayed correctly. I suspect this behavior gets more frequent, the larger the number of vertices in a feature is.
When zooming to the part where no vertex markers are displayed, they will appear when zooming close enough.

- Changing "Show markers only for selected features" does not affect the behavior.
- the polygon is valid
- it does not matter if the polygon is selected or not

vertex_markers.png (35.2 KB) Andreas Wicht, 2018-09-21 09:45 AM

vertex_markers.gpkg - sample (128 KB) Andreas Wicht, 2018-09-21 09:46 AM

Associated revisions

Revision 389149c8
Added by Hugo Mercier about 5 years ago

Fix vertex marker display for multipolygon (fixes #19909)

The i == 0 test was wrong, and a test is actually not needed.

Revision c3819e88
Added by Hugo Mercier about 5 years ago

Merge pull request #9036 from mhugo/fix_19909

Fix vertex marker display for multipolygon (fixes #19909)

Revision 9abcd0e1
Added by Hugo Mercier about 5 years ago

Fix vertex marker display for multipolygon (fixes #19909)

The i == 0 test was wrong, and a test is actually not needed.

(cherry picked from commit 389149c8dce8d84cdd74dbc05ca5f22e451dac8a)

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Open to Feedback

Does it works as expected on 2.18?

#2 Updated by Andreas Wicht over 5 years ago

  • Status changed from Feedback to Open

Yes. Sorry, forgot to add that.

#3 Updated by Bernhard Ströbl over 5 years ago

Hi Andi, this is when selecting the feature with the select tool, not with highlighting with the node tool, correct?

#4 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Open to Feedback

#5 Updated by Andreas Wicht over 5 years ago

Hi Bernhard, yes I was talking about the selected (select tool) not highlighted representation of a multipolygon (see attached example polygon).
The problem persists in 3.4.1

#6 Updated by Andreas Wicht over 5 years ago

  • Status changed from Feedback to Open

#7 Updated by Giovanni Manghi over 5 years ago

  • Priority changed from Normal to High
  • Regression? changed from No to Yes
  • Affected QGIS version changed from 3.2.3 to 3.4.1

#8 Updated by Andreas Wicht over 5 years ago

Problem also persists in 3.4.2

#9 Updated by Hugo Mercier about 5 years ago

  • Assignee set to Hugo Mercier

Reproduced

#10 Updated by Hugo Mercier about 5 years ago

  • Pull Request or Patch supplied changed from No to Yes

#11 Updated by Hugo Mercier about 5 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF