1

Closed

Windows Position should be remembered

description

Hi,
 
GREAT plugin! One thing I noticed though. I like to keep all my windows docked on my left tab. The problem with VLH is that when you restart VS, it doesn't remember where it was last, so I always have to reposition it.
 
Fixing this would really be great!
 
Oh, and a support for Beyond Compare would also be great. Here is a template for it:
 
command = c:\Program Files\Beyond Compare 2\BC2.exe
Argument = %current %old /title1=%currentname /title2=%oldname /rightreadonly
Thanks.

file attachments

Closed Jan 30, 2008 at 3:58 PM by rolkA
I can't find a way to reproduce this. If someone else encounters this kind of problem, post here and I'll reopen this item.

comments

BoboRobo wrote Nov 17, 2007 at 6:36 PM

Just to add details: I am using Visual Studio 2008 B2 under Vista Ultimate.

rolkA wrote Nov 17, 2007 at 8:03 PM

Hi,

Thank you.for reporting this. On my PC, it remembers the last position, and that's the behavior I expect.
Maybe it's because I don't register the tool window in HKLM\Software\Microsoft\VisualStudio\8.0\ToolWindows, but it works well on several PCs without doing this.
I don't want to modify the registry at the moment because there is no installer/uninstaller. It's planned for next release.
If you want to try to add the key manually, you can create a key named {A104A6EC-613C-476a-B989-415697D267A3} in HKLM\Software\Microsoft\VisualStudio\8.0\ToolWindows, if you know what you're doing.
Stay tuned ;-)

Oh and it's ok for Beyond Compare. Btw, I'm using registry keys first to detect a tool, then I use the default directory if I don't find any key. This will be done ;-)

rolkA wrote Nov 17, 2007 at 8:05 PM

Erm, in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\ToolWindows for VS2008, not 8.0, my bad.

wrote Nov 17, 2007 at 8:06 PM

BoboRobo wrote Nov 18, 2007 at 12:28 AM

rolka, adding the key under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\ToolWindows did make it remember it's position, but it does not remember it's visibility status.

Say I do not want to always hit the Local History menu to see it, but I just want it always visible in my right dock, if when I closes VS, the status of it was visible, when I restart VS2008, it is not visible, but when I execute the command from the menu, it shows up at the same place now.

As far as the Beyond compare. Here is the reg key ""HKEY_CURRENT_USER\Software\Scooter Software\Beyond Compare" the key holding the path is "ExePath"


Thanks.

rolkA wrote Nov 18, 2007 at 9:15 AM

Yes, it's annoying. There's no easy to fix this, VLH is a currently an "old school" add-in, for the next major realease I'll make a real registered package and it should work. I'm sorry for the inconvenience, but it's still beta.

Thanks for your feedback ;-)

rolkA wrote Nov 18, 2007 at 11:35 AM

In the meanwhile, I've modified the source code to save the visibility state in the config file (not the position, but the registry key solves this). So that's fixed in development version. If you can't compile it and don't want to wait for the next update, contact me and I'll send you the updated dll.

Enjoy.

BoboRobo wrote Nov 18, 2007 at 4:24 PM

Thanks for the update rolkA :)

wrote Dec 28, 2007 at 1:37 AM

Associated with changeset 13502.

wrote Dec 28, 2007 at 1:50 AM

wrote Jan 30, 2008 at 3:58 PM

wrote Feb 13, 2013 at 11:07 PM

wrote May 16, 2013 at 5:58 AM