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

A face-melting DSL that allows programming ON the iPhone (and iPad) A face-melting DSL that allows programming ON the iPhone (and iPad)
The secretGeek Disaster Recovery plan The secretGeek Disaster Recovery plan
Save KNVTn! Before it's too late Save KNVTn! Before it's too late
The Ultimate Agent of WERF Destruction The Ultimate Agent of WERF Destruction
The new prisoner's dilemma The new prisoner's dilemma
Original Premise for a road movie Original Premise for a road movie
What's a better game than Devshop? What's a better game than Devshop?
DevShop: The Cool Game that Makes Development Look Fun DevShop: The Cool Game that Makes Development Look Fun
Should be purple Should be purple
Kitchen Agile Kitchen Agile
Perhaps Perhaps "Go" is the new Visual Basic
zen-coding: turn those CSS selectors upside down zen-coding: turn those CSS selectors upside down
Debugging: It's all about finding Albuquerque. Debugging: It's all about finding Albuquerque.
The Real-Time online JQuery Editor The Real-Time online JQuery Editor
HTML5, a 3 minute guide HTML5, a 3 minute guide
Developer Codpieces Developer Codpieces
Agile for one: The Personal Story 'Wall' In Action Agile for one: The Personal Story 'Wall' In Action
Never work with thick people. Never work with thick people.
Cosmo: project status panel Cosmo: project status panel
Windows Search in Japan Windows Search in Japan
Project Management Zen Project Management Zen
Continuous Integration, Plugins and Going Too Far Continuous Integration, Plugins and Going Too Far
The Rules of Stand Up The Rules of Stand Up
Sydney International Airport: Stupid, Criminal, or Criminally Stupid? Sydney International Airport: Stupid, Criminal, or Criminally Stupid?
God No! ...The ReBuilder God No! ...The ReBuilder
Matt, The Office Mortar Matt, The Office Mortar
'Outlook style' rules for Subversion 'Outlook style' rules for Subversion
Really deep linking: Url + regex Really deep linking: Url + regex
hExcel -- A Hexagonal Spreadsheet hExcel -- A Hexagonal Spreadsheet
Is the remote control a thing of the past? Is the remote control a thing of the past?
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.

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
Universal Troubleshooting checklist Universal Troubleshooting Checklist
Top 10 SecretGeek articles Top 10 SecretGeek articles
ShinyPower (help with Powershell) ShinyPower
Now at CodePlex

Realtime CSS Editor, in a browser RealTime Online CSS Editor
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