Skip to content

[Bug] focussing the "open in separate window" window also focusses the main window #2437

@mithom

Description

@mithom

When you have a separate window open to view the changes in a commit (probably for the others as well), and you focus the window, the main sourcegit window will also ask for focus, making it go on top of other windows.
This is very annoying when you have either a multi-monitor setup or using the windows on only part of your screen.

example:
If you have other programs open on the same screen as the main sourcegit window, and you create a separate window on the second screen.
Give focus to one of the other programs and then click back into the separate window. You will notice the main sourcegit window popping up above the other programs even though you are not interacting with that window.

suggestion:
this is probably due to 'ownership' of the separate window by the main window. Personally i would prefer if there is no real connection in this way between the 2 windows as the second window has all the context it needs and isn't relying (from a user standpoint) on the main window.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions