Concurrency Bug in all editions of Visual Studio
secretGeek .:dot Nuts about dot Net:.
home .: about .: sign up .: sitemap .: secretGeek RSS

Concurrency Bug in all editions of Visual Studio

more than 1 visual studio open... settings will be gazumped

You often have more than one copy of visual studio open. When you change a setting in visual studio, the change will be wiped out if you close another copy of visual studio after you close the current one.

This is a frustrating bug, and one that could be addressed in simple ways. The best approach would be if settings were merged together. Say I've changed the C# settings in one instance of visual studio, and I've changed the tool box settings in another instance. There's no conflict there, so all settings could be merged together.

Okay, so that's difficult. How about if settings are only saved then they've been changed. That would be enough to fix a good percentage (perhaps the majority) of problems with concurrency.

The current "Last In Wins" approach is really out of place -- when you consider how much effort they've put into the rest of the settings architecture. There's at least fifteen pages about settings at msdn..





'Simon' on Wed, 25 Oct 2006 06:43:05 GMT, sez:

I'm glad it's not just me. I've been irritated by this for a while now.



'Locutus of Borg' on Wed, 25 Oct 2006 06:45:07 GMT, sez:

+1 SecretGeek
I mean, how hard is it to persist the options when you press OK on the options window?



'Russell' on Wed, 25 Oct 2006 13:08:17 GMT, sez:

No kidding. Pain in the ass. I shouldn't be THAT hard to have a shared config mechanism.



'Bill McCarthy' on Wed, 25 Oct 2006 19:33:27 GMT, sez:

But what if I really do want the last in wins behaviour ? In fact, isn't that going to be the more common scenario once you have things as you like ?

Take for example, you have your IDE all nicely setup, but then you have this one project you want to change settings for, such as debugging settings. You probably don't want that messing with any other instances of the IDE you have open.

Unfortunately the behaviour is inconsistant in that you can only "temporarily" apply changes if you have another instance open. IDeally you should be able to apply the changes to (1) this instance only, or (2) all instances.

In the case of (2), ideally there would be notification to any opne instances of the IDE, but this may be a bit more complex such as when you are in debug mode, and the change impacts on the debug information, hence requiring debugging to close and re-start. In those cases, perhaps a message box warning, and the option to delay the update till the mode changes, etc.



'lb' on Wed, 25 Oct 2006 21:39:47 GMT, sez:

Good to hear from ya Bill!

>ideally there would be notification to any
>open instances of the IDE

yeh -- i think this would be overkill. I'd be happy with any improvement on the status quo, without any risk of breaking things.

>for example, you have your IDE all nicely >setup, but then you have this one project >you want to change settings for, such as >debugging settings

then you'd have to change that setting back later! not too hard. maybe.

the alternative:

>be able to apply the changes to
>(1) this instance only,
>or (2) >all instances.

that sounds a bit like one of those nasty "in your face" type settings... didn't Word used to ask the same question whenever normal.dot changed? yuck... things...

i guess there could be a setting somewhere that says
"when i change settings:
(_) save them immediately or
(_) don't save them (just keep them for this instance) or
(_) save them at shut down time"








'AsbjornM' on Sun, 12 Nov 2006 12:02:15 GMT, sez:

This should be easy.. every instance should whatch the configuration, when it's changed eiterh from notepad (if possible), or other instance, then settings should be reloaded by other instances and merged there, then you would not have any strange behaviour when closing the last instance.




name


website (optional)


enter the word:
 

comment (HTML not allowed)


All viewpoints welcome. But the right to delete any post for any reason is reserved. Don't make me do it. Comments may be republished, emailed to your loved ones or printed and used as toilet paper. Who reads this legal bit anyhow?

TimeSnapper is a life analysis system that stores and plays-back your computer use. It makes timesheet recording a breeze, helps you recover lost work and shows you how to sharpen your act.

TimeSnapper won last year's Developer Competition at Larkware.com, and is used by over 10,000 people.

Articles

The Bluffer's Guide To Yegge: Business Requirements R Bullsh*t The Bluffer's Guide To Yegge: Business Requirements R Bullsh*t
Prototype Ready for Launch Prototype Ready for Launch
Idea: a poor man's eye-tracking heatmap for win forms Idea: a poor man's eye-tracking heatmap for win forms
'The Register' seems to have plagiarised Mary Jo Foley 'The Register' seems to have plagiarised Mary Jo Foley
A magic goal for software businesses A magic goal for software businesses
A to Z of Software Methodologies A to Z of Software Methodologies
TimeSnapper in Music! TimeSnapper in Music!
Fixing problems can give you a glimpse of something terrible Fixing problems can give you a glimpse of something terrible
Web Tablet: Toward Less Complexity Web Tablet: Toward Less Complexity
Do they store the code for TFS in TFS? Do they store the code for TFS in TFS?
Sudden TimeSnapper Discount! Sudden TimeSnapper Discount!
How Can Microsoft Beat Google? How Can Microsoft Beat Google?
TimeSnapper 3.1: Attack of the the Red/Green Stripes TimeSnapper 3.1: Attack of the the Red/Green Stripes
21 tools used in our MicroISV 21 tools used in our MicroISV
Lost Treasures of the DOS World: tree! Lost Treasures of the DOS World: tree!
The Virtual Machine Machine and the Virtual Virtual Machine The Virtual Machine Machine and the Virtual Virtual Machine
Should Linq To Sql Go Should Linq To Sql Go "Open Source"?
Redux: New Synchronisation Idea Overlooked By Microsoft Redux: New Synchronisation Idea Overlooked By Microsoft
New Synchronisation Idea Overlooked By Microsoft Live team New Synchronisation Idea Overlooked By Microsoft Live team
Visual Studio UX Taskforce, Office UX Taskforce... etc. Visual Studio UX Taskforce, Office UX Taskforce... etc.
How to be Jeff Atwood How to be Jeff Atwood

Archives .: secretGeek :: Complete Archives :.
25 steps for building a Micro-ISV 25 steps for building a Micro-ISV
3 minute guides -- babysteps in new technologies: powershell, JSON, watir, F# 3 Minute Guide Series
Top 10 SecretGeek articles Top 10 SecretGeek articles

Downloads

TimeSnapper -- Automated Screenshot Journal TimeSnapper.com    
Version 3.1: instant productivity profiles

ShinyPower (help with Powershell) ShinyPower
Now at CodePlex

Next Action NextAction
Managing the top of your mind



[powered by Google] 


World's Simplest Code Generator (html edition) World's Simplest Code Generator
Gradient Maker -- a tool for making background images that blend from one colour to another. Forget photoshop, this is the bomb. Gradient Maker
How to be depressed How to be depressed
You are not inadequate.



Recommended Reading

The Best Software Writing I
The Business Of Software (Eric Sink)

Recommended blogs

Jeff Atwood
Reginald Braithwaite
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Joel Pobar
Eric Sink
Joel Spolsky
Des Traynor

Aggregated Links

programming.reddit.com
dzone
dot net kicks

Human Link Machines

interesting finds
a continuous learner's weblog
arjan's world
n links today
new and notable
morning coffee
learning .net
weekly link post
(my del.icio.us account)

LinkedIn profile
 
home .: about .: sign up .: sitemap .: secretGeek RSS .: © Leon Bambrick 2006 .: privacy

home .: about .: sign up .: sitemap .: RSS .: © Leon Bambrick 2006 .: privacy