Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Focusing out/into VisualStudio changes the default focused element on the UI #6797

Closed
migueldeicaza opened this issue Dec 19, 2018 · 8 comments

Comments

@migueldeicaza
Copy link
Contributor

migueldeicaza commented Dec 19, 2018

Repro steps

Make sure you have a second app running, like a browser that can be tabbed into
Make sure the text editor is open and focused, type "class Foo"
Press Command-Tab to switch focus from the IDE to the browser
Press Command-Tab to switch back to the IDE
Attempt to type: you will notice that the editor is no longer focused, and the input goes somewhere else.

Scenario

This happens a lot when I am porting code, and I have to switch from VSMac to other tools (Safari, Emacs, Terminal).

I provided an attachment (large) for internal use on an older version of this bug (as I think I did not file it properly):

VS bug #754535

@Therzok
Copy link
Contributor

Therzok commented Dec 19, 2018

Attached miguel's screen recording from the other bug to the automated one, and removed the link from the description (for people who want the old one, here it is https://devdiv.visualstudio.com/DevDiv/_workitems/edit/753804)

@Therzok
Copy link
Contributor

Therzok commented Jan 7, 2019

Doing some investigations:

  • When the app focuses back in: MonoDevelop.SourceEditor.QuickTasks.QuickTaskOverviewMode is the focused widget
  • just pressing tab after the focus is in, we cycle through the top bar items (run button, statusbar, etc)

Seems related to a11y. cc @mkrueger @iainx

@Therzok
Copy link
Contributor

Therzok commented Jan 9, 2019

It's not just an editor problem, I can see it exhibit in the solution pad and treeview too.

cc @slluis @bratsche

@xamarin-release-manager
Copy link
Contributor

[sync] [VS-16] Comment by xamarinc

Fixed in version 8.0.0.1115 (master)

Pull Request #6845 merged by: Lluis Sanchez
Author: mono
Commit: 8bfc86a (mono/monodevelop)

@xamarin-release-manager
Copy link
Contributor

[sync] [VS-20] Comment by xamarinc

Fixed in version 8.0.0.1135 (release-8.0)

Pull Request #6845 merged by: Lluis Sanchez
Author: mono
Commit: 8bfc86a (mono/monodevelop)

@xamarin-release-manager
Copy link
Contributor

[sync] [VS-22] Comment by xamarinc

Fixed in version 7.8.0.1544 (release-7.8)

Pull Request #6870 merged by: Lluis Sanchez
Author: mono
Commit: 5908079 (mono/monodevelop)

@xamarin-release-manager
Copy link
Contributor

[sync] [VS-24] Comment by xamarinc

Fixed in version 8.0.0.1738 (release-8.0)

Author: therzok
Commit: 4153fdc (xamarin/monodevelop)

@xamarin-release-manager
Copy link
Contributor

[sync] [VS-30] Comment by xamarinc

Fixed in version 8.6.0.802 (master)

Pull Request #6845 merged by: Lluis Sanchez
Author: mono
Commit: 8bfc86a (xamarin/monodevelop)

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

No branches or pull requests

4 participants