OpenCppCoveragePlugin icon indicating copy to clipboard operation
OpenCppCoveragePlugin copied to clipboard

Double clicking required to activate buttons and checkboxes

Open michalfita opened this issue 6 years ago • 4 comments

To activate Toggle projects selection button or any checkbox above, I have to double click every widget. First grabs focus, second allows to invoke the action. Same applies to filter rows in next tab, first click grabs focus, second enable edition. This is annoying.

Is there some weird focus grabbing layer implemented for this dialogue window?

I'm using Visual Studio 2017 15.9.9, but that happened in a few previous versions of 2017 either. I'm using the OpenCppCoveragePlugin only recently.

michalfita avatar Mar 22 '19 20:03 michalfita

Hello,

Sorry for my late anwser. Indeed, when you click on a cell, you enter in edit mode and then you can update the value. Do you know a better way to do it in WPF?

OpenCppCoverage

OpenCppCoverage avatar Dec 01 '19 09:12 OpenCppCoverage

I don't do WPF, so I don't know. From UX perspective is very unnatural, most forms I'm using require just one click to select the field as I don't need to click them for anything else than edition.

michalfita avatar Dec 02 '19 14:12 michalfita

Indeed, it is not very natural. I think it is less annoying now, as settings are saved, but I will try to see if I can do something about it.

OpenCppCoverage avatar Dec 08 '19 21:12 OpenCppCoverage

The DataGrid used for the project list is suitable for an Excel-like editing experience of data.

A much simpler control like ListBox might be more appropriate. I did a quick example at https://github.com/OpenCppCoverage/OpenCppCoveragePlugin/compare/master...tomv564:simpler-project-selection-box

Let me know if you'd like help with this!

tomv564 avatar Jun 26 '20 09:06 tomv564