madskristensen / MarkdownEditor2022

A Visual Studio extension
Apache License 2.0
168 stars 36 forks source link

Solution Explorer not visible in MarkdownEditor window in VS 2022 Community #99

Open FolkerKinzel opened 1 year ago

FolkerKinzel commented 1 year ago

Describe the bug In Microsoft Visual Studio Community 2022 (64-Bit) - Version 17.7.1 the solution explorer is not visible when opened inside a MarkdownEditor window. (Only the scrollbars of the Solution Explorer are shown.)

To Reproduce Steps to reproduce the behavior: Put the Solution Explorer to the right side of the Editor window and set its visibility to automatically hide.

Expected behavior The solution Explorer should be visible after clicking on the field "Solution Explorer". ("Projektmappen-Explorer" in my screen shot.)

Screenshots Solution Explorer visibility in a normal text editor window: solution explorer shown

Solution Explorer visibility in a MarkdownEditor window: solution explorer not shown

MV10 commented 1 year ago

This is not specific to Solution Explorer (which I happen to dock on the left). The preview window overlaps other docked windows too. In the example shown below Task List is docked to the bottom of the window, but with an MD file open the right half is chopped off by the preview window. It appears they must be (a) docked to the edge (not tied to one of the other layouts "deeper" inside) and (b) unpinned. Pinned windows always show up, and if I undock the window it'll overlap the preview -- and stay overlapped even after I dock it again -- until I hide it and bring it back.

image

FolkerKinzel commented 1 year ago

Thanks for Your answer. If this is intended behavior feel free to close the issue. I think it's not an optimal solution for the usability of Visual Studio: If an md file is the only file that is open someone might run into problems to open any other file of the solution. (The rescue could be to open the Test Explorer with the menu.)

MV10 commented 1 year ago

I'm just a user like you, I was just adding some details for Mads that I hoped might be helpful.

pharring commented 1 year ago

The MD preview pane overlaps any auto-show toolwindow. This is a WPF z-ordering bug in the MD preview panel.