project-system icon indicating copy to clipboard operation
project-system copied to clipboard

We need a setting to define the what double clicking project does

Open sharwell opened this issue 7 years ago • 64 comments

Version: 16.0 Preview 2

Steps to reproduce:

  1. Open a solution with a CPS-based C# project
  2. Double click to expand the project in Solution Explorer.

Expected results:

The project expands in Solution Explorer.

Actual results:

The project does not expand in Solution Explorer, and instead the project opens.

📝 I was aware of the behavior change but avoided filing this issue until I actually hit it by accident. It happened within 5 minutes of installing Preview 2.

sharwell avatar Jan 24 '19 04:01 sharwell

Thanks for the feedback! Part of our rationale for shipping this feature, and the rest of project file editing improvements, in a preview release was to gauge the response from our users before the final release. Please keep us updated if your opinion changes at all as you use the preview more and potentially get used to the new experience.

Out of curiosity do you have the "Allow new files to be opened in the preview tab" turned on, and if so do you find that experience with the project file a positive or negative one?

davidwengier avatar Jan 24 '19 05:01 davidwengier

Out of curiosity do you have the "Allow new files to be opened in the preview tab" turned on, and if so do you find that experience with the project file a positive or negative one?

That was weird but not disruptive. Double clicking was the problematic case, especially in a solution where projects are nested in solution folders (double clicking the folders expands them but then things break when you get to the project).

sharwell avatar Jan 24 '19 14:01 sharwell

I believe the Regression label is accurate regardless of the resolution of the issue. This behavior works in Visual Studio 2005, 2008, 2010, 2012, 2013, 2015, 2017, and 2019 Preview 1.1. It broke in Visual Studio 2019 Preview 2, which is a clear behavior regression relative to the preceding 8 versions.

sharwell avatar Jan 24 '19 14:01 sharwell

Not sure if we have a label for this, but I think the classification would be "Intentional behavior change", since regression indicates something is unexpected. We mention it in two places:

Our aim here is to collect feedback wherever possible - GitHub, Blog comments, Twitter, DevCom - and make a call based on that feedback.

cartermp avatar Jan 25 '19 05:01 cartermp

@333fred You had similar feedback, can you +1 above?

davkean avatar Jan 25 '19 05:01 davkean

Done. I still get frustrated with this several times per week.

333fred avatar Jan 25 '19 15:01 333fred

I find that this disrupts my flow as well. It'll be good to make sure there's an option to change the behavior at least.

srivatsn avatar Jan 29 '19 06:01 srivatsn

@srivatsn Do you mind following up in a week and see if you feel the same way? I found it disrupted too first few times too. Sounds like it still disrupts Fred's usage though.

davkean avatar Jan 29 '19 10:01 davkean

I'm still hitting this.

sharwell avatar Jan 29 '19 12:01 sharwell

This issue will track the work for adding a setting to change the behavior of double clicking.

jjmew avatar Jan 30 '19 01:01 jjmew

Updated the title to reflect what we are tracking

jjmew avatar Jan 30 '19 01:01 jjmew

@srivatsn Do you mind following up in a week and see if you feel the same way?

A week later - still end up double-clicking expecting to open the node.

srivatsn avatar Feb 05 '19 17:02 srivatsn

Same here

sharwell avatar Feb 05 '19 17:02 sharwell

We're looking at exposing an option that will revert to the previous behavior.

davkean avatar Feb 05 '19 21:02 davkean

Same for me, annoying change.

ghost avatar Feb 06 '19 08:02 ghost

A quick status update: Preliminary work has been completed to add an option to disable the double-click behaviour, we are waiting on the UX review process to confirm exactly where the option should go, and as a consequence how it should work.

davidwengier avatar Feb 06 '19 21:02 davidwengier

Internal PR for the functionality: https://devdiv.visualstudio.com/DevDiv/_git/CPS/pullrequest/161623 Internal PR for the option UI (pending review): https://devdiv.visualstudio.com/DevDiv/_git/VS/pullrequest/163306

davidwengier avatar Feb 07 '19 01:02 davidwengier

Is there any update on this request ? we need the option to disable this feature.

Tamer-Gamal avatar Feb 28 '19 15:02 Tamer-Gamal

Please remove this 'feature', it is absolutely annoying as it interrupts the workflow. For at least 15 years we have been working in such a way that a double click on the project expands it in the Solution Explorer. Now the project file opens for editing. Question: what is probably done more often: extending a project to navigate to the particular files, or manually editing the project file? I clearly think the first one. Please make this at least configurable. The behaviour is absolutely horrible at the moment...

eismue avatar Mar 19 '19 07:03 eismue

How often do you edit project files manually? Most probably do it once, yes once, in 6 months. But how often do you expand/collapse projects? Hundreds of times a day?

Here's another "great" idea for the next update - why don't you make double clicking on a folder to open it in explorer, some weird mind might find that behavior useful.

kovachev avatar Mar 23 '19 21:03 kovachev