Skip to content

DYN-10076: Home and End keys work while working in the Publishing a Package page#16886

Merged
zeusongit merged 5 commits into
DynamoDS:masterfrom
ivaylo-matov:DYN-10076-260210
Feb 18, 2026
Merged

DYN-10076: Home and End keys work while working in the Publishing a Package page#16886
zeusongit merged 5 commits into
DynamoDS:masterfrom
ivaylo-matov:DYN-10076-260210

Conversation

@ivaylo-matov
Copy link
Copy Markdown
Contributor

Purpose

This PR addresses DYN-10076 by preventing Package Manager tab navigation keys from stealing common text-editing shortcuts while publishing a package. The proposal centralizes tab key behavior in a dedicated control.

Changes:

  • added PackageManagerTabControl to own tab keyboard behavior.
  • implemented PageUp/PageDown tab navigation only when the tab strip has focus.
  • added attachable property:
    • PackageManagerTabControl.SuppressHomeEndWhenSelected - applied to publishTab in xaml, so Home/End tab switching is suppressed only in that scenario.
  • when suppressed, Home/End is intentionally left unhandled so hosted content can process these keys.
  • moved selected-tab-header focus behavior into PackageManagerTabControl (Loaded + OnSelectionChanged).
  • renamed projectManagerTabControl to packageManagerTabControl for clarity.

DYN-10076-Fix

Declarations

Check these if you believe they are true

Release Notes

Improved Package Manager keyboard behavior so publish-form shortcuts (Home/End variants) work correctly in the Publish tab while still supporting PageUp/PageDown tab navigation from tab headers.

Reviewers

@zeusongit
@DynamoDS/eidos

FYIs

@dnenov

Copilot AI review requested due to automatic review settings February 11, 2026 11:22
Copy link
Copy Markdown

@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-10076

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes Package Manager keyboard handling during package publishing so common text-editing keys (Home/End) aren’t intercepted for tab navigation, while keeping PageUp/PageDown tab navigation when the tab strip is focused.

Changes:

  • Introduced PackageManagerTabControl to centralize keyboard handling and focus behavior.
  • Updated Package Manager XAML to use the new control and renamed the tab control field for clarity.
  • Added an attachable property to selectively suppress Home/End tab switching on the Publish tab.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/DynamoCoreWpf/Views/PackageManager/PackageManagerView.xaml.cs Renames the referenced tab control to match the new XAML name.
src/DynamoCoreWpf/Views/PackageManager/PackageManagerView.xaml Swaps in PackageManagerTabControl and applies suppression behavior to the Publish tab.
src/DynamoCoreWpf/Views/PackageManager/Controls/PackageManagerTabControl.cs Adds the custom TabControl implementing key handling + focus behavior.
src/DynamoCoreWpf/PublicAPI.Unshipped.txt Declares the new public control and members for API tracking.
src/DynamoCoreWpf/DynamoCoreWpf.csproj Includes the new control file in compilation.

@sonarqubecloud
Copy link
Copy Markdown

@ivaylo-matov
Copy link
Copy Markdown
Contributor Author

PressNotificationButtonAndShowPopup passes locally

@jasonstratton jasonstratton self-requested a review February 18, 2026 22:22
Copy link
Copy Markdown
Contributor

@jasonstratton jasonstratton left a comment

Choose a reason for hiding this comment

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

Looks good, but the Dynamo SelfServe and Dynamo Smoke Tests are failing.

@zeusongit zeusongit merged commit f2e161b into DynamoDS:master Feb 18, 2026
27 of 29 checks passed
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.

4 participants