-
Notifications
You must be signed in to change notification settings - Fork 21
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
Mouse navigation does not work correctly when viewing documents side-by-side #4
Comments
Hi @thomaskrowe, Thanks for taking the time to report this, complete with steps to reproduce the issue. I agree that multiple windows side-by-side is a common scenario. In fact, I'm using that feature right now. 😄 💭 I haven't looked into the specifics or tested this, but my guess is clicking the mouse buttons is setting focus to the window underneath the mouse pointer, changing the meaning of "back" and/or "forward" right at the time you are trying to execute the command. It's a pretty simple extension; I'm going to mark this up for grabs in case someone else wants to find a solution before I'm able to get to it. If this turns out to be the actual cause, I'm going to guess it's also the underlying cause of #3. |
I'm looking at fixing this. Before I do so, I'd like to ask the following so that I don't screw anything else up: what was the reasoning of overriding |
I'm not sure. It's been in place for a long time: |
That does seem to be the issue, from my investigation. The "quick" fix that I was hoping for, of changing the method that is overridden to |
Steps for reproducing this issue:
The first couple of backnavs will work correctly. However, as soon as the cursor moves back to the right window, one will not be able to do any more backnavs. By hovering the mouse over the right window one will be able to do some more backnavs, until the cursor moves back to the left window.
This behavior differs from the behavior that Visual Studio exhibits when one uses the Navigate Backward menu button or the corresponding keyboard shortcut.
Unfortunately, this probably limits the usability of this extension for users with large monitors (which become more and more common nowadays) who are usually editing multiple documents in side-by-side view.
The text was updated successfully, but these errors were encountered: