Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Enlarge the hit area around the gutter icons to make them easier to click on?
Peter Mounce
#1 Posted : Tuesday, June 25, 2013 12:28:14 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/18/2012(UTC)
Posts: 15
Location: London, UK

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
I find it very difficult to click on the gutter icons to get the context menu that allows me to trigger ncrunch actions.

Would it be possible to make the hit-detection area a bit bigger? It seems like one has to be over the pixels of the icon; the background does not appear to be clickable (which makes it especially difficult for me to click "break into first failing test" on the red-x'd line icons).
1 user thanked Peter Mounce for this useful post.
Remco on 6/25/2013(UTC)
Remco
#2 Posted : Tuesday, June 25, 2013 10:30:16 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,986

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi Peter,

Thanks for the feedback. Have you tried changing the 'Coverage marker style' setting in the global configuration? The size of the marker is also determined by its shape. If you choose the largest marker (Rectangle) the hitbox will expand accordingly - at least, it will for the non-X markers.

Cheers,

Remco
Peter Mounce
#3 Posted : Wednesday, June 26, 2013 10:31:22 AM(UTC)
Rank: Member

Groups: Registered
Joined: 1/18/2012(UTC)
Posts: 15
Location: London, UK

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Hi Remco

I hadn't. I tried it, but that doesn't help much. I've seen that with rectangles, the outline of the rectangle is hittable, but the internal is not. When I hover over the internal, the cursor swaps from a pointer to a caret, and the click falls through to the editor rather than the icon.

Having experimented, the vertical line is the most clickable - but still not very.

Cheers
Pete
Remco
#4 Posted : Wednesday, June 26, 2013 12:17:07 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,986

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Thanks Pete. This doesn't sound like behaviour by design. Which version of Visual Studio are you running? Do you have any other plugins installed?
Peter Mounce
#5 Posted : Wednesday, June 26, 2013 12:51:17 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/18/2012(UTC)
Posts: 15
Location: London, UK

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
I have VS2012 Professional on Windows 2008 R2 x64.

Here is VS' about window info copied:
Quote:
Microsoft Visual Studio Professional 2012
Version 11.0.60315.01 Update 2
Microsoft .NET Framework
Version 4.5.50709

Installed Version: Professional

LightSwitch for Visual Studio 2012 04938-004-0033001-02315
Microsoft LightSwitch for Visual Studio 2012

Office Developer Tools 04938-004-0033001-02315
Microsoft Office Developer Tools

Team Explorer for Visual Studio 2012 04938-004-0033001-02315
Microsoft Team Explorer for Visual Studio 2012

Visual Basic 2012 04938-004-0033001-02315
Microsoft Visual Basic 2012

Visual C# 2012 04938-004-0033001-02315
Microsoft Visual C# 2012

Visual C++ 2012 04938-004-0033001-02315
Microsoft Visual C++ 2012

Visual F# 2012 04938-004-0033001-02315
Microsoft Visual F# 2012

Visual Studio 2012 Code Analysis Spell Checker 04938-004-0033001-02315
Microsoft® Visual Studio® 2012 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Visual Studio 2012 SharePoint Developer Tools 04938-004-0033001-02315
Microsoft Visual Studio 2012 SharePoint Developer Tools

AttachTo 1.0
Adds "Attach to IIS" and "Attach to NUnit" Tools menu commands.

AWS Toolkit for Visual Studio 2012 1.5.2.1
AWS Toolkit for Visual Studio 2012.
Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.

This software includes third party software subject to the following copyrights:
- WPF Toolkit for charting and grid controls, Microsoft Public License (Ms-PL)
[http://wpf.codeplex.com/license]
- Logging from log4net, Apache License
[http://logging.apache.org/log4net/license.html]
- Putty for PPK to PEM conversion, MIT license
[http://www.chiark.greenend.org.uk/~sgtatham/putty/licence.html]
- NGit for AWS Elastic Beanstalk incremental push
[https://github.com/mono/ngit/blob/master/NGit.license.txt]
- NSch dependency for NGit
[https://github.com/mono/ngit/blob/master/NSch.license.txt]
- Sharpen dependency for NGit
[https://github.com/mono/ngit/blob/master/Sharpen/AssemblyInfo.cs]
- ICSharpCode.SharpZipLib dependency for NGit
[http://www.icsharpcode.net/opensource/sharpziplib/]
- Mono.Posix.dll and Mono.Security.dll dependencies for NGit
[http://mono-project.com/FAQ:_Licensing#Licensing]
- MPFProj for Visual Studio Project Framework
[http://mpfproj10.codeplex.com/license]
- JSONLint for JSON validation
[https://github.com/zaach/jsonlint/blob/master/README.md]
- Noesis.Javascript.dll for JSON validation
[http://javascriptdotnet.codeplex.com/license]

Chutzpah 2.4.1
A JavaScript unit test runner

Chutzpah Test Adapter for Visual Studio 2012 2.4.1
Chutzpah adapter for the Visual Studio 2012 Unit Test Explorer. Chutzpah is an open source JavaScript test runner which enables you to run JavaScript unit tests from the command line and from inside of Visual Studio.

Code alignment 9.0
Code alignment is a practice for formating your code.
Based on principals from maths and other displines, code alignment gives extra meaning to your code by lining up similar code parts into columns.
This is a practice everyone performs on most data using tables and spreadsheets, but unfortunately doesn't get applied to code often enough.

Git Source Control Provider 1.0.0.0


Indent Guides 13
Indent Guides

Adds visual guides at each indentation level.

JavaScript Parser 1.0
Add-In for Visual Studio for improve support for javascript

JetBrains dotCover 2.2 Full Edition build 2.2.515.8 on 2012-11-20T02:10:12
JetBrains dotCover 2.2 package for Microsoft Visual Studio. For more information about dotCover, visit http://www.jetbrains.com/dotcover/. Copyright © 2009–2013 JetBrains, Inc.

JetBrains ReSharper 7.1.3 C# Edition build 7.1.3000.2254 on 2013-04-10T16:48:18
JetBrains ReSharper 7.1.3 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2013 JetBrains, Inc.

JetBrains TeamCity Addin 7.1 build 7.1.687.137 on 2013-04-12T20:06:30
JetBrains TeamCity Addin 7.1 package for Microsoft Visual Studio. For more information about TeamCity, visit http://www.jetbrains.com/teamcity/. Copyright © 2000–2013 JetBrains, Inc.

Mindscape Web Workbench 1.0
Accelerate and simplify your Web development experience with Visual Studio integrated Sass, Less and CoffeeScript support

NCrunch
Continuous Testing Tool for .NET
Copyright © 2010-2012 Remco Software Ltd

NuGet Package Manager 2.5.40416.9020
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer 1.0
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools 11.1.20905.0
Microsoft SQL Server Data Tools

Visual Studio 11 Editor Extension 1.0
Information about my package

VisualSVN 3.5.0
Integration with Subversion version control. For more information about VisualSVN, see the VisualSVN website at http://www.visualsvn.com
Copyright © 2005-2013 VisualSVN Ltd. All rights reserved.

VSColorOutput 1.4.3
Color output for build and debug windows - http://blueonionsoftware.com/vscoloroutput.aspx

Web Developer Tools 1.2.40308.0
Microsoft Web Developer Tools contains the following components:
Page Inspector: Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.
Web Publishing: Extensions required for Web Publishing for both hosted servers as well as on premises.
Web Form Templates: Includes the default templates for Web Form Applications.
Editor Extensions: Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.

Windows Azure Tools October 2012
Windows Azure Tools for Microsoft Visual Studio 2012 - October 2012 v1.8.51019.1603

SQL Prompt 5
For more information about SQL Prompt, see the Red Gate website at
http://www.red-gate.com
For customer support, call 1-866-733-4283.
Copyright © 2006–2009 Red Gate Software Ltd

TestDriven.Net 3.2 Beta 2 Enterprise
Development by Jamie Cansdale <jamie.cansdale@testdriven.net>. Copyright (c) 2002-2010 Mutant Design Limited. For more information, see the TestDriven.Net website at http://www.testdriven.net/.
Remco
#6 Posted : Thursday, June 27, 2013 12:01:39 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,986

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Would you be able to try disabling the following plugins to see if this makes any difference?

-Code Alignment 9.0
-Indent Guides 13

Also, when working in the editor, do you usually operate at a zoom level that isn't 100%? Does zooming in very closely give you any detailed information about how the hitboxes are arranged over the markers?
Peter Mounce
#7 Posted : Thursday, June 27, 2013 9:12:00 AM(UTC)
Rank: Member

Groups: Registered
Joined: 1/18/2012(UTC)
Posts: 15
Location: London, UK

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
I've disabled those two extensions; no difference.

If I zoom in (I usually use size 10 Consolas within a 2560x1440 resolution) to 177%, I can see that the hitbox follows the icon outline instead of the rectangle that the icon is limited by. The cursor still turns into a caret when it's over the inside of the icon.
Remco
#8 Posted : Friday, June 28, 2013 1:25:34 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,986

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
According to your description, this is definitely defective behaviour. The contents of the rectangle marker itself should be clickable, and unfortunately this seems to be the case in all of my test environments. This may be a very difficult issue to track down as I feel that there is something in your environment that is causing this difference in behaviour. I'm wondering if there may be some steps we can take to try and narrow down why this is happening.

Does the rectangle marker have a solid fill?

Do you have any colleagues that use NCrunch in a similar environment? If so, do they also experience this issue?

Do you, by chance, have VS2010 installed? If so, does NCrunch display the same behaviour in this version of Visual Studio?

Do you have any other installed products or custom UI configuration that could be considered unusual?
yanglee
#9 Posted : Friday, June 28, 2013 4:49:35 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/25/2012(UTC)
Posts: 89
Location: China

Thanks: 23 times
Was thanked: 19 time(s) in 18 post(s)
I experienced a similar but slightly different issue before: Markers of some tests are completely not clickable.

It was fixed by following Remco's instruction:

1. Uninstall NCrunch;
2. Reboot and run 'devenv.exe /setup' to reset the VS extension cache;
3. Reinstalling NCrunch;
Remco
#10 Posted : Friday, June 28, 2013 7:37:33 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,986

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi Peter -

Yang's suggestion has a good chance of solving this problem. As you have a number of extensions installed, it's possible that there are inconsistent overlaps inside VS's adornment layers caused by erroneous caching and/or extension clashing. Reinstalling NCrunch can reset the adornment layers and may solve the issue. I'm eager to hear if this does the trick.
Peter Mounce
#11 Posted : Friday, June 28, 2013 1:34:54 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/18/2012(UTC)
Posts: 15
Location: London, UK

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Sadly, that also didn't work for me :(
Remco
#12 Posted : Friday, June 28, 2013 11:39:30 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,986

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Peter, I'm wondering if we can take this issue off the forum for the time being so that I can issue you with a diagnostic build to find out why this is behaving so strangely on your system.

Would you be able to get in touch via the Contact form with an address I can use to contact you? I hope to have something ready for you to try out in the coming week. Please do let me know if this would work for you.


Cheers,

Remco
Peter Mounce
#13 Posted : Monday, July 1, 2013 9:06:07 AM(UTC)
Rank: Member

Groups: Registered
Joined: 1/18/2012(UTC)
Posts: 15
Location: London, UK

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Sure; done.
Remco
#14 Posted : Wednesday, July 3, 2013 1:09:42 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,986

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
For anyone interested, Peter managed to find that the indicator hit boxes were being impeded by the visible whitespace being turned on in Visual Studio. The rendered whitespace tends to sit on top of the markers, making them hard to click. If you experience this problem, please turn off visible whitespace in Visual Studio.
1 user thanked Remco for this useful post.
yanglee on 7/3/2013(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.121 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download