Menu items unusable on rafted windows

Docking/MDI for WPF Forum

Posted 13 years ago by John Dunn
Version: 10.2.0531
Platform: .NET 3.5
Environment: Windows 7 (64-bit)
Avatar
When a document is rafted it is impossible to use any menu items on it. I can reproduce this issue with the Sample Browser.

- Run the Docking external sample
- Select text in 'WelcomeDocument.rtf'
- Menu commands ( Copy, Paste, etc ) work as expected
- Drag document outside of main window so it's floating
- Select text
- Menu commands are disabled

As far as I can tell this makes rafted document windows unusable if you have any menu items that deal with them. I assume the issue is a focus one. Is there any workaround?

It appears as though DockSite.ActiveWindow is also switched back when the menu is selected so I can't use that to send the command to the correct document either.

[Modified at 10/21/2010 11:49 AM]

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi John,

This is a general limitation of WPF routed commands. You can find more information in this forum post.


Actipro Software Support

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.