Skip to content

No layer name in "force by selected geometries" contextual menu if overlapping vector features #50049

Description

@DelazJ

What is the bug or the crash?

  1. Take a mesh layer and few vector layers that have overlapping features
  2. Turn the mesh into edit
  3. Enable the "force mesh by geometries" tool
  4. right-click over a geometry layer: you get a contextual menu with vector laye(s) name and feature(s) ID. This works well until you right-click over a place where you have multiple features from a single layer. In that case, no layer name is shown, only the IDs.

Steps to reproduce the issue

Still no cursor visible but it is as described above: when I clicked the area where only the two features of layer 1 overlap, then no menu.

forcemeshcontextmenu.webm

Versions

<style type="text/css"> p, li { white-space: pre-wrap; } </style>
QGIS version 3.27.0-Master QGIS code revision fb97c10
Qt version 5.15.3
Python version 3.10.4
GDAL/OGR version 3.4.1
PROJ version 8.2.1
EPSG Registry database version v10.041 (2021-12-03)
GEOS version 3.10.2-CAPI-1.16.0
SQLite version 3.37.2
PostgreSQL client version unknown
SpatiaLite version 5.0.1
QWT version 6.1.4
QScintilla2 version 2.11.6
OS version Ubuntu 22.04.1 LTS
       
This copy of QGIS writes debugging output.
       
Active Python plugins
db_manager 0.1.20
grassprovider 2.12.99
MetaSearch 0.3.6
processing 2.12.99
sagaprovider 2.12.99

Supported QGIS version

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

New profile

  • I tried with a new QGIS profile

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!DigitizingRelated to feature digitizing map tools or functionalityMeshRelated to general mesh layer handling (not specific data formats)VectorsRelated to general vector layer handling (not specific data formats)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions