
However, I hit a scenario where I moved one of my documents outside the application, so it's floating. I then click a couple times back and forth between my floating document and the docked document window. I then click on the floating document once more, and then click on the ribbon. Unexpectedly, the LastActiveDocument property changes from my floating document to the docked document, despite me never having clicked on the docked document.
I consider this a bug since I didn't intend to change anything regarding my document's active status. The floating document should still be active; I just want to use the ribbon.
I'm sending along a sample project with embeeded repro steps to illustrate this and possibly make the issue clearer.
Thanks,
-Craig