VSIP "padlocks" in solution explorer don't always update

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

tomt84
Posts: 109
Joined: Tue Dec 20, 2005 4:44 am
Location: Manchester

VSIP "padlocks" in solution explorer don't always update

Post by tomt84 » Thu Sep 11, 2008 5:24 pm

Hi

Sometimes I am noticing that if I check out a file using the right-click->Check Out menu item in Solution Explorer in VS2008, it is not showing up as a red tick. Instead that file is still showing up as a padlock - however I can edit/save this file freely, then check in my changes just fine, despite it still showing up with the padlock icon all along. It's just as if it's forgetting to update the icon.

We have VSS-style concurrent development options set up.

Here's my environment:
Visual Studio 2008, VSIP client, C# Winforms .NET 2.0 solution, multiple projects in the solution. XP Pro SP3 on one dev box, Server 2008 x64 on the other. Vault is hosted on a Windows Server 2003 x86 box with SQL Server 2005 dev edition.
[12/09/2008 00:19:03] Version Check: This Vault client is version 4.1.2.18185
[12/09/2008 00:19:03] Version Check: Your Vault server is version 4.1.2.18185

Any ideas?

Regards
Tom
Tom Fanning

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: VSIP "padlocks" in solution explorer don't always update

Post by lbauer » Fri Sep 12, 2008 8:38 am

This sounds like a refresh problem. If this is intermittent, do you notice any pattern?

Do other users experience it?

Does it happen on all projects or just a particular project? Are your projects very large?
Linda Bauer
SourceGear
Technical Support Manager

tomt84
Posts: 109
Joined: Tue Dec 20, 2005 4:44 am
Location: Manchester

Re: VSIP "padlocks" in solution explorer don't always update

Post by tomt84 » Fri Sep 12, 2008 9:49 am

I will check with our other guy as to whether he has the same issue as me.

I haven't noticed a pattern - sometimes it does work, but I'd say the majority of the time it doesn't.

I do get "Refreshing Vault status" appearing at the bottom of VS' main window for extended periods, now you come to mention it. I should mention that I'm on the VS2008 service pack that came out a few weeks ago.

The main solution I've noticed this on has 14 projects - probably roughly 100k lines of code in total.

Thanks
Tom
Tom Fanning

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Re: VSIP "padlocks" in solution explorer don't always update

Post by ian_sg » Sun Sep 14, 2008 7:44 pm

Hi Tom. This sounds very much like an issue we fixed in the soon-to-be-released 4.1.3. We're holding back the release to solidify some server issues. (There are no planned client-side changes before we release; it's solid.) If you'd like, there's information about using a pre-release 4.1.3 client here: http://support.sourcegear.com/viewtopic ... 228#p44228.
Ian Olsen
SourceGear

tomt84
Posts: 109
Joined: Tue Dec 20, 2005 4:44 am
Location: Manchester

Re: VSIP "padlocks" in solution explorer don't always update

Post by tomt84 » Mon Sep 15, 2008 2:24 am

Just had word back from my other developer - he has the same issue as me (but under XP Pro/VS2008)

I will check out the pre-release client now - I presume it still talks to the 4.1.2 server ok?

Thanks
Tom Fanning

tomt84
Posts: 109
Joined: Tue Dec 20, 2005 4:44 am
Location: Manchester

Re: VSIP "padlocks" in solution explorer don't always update

Post by tomt84 » Mon Sep 15, 2008 6:37 am

Just checked out a file from a solution folder (not from a folder in a project) and the icon remained as a padlock, but then changed several seconds later to a red tick.

This behaviour is fine as long as we know about it.

Thanks
Tom
Tom Fanning

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: VSIP "padlocks" in solution explorer don't always update

Post by lbauer » Mon Sep 15, 2008 7:33 am

Vault 4.1.3 should be released sometime this week. If you have the prerelease version, you will need to uninstall it before reinstalling the official release.
Linda Bauer
SourceGear
Technical Support Manager

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Re: VSIP "padlocks" in solution explorer don't always update

Post by ian_sg » Tue Sep 16, 2008 12:36 pm

tomt84 wrote:Just checked out a file from a solution folder (not from a folder in a project) and the icon remained as a padlock, but then changed several seconds later to a red tick.
We found the cause of this, including an issue in 4.1.3 pre-release builds. It has been fixed and will be included in 4.1.3 final.
Ian Olsen
SourceGear

tomt84
Posts: 109
Joined: Tue Dec 20, 2005 4:44 am
Location: Manchester

Re: VSIP "padlocks" in solution explorer don't always update

Post by tomt84 » Wed Sep 17, 2008 2:31 am

Brilliant, looking forward to the release.

Thanks
Tom
Tom Fanning

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Re: VSIP "padlocks" in solution explorer don't always update

Post by ian_sg » Wed Sep 17, 2008 7:18 am

Ian Olsen
SourceGear

tomt84
Posts: 109
Joined: Tue Dec 20, 2005 4:44 am
Location: Manchester

Re: VSIP "padlocks" in solution explorer don't always update

Post by tomt84 » Wed Sep 17, 2008 7:21 am

Whoa, that was quick.

Thanks!
Tom Fanning

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: VSIP "padlocks" in solution explorer don't always update

Post by lbauer » Wed Sep 17, 2008 7:26 am

We try to be responsive to our customers' needs. :-)
Linda Bauer
SourceGear
Technical Support Manager

tomt84
Posts: 109
Joined: Tue Dec 20, 2005 4:44 am
Location: Manchester

Re: VSIP "padlocks" in solution explorer don't always update

Post by tomt84 » Thu Sep 18, 2008 3:17 am

Sorry guys - my colleague reports the following after updating to that new release:

When checking out items, the file does not show as being checked out.

If the file is in a solution-level folder and is linked to from a child project, then the file in the solution folder shows as not being checked out but when you expand the project where the file is stored, it is shown as being checked out correctly.

If you open a file through solution explorer and just start editing it, the file changes to being checked out correctly.

Any suggestions?

Thanks
Tom Fanning

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Re: VSIP "padlocks" in solution explorer don't always update

Post by ian_sg » Thu Sep 18, 2008 7:36 am

Bummer. I didn't realize a link was part of the equation. I'll log a bug, unfortunately there's no short-term fix I can offer.
Ian Olsen
SourceGear

tomt84
Posts: 109
Joined: Tue Dec 20, 2005 4:44 am
Location: Manchester

Re: VSIP "padlocks" in solution explorer don't always update

Post by tomt84 » Thu Sep 18, 2008 8:25 am

Fair enough - I probably should have been clearer. Look forward to the fix.

Thanks
Tom
Tom Fanning

Post Reply