[Version 2.0] LayoutDocument Tab Selection Problem

Jul 3, 2012 at 7:43 PM

I have 3 LayoutDocument Controls in a LayoutDocumentPaneGroup. All three are winforms controls hosted in WPF.

When I click between tabs, quite often one of the tabs won't get selected. And it will be stuck in the "unselectable" state until I click out of focus, use the drop down menu, or a few other work-arounds.

I was just curious if this was a known behavoir, or if I'm the only one experiencing this.

Thanks,

J.R.

Jul 27, 2012 at 8:17 PM

I am having a similar issue. If I only have one Document, it never gets assigned as the active document, and therefore never received the correct theme styling. Sometimes my tabs jump around when clicking them also.

Jul 27, 2012 at 8:41 PM
Edited Jul 27, 2012 at 8:46 PM

How I fixed this for now (which was mostly a blind stab at the code, but which seemingly works well):

 

Go to AvalonDock.Controls.FocusElementManager, then go to the _windowHandler_FocusChanged. Comment out all the code inside it. Rebuild avalondock, then try running it. It fixed all my issues.

 

jr

Jul 30, 2012 at 8:35 PM

This did nothing for me. I'm still having the issue. Anyone else run into this?