Bug 61022 - When editing code during live run Error List is taking focus on every error
Summary: When editing code during live run Error List is taking focus on every error
Status: IN_PROGRESS
Alias: None
Product: Live Player
Classification: Xamarin
Component: IDE Extension ()
Version: 1.2.X
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-12-07 15:31 UTC by Tomasz Wiśniewski
Modified: 2018-01-14 02:01 UTC (History)
2 users (show)

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


Attachments
Version report (3.57 KB, text/plain)
2017-12-07 17:42 UTC, Tomasz Wiśniewski
Details
Screen recording of the bug (90.66 KB, image/gif)
2018-01-14 02:01 UTC, Luciano Tres
Details


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 61022 on Developer Community 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
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.
Related Links:
Status:
IN_PROGRESS

Description Tomasz Wiśniewski 2017-12-07 15:31:23 UTC
When we run current xaml page with Live Run and start adding something, like a new label, error appears in Error List window. The error itself is fine, but Error List takes focus and we can't continue writing our code. We have to click on code editor or use ctrl + tab to switch to it. It happens all the time on every single error which makes it very difficult to edit code during Live Run.

Steps to reproduce:
1. Create new Xamarin.Forms project.
2. Open MainPage.xaml and Live Run it.
3. Start adding some code, for example start writing "<StackLayout", but don't add the ">" at the end.
4. Notice that Error List appears and takes focus. Focus it no longer in code editor.

I know there is option in Visual Studio in Tools -> Projects and Solutions -> General -> "Always show Error List if build finishes with errors". I disabled it, but Error List is still showing as described above. I'm not sure if this is Visual Studio problem or the extension. It would also be nice to see the errors, but without taking focus from code editor.

Visual Studio 15.5.0
Xamarin 4.8.0.752
Comment 1 James Montemagno [MSFT] 2017-12-07 17:31:41 UTC
Hey there! Thanks for reporting this. Can you dump out the full version history in VS 2017 for me so I can send it back.

I usually doc my error list at the bottom, but I thought that we cleaned it up to not do this. I will report to the team right now.
Comment 2 Tomasz Wiśniewski 2017-12-07 17:42:47 UTC
Created attachment 25938 [details]
Version report
Comment 3 Luciano Tres 2018-01-14 02:01:22 UTC
Created attachment 26084 [details]
Screen recording of the bug

Same thing here. It's annoying, I've to stop live player to continue writing.