Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DocumentWindow instead of ToolWindow #471

Open
Chris-Tophski opened this issue Apr 10, 2022 · 5 comments
Open

DocumentWindow instead of ToolWindow #471

Chris-Tophski opened this issue Apr 10, 2022 · 5 comments

Comments

@Chris-Tophski
Copy link

Is your feature request related to a problem? Please describe.
During debugging Visual Studio switches its view forth and back and then often the ResX Manager window comes to front and covers other code windows. You'll experience this with a multi monitor setup and if you have all monitors occupied by other code windows and additionally the ResX Manager open. I docked it to one of the windows, but then its behavior was similarly annoying. Googling didn't tell me anything about a possibly already implemented functionality.

Describe the solution you'd like
Describe alternatives you've considered
Currently I'm exploring AvalonDock for a while and I noticed that this behavior there and in Visual Studio (while very similar overall) seems to slightly differ between DocumentWindows and ToolWindows (or how ever they are called respectively) in that DocumentWindows work as expected and don't annoy. So I think it would be nice to switch from ToolWindow to DocumentWindow to mitigate the problem or at least to have an option or command to change this mode.

@tom-englert
Copy link
Collaborator

So then what would be the document to open?

@tom-englert
Copy link
Collaborator

Why not just close it in debug layout?

@Chris-Tophski
Copy link
Author

Not sure what the document would be, as the extension basically edits several documents (resource files) at once and I'm not aware of how to handle this in a VS extension. My last attempts to develop an extension was years ago and I don't really remember how far I've come there.

My description above may not be concise enough, sorry. The ResX window is blocking the view after debugging or when I refocus VS coming from another application like the browser or something. In some cases I'd rather have the ResX window shown during debugging (like checking for missing keys) but not always. Your comment on closing in debug layout, however, has given me a hint on this point, thank you. Still, a DocumentWindow wouldn't change its visibility when I start or stop debugging, wouldn't it?

@tom-englert
Copy link
Collaborator

I've never seen a different behavior.
Maybe better address this to Visual Studio?

@Chris-Tophski
Copy link
Author

Maybe. Thanks anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants