Quantcast
Channel: AvalonDock
Viewing all articles
Browse latest Browse all 2690

Commented Issue: [2.0] Close button on inactive tab closes active item [14812]

$
0
0
I noticed this behavior in MVVMTestApp. It doesn't happen in TestApp. Normally the close button [X] is only displayed on the active tab. When the mouse hovers over an inactive tab, the close button appears for that one also. Instead the active tab for that group is closed. I would expect that clicking the close button for the inactive tab would result in the inactive tab being closed.

edit: I just noticed that the behavior is not consistent. Sometimes it works as expected. Maybe it has something to do with a combination of new "Noname*" tabs and opened file tabs.
Comments: ** Comment from web user: adospace **

Hi,
I suppose the problem is with my sample project MVVMTestApp. If you look at the close button handler in the workspace view model, it seems that it closes the active content instead of the content passed with the parameter.
If so I'll correct in next changeset,
Ado


Viewing all articles
Browse latest Browse all 2690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>