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

fetch feature with geometry when opening a feature context menu in attribute table (fix #48964) #60658

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexbruy
Copy link
Contributor

Description

The "Duplicate Feature" action executed from the feature context menu in attribute table form mode creates a feature without geometry. This happens because feature to use with action is constructed from the layer cache and by default we do not cache feature geometries when populating attribute table.

Proposed PR fetches feature with geometry whenever feature context menu is opened and caches it.

Fixes #48964.

@github-actions github-actions bot added this to the 3.42.0 milestone Feb 18, 2025
Copy link

github-actions bot commented Feb 18, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 1157abb)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 1157abb)

@nyalldawson nyalldawson added the Frozen Feature freeze - Do not merge! label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Duplicate feature" creates a new feature without geometry
2 participants