rubberduck-vba / Rubberduck

Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
https://rubberduckvba.com
GNU General Public License v3.0
1.91k stars 299 forks source link

Explorer placement/grouping #3978

Open bhames opened 6 years ago

bhames commented 6 years ago

It would be nice to have the explorers (especially those set to start-up) to be start-up in the same location/size (& docked). As each time they start its "undocked" and in a small window, which required re-organising each time.

bclothier commented 6 years ago

I think we need more details because at least in my setup, it does as expected.

It might be related to the fact that you have a dual monitor. Can you re-test with only one monitor enabled and verify it persists the placement?

daFreeMan commented 6 years ago

I'll note that I run dual monitor and have no issue with docked RD windows. (Win10/Office 2016 and previously on Win7/Office 2010). Don't recall any issue with that at least since the 2.0 release and possibly earlier. I'm currently running the CI releases.

If settings get wiped (which doesn't happen on reinstall anymore!), I have to go into the RD settings and remind it which windows I want open by default. I do have issue with the RD toolbar not appearing on the line of toolbars that I want it on, but I've been told that's the VBE's doing and not solvable by the RD crew.

bclothier commented 6 years ago

Just as FYI - this is not a RD setting but rather a VBE setting. It keeps all the window placements in a binary format in the registry HKEY_CURRENT_USER\Software\Microsoft\VBA\X.0\Common under the key Dock. The RD codebase does not explicitly read or write to that setting.

IvenBach commented 6 years ago

3 monitors at work and 2 at home, neither have no issue with windows undocking. Explorers are always docked where I prefer them.

bclothier commented 6 years ago

A thought... if monitor setup is such that it's reversed --- the primary is on the right, and the secondary is on the left, that might cause the coordinates on the left system to be negative. Would that be a possible cause?

daFreeMan commented 6 years ago

Primary on the right. Shoots that theory... 😉