Bug 35016 - Enter deletes componnents
Summary: Enter deletes componnents
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android Designer ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-10-17 14:47 UTC by petr.cech.robot
Modified: 2017-07-07 15:31 UTC (History)
5 users (show)

Tags: BZCU
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 on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description petr.cech.robot 2015-10-17 14:47:09 UTC
When I add a new component to axml designer and double-click it to change it's text, pressing ENTER deletes the control instead of confirmation
Comment 1 Al Clark [MSFT] 2015-10-21 05:30:07 UTC
Could you please confirm your full version information?

Visual Studio
"Help -> About Microsoft Visual Studio -> Copy Info [button]"

And also your IDE logs:

Help > Xamarin > Zip Xamarin Logs

It would also be really helpful if you could record a screencast of your steps:

http://www.screencast.com/

Thanks.
Comment 2 petr.cech.robot 2015-10-30 09:37:00 UTC
I've figured out why this happens. It occurs only when I press DELETE/BACKSPACE key and the problem is that VS doesn't delete only the text but whole control as well. It happens even without delete when the control is inside LinerLayout (horizontal).
If I'm not clear what I mean:
1. there is a control in visual axml designer (button or edittext)
2. I double-click it to edit it's text property
3. Text field appears instead of control (that's my intent)
4. I type something and use DELETE/ENTER/BACKSPACE key
5. I confirm the change by either clicking away or hitting ENTER
6. Whole control disappears even from XML code
Comment 3 Pierce Boggan [MSFT] 2017-07-07 15:31:58 UTC
Thanks so much for the report @Petr! I can confirm I am no longer able to reproduce this issue using the latest Visual Studio 15.3 preview builds. Marking this report as RESOLVED:
https://www.screencast.com/t/pXEfbrHi