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 Utterly Thorough Guide To Awesome Application Compatibility on Windows 7. The Utterly Thorough Guide To Awesome Application Compatibility on Windows 7.
Astounding Hyperlinked Noticeboard Astounding Hyperlinked Noticeboard
Three Questions About Each Bug You Find Three Questions About Each Bug You Find
Recursing over the Pareto Principle... Recursing over the Pareto Principle...
Sometimes, The Better You Program, The Worse You Communicate. Sometimes, The Better You Program, The Worse You Communicate.
A Non Warning, from Windows XP A Non Warning, from Windows XP
In the enterprise, nothing is what it seems In the enterprise, nothing is what it seems
How to get a Free iPhone How to get a Free iPhone
10 Simple Rules To Follow In Case Your Software Becomes Self-Aware 10 Simple Rules To Follow In Case Your Software Becomes Self-Aware
Your next text editor is... MetaNote! Your next text editor is... MetaNote!
Further proof that testing is for wimps and bad programmers Further proof that testing is for wimps and bad programmers
Drowning in things to do Drowning in things to do
Small Moments in Software Philosophy Small Moments in Software Philosophy
Differentiating between environments within SQL Server Management Studio Differentiating between environments within SQL Server Management Studio
My code would suck less if... My code would suck less if...
"Architect" is a swear word
Plugins! Plugins! Plugins! It must be TimeSnapper 3.4 Plugins! Plugins! Plugins! It must be TimeSnapper 3.4
Age Old Questions: Resolved! Age Old Questions: Resolved!
Test First Development and Making a Cake Test First Development and Making a Cake
A 3 minute guide to embedding IronPython in a C# application A 3 minute guide to embedding IronPython in a C# application
Low Frustration Tolerance: Curse and Blessing Low Frustration Tolerance: Curse and Blessing
Handy cheat sheet for Visual Source Safe Handy cheat sheet for Visual Source Safe
Found Time! Found Time!
8 ways to be a better programmer in 6 minutes. 8 ways to be a better programmer in 6 minutes.
The Deadly Cycle of Meetingitis. The Deadly Cycle of Meetingitis.
Can You Cure the Copy/Paste Disease? Can You Cure the Copy/Paste Disease?
Don't make 'readonly' fields less readable Don't make 'readonly' fields less readable
It's 2009 already -- where's my damn internet-based IDE?? It's 2009 already -- where's my damn internet-based IDE??
Give and Take in the Software Industry Give and Take in the Software Industry
4 Types of Person (a guide to stupidity) 4 Types of Person (a guide to stupidity)
baby steps in microsoft robotics studio... baby steps in microsoft robotics studio...

Archives .: secretGeek :: Complete Archives
TimeSnapper -- Automated Screenshot Journal TimeSnapper.com    
Version 3.3: true productivity boost

Next Action NextAction
Managing the top of your mind

World's Simplest Code Generator (html edition) World's Simplest Code Generator
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
ShinyPower (help with Powershell) ShinyPower
Now at CodePlex

Gradient Maker -- a tool for making background images that blend from one colour to another. Forget photoshop, this is the bomb. Gradient Maker


[powered by Google] 


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
Rhys Parry
Joel Pobar
OJ Reeves
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