Bug 3169 - Watch window: three clicks required to add a new watch
Summary: Watch window: three clicks required to add a new watch
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: Trunk
Hardware: PC Mac OS
: Low enhancement
Target Milestone: ---
Assignee: Cody Russell
URL:
Depends on:
Blocks:
 
Reported: 2012-02-01 06:25 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2015-04-28 03:45 UTC (History)
4 users (show)

Tags:
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 or GitHub 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 Rolf Bjarne Kvinge [MSFT] 2012-02-01 06:25:55 UTC
In the watch window some times three (or more) clicks are required to add a new watch.

Repro:

1) Add a new watch variable, select it.
2) Click the last line, where it says "Click here to add a new watch" to select it.
3) Quickly follow the instructions (i.e. click there to add a new watch).
4) Nothing happens.
5) Wait a bit, get frustrated, double click.
6) Nothing happens.
7) Realize that a single click is required, so click just once.
8) Edit box to add new variable shows up!

This all seems to come from the fact that it is not possible to double-click to add a new watch, only single-click (since 4) only happens if 2) and 3) are done in quick succession).
Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-02-01 06:34:04 UTC
Actually, once the "Click here to add a new watch" line is selected, just typing should allow you to add a new watch
Comment 2 Rolf Bjarne Kvinge [MSFT] 2012-02-01 06:35:51 UTC
And double-clicking should also be allowed to edit already created watches
Comment 3 Mark Foley 2012-12-11 18:48:16 UTC
+1 - it should just allow you to highlight an expression in the editor, right click and say 'add watch'.  The expression evaluator available in the right click menu is more relevant as a panel than a popup.
Comment 4 Jeffrey Stedfast 2013-06-06 15:02:45 UTC
FWIW, I added drag&drop of text from the text editor into the Watch pad as a way to add watches a while back...
Comment 5 David Karlaš 2015-04-28 03:45:47 UTC
Fixed in master(6.0.0.475)