Context menu highlighting broken

Ribbon for WPF Forum

Posted 9 years ago by Phil Devaney
Version: 13.2.0590
Platform: .NET 4.5
Environment: Windows 8 (64-bit)

We are using the ribbon ContextMenu class for regular (non-ribbon) context menus, and have found a problem with the highlighting. When the menu is close to the right edge of screen, causing sub-menus to double back on themselves, the highlighting doesn't work if there is another menu under the active sub-menu. If you move the mouse to a part of the sub-menu that isn't over a parent menu, the highlighting starts working.

See here for a screenshot Though you can't see it, my mouse is over Sub Menu Item 1 in the screenshot.

To repro, paste this code into a sample app, then move the window close to right such that the first sub-menu appears to the right of the top menu, but the second sub-menu appears to the left (over the top menu)

<Grid Background="LightGray">
            <ribbon:Button Label="Menu Item 1" />
            <ribbon:Button Label="Menu Item 2" />
            <ribbon:PopupButton Label="Sub Menu A">
                <ribbon:PopupButton Label="Sub Menu B">
                    <ribbon:Button Label="Sub Menu Item 1" />
                    <ribbon:Button Label="Sub Menu Item 2" />
            <ribbon:Button Label="Menu Item 3" />
            <ribbon:Button Label="Menu Item 4" />

Comments (1)

Answer - Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Phil,

This was a tricky one to track down but we finally got it fixed for the upcoming maintenance release.

Actipro Software Support

The latest build of this product (v22.1.3) was released 22 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.