Skip to content

Add an object name to the identify tool item for plugins to access - #8052

Merged
nirvn merged 1 commit into
release-4_3from
identify_objectname_43
Sep 25, 2026
Merged

nirvn merged 1 commit into
release-4_3from
identify_objectname_43

Conversation

@nirvn

@nirvn nirvn commented Sep 25, 2026

Copy link
Copy Markdown
Member

Manual backport of #8051 (wouldn't backport due to property name change)

@qfield-fairy

qfield-fairy commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

🪟 Windows builds

Download a Windows build of this PR for testing and for arm64.

(Built from commit 7e8212c)

📱 Android builds

Download an Android arm64 build of this PR for testing.
(Built from commit 7e8212c)

Other Android architectures

@MidnightCoder-m MidnightCoder-m left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a Heads-up : now that plugins can reach this item, a plugin doing identifyTool.deactivated = ... breaks the binding. i think the old PropertyChanges reset it on the next state change. Probably fine .. just worth noticing.

@nirvn

nirvn commented Sep 25, 2026

Copy link
Copy Markdown
Member Author

@MidnightCoder-m , it's not fine no. If the plugin wants to be in charge of identification, changing the state shouldn't overwrite it.

It's up to the plugin to properly rebind when the plugin unloads.

@nirvn
nirvn merged commit cf9d3f4 into release-4_3 Sep 25, 2026
30 of 31 checks passed
@nirvn
nirvn deleted the identify_objectname_43 branch September 25, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants