Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/wpfPublic

ContextMenu stops working if its owner is removed from the visual tree #5835

Closed
Assignees
SamBent
@SamBent

Description

@SamBent

[Port of a servicing fix for .NET 4.7-4.8]

Problem description:
If user invokes a ContextMenu (e.g. right-clicking on its owner), but the owner leaves the visual tree before the ContextMenu actually displays, the ContextMenu never displays again. This is interesting when the ContextMenu is shared by multiple owners - it won't display for other owners, even when the other owners remain in the visual tree normally.

Actual behavior:
Invoking the ContextMenu does nothing.

Expected behavior:
ContextMenu displays

Minimal repro:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp