Bug 61198 - [Papercut] Double clicking a Label causes the cursor caret to go to the beginning of the text instead of highlighting it all
Summary: [Papercut] Double clicking a Label causes the cursor caret to go to the begin...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS Designer ()
Version: 4.8.0 (15.5)
Hardware: PC Windows
: Normal minor
Target Milestone: ---
Assignee: Pavel Yakovlev
Depends on:
Reported: 2018-01-31 18:13 UTC by John Miller [MSFT]
Modified: 2018-02-19 16:10 UTC (History)
6 users (show)

Tags: paper cut
Is this bug a regression?: No
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 61198 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:

Description John Miller [MSFT] 2018-01-31 18:13:51 UTC
## Overview

Drag a Label onto a view and double-click it to edit the text for the Label. The caret starts at the begging of the word Label. On VSMac, the entire text ("Label") is highlighted. The VSM behavior is ideal because it makes it quick to delete/replace the text. This is a small paper cut that is annoying. 

## Suggestion

Make the behavior consistent with how VSM behaves.
Comment 1 Sayed Ibrahim Hashimi 2018-01-31 18:43:42 UTC
Another benefit to this approach:
 - If I want to add something to the beginning, double-click and then left arrow key
 - If I want to add something to the end, double-click and then right arrow key

This is how WPF designer works. Our users have "muscle memory" here and we should be consistent.
Comment 2 Pavel Yakovlev 2018-02-19 16:10:11 UTC
PR: https://github.com/xamarin/designer/pull/624