Bug 6050 - Double-clicking search results entry that is a layout file opens the file in Content mode...
Summary: Double-clicking search results entry that is a layout file opens the file in ...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: 7.1 (d15-3)
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jérémie Laval
Depends on:
Reported: 2012-07-09 14:20 UTC by Justin
Modified: 2017-07-18 16:25 UTC (History)
1 user (show)

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 6050 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 Justin 2012-07-09 14:20:53 UTC
If I search the entire project for a string and get an entry that points to an Android layout file, double-clicking that item causes the layout designer to open in content view.

It should open in Source view, with the cursor at the location of the found search string.

Also, after opening in Content view, when I switch to Source view, the cursor is not at the search location, causing me to have to search again locally in the file for the desired string.
Comment 1 Jon Douglas [MSFT] 2017-07-18 16:25:25 UTC
I can CONFIRM this behavior still exists in Visual Studio for Mac 7.1 (Preview).

I believe Justin's comment in https://bugzilla.xamarin.com/show_bug.cgi?id=6050#c0 still holds.

The behavior of this should really be enhanced for productivity sake in the means of letting the user take immediate action rather than having to switch to the Source tab AND find their line number. The search already provides the exact File and Line Number, so we should leverage that.