Skip to content

Conversation

@Chloepeg
Copy link

@Chloepeg Chloepeg commented Dec 5, 2025

Purpose

PR in response to [DYN-8575] (https://jira.autodesk.com/browse/DYN-8575).

This update ensures that the port context menu behaves consistently with standard UI expectations. By closing the menu whenever the Dynamo window loses focus, it avoids situations where the menu stays visible above other windows, which could confuse users or obstruct other applications. The change is minimal and does not modify any in-canvas interactions or existing menu logic.

Gif

Declarations

Check these if you believe they are true

Release Notes

Added event handlers to automatically close the port context menu when the Dynamo window loses focus.
Prevents the menu from remaining open and floating above other application windows.
No changes were made to existing in-canvas behaviour.

Reviewers

FYIs

@dnenov

Adds event handlers to close the port context menu when the Dynamo/Revit window loses focus, preventing it from floating above other windows. No changes to existing in-canvas behaviour.
@github-actions github-actions bot changed the title Fix port context menu when switching windows DYN-8575: Fix port context menu when switching windows Dec 5, 2025
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-8575

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.

1 participant