Bug 489 - Window changes position when opening file in Solution Pane or Go To File
Summary: Window changes position when opening file in Solution Pane or Go To File
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Shell ()
Version: 2.6 RC 1
Hardware: PC Windows
: Normal minor
Target Milestone: Future Cycle (TBD)
Assignee: Bugzilla
Depends on:
Reported: 2011-08-27 07:20 UTC by jsmith25819
Modified: 2016-12-16 17:21 UTC (History)
5 users (show)

Tags: GtkWindows gtk
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 489 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description jsmith25819 2011-08-27 07:20:47 UTC
I'm not sure if this is by design, definitely annoys me. Couldn't find an existing bug, apologies if it's already here.

On a fresh install of Windows 7.

* I maximise the window, or place it to fill the left half of the screen (by dragging it to the left edge of the monitor).
* I double-click or press enter to open another document from the "Solution" pad.
* The window is restored to a different position, no longer maximised or filling the left half of the screen.

Expected: The window not to move when changing which document is open. Note that performing the same document switch through the Window menu or Ctrl-Tab does not move the window.
Comment 1 Mikayla Hutchinson [MSFT] 2011-08-27 07:33:06 UTC
It's not by design. AFAICT it's caused by GTK not updating the window state correctly when it's maximized or half-maximized using the new Windows 7 commands. It doesn't happen if you maximise "old-style" with the window's maximize button.
Comment 2 Mikayla Hutchinson [MSFT] 2012-01-06 19:22:43 UTC
I committed a workaround in MD some time ago but the underlying GTK issue remains, so leaving the bug open.