Just an observation, but... Has anyone else noticed that Gadgets move of their own accord when Sidebar loads
For instance, if Sidebar is closed by DEP, Gadgets randomly creep to the left when it restarts.
Then there's the order on the Sidebar itself. If you shutdown/restart or exit and reload Sidebar, the attached Gadget order changes occasionally.

Gadget creep
carlp22
XBTester
sql1
There is a known bug where floating gadgets creep left like one pixel when you stop and restart sidebar. Mostly unnoticable, but it was pretty odd when I ran a stress test overnight that just repeatedly restarted the sidebar, and the next morning all my gadgets were left-aligned on the screen. I don't think that one is a very big problem, although I welcome details if you disagree.
The other issue, with gadgets rearranging themselves, sounds like a bigger problem - if you have a consistent repro for it I would love to know about it.
cpurick
prozac11
Run your stress test with all the gadgets docked, you should eventually see them re-arrange. It seems to do it more frequently if Sidebar is killed by DEP - not sure if that is the cause, I'm sure I had them re-arrange yesterday by closing and re-opening Sidebar.
Rtalan
Hobbit666
molemenacer
This has been bugging me, as it's very noticable when you're developing! So I've done some digging.
All detatched gadgets shift by 6 pixels when you Exit Sidebar. If you kill the task, this doesn't happen, so there's a bug in the exit code where it saves the position back to the INI file.
When Sidebar loads, if the Gadget left or right is offscreen. Sidebar shift it so that its completely on screen. Not sure if you'd class that as a bug or not, I would, as the gadget moves from the position the user put it in.
Due to this, Gadgets end up bifuricating between 0 and -6!
Strangely 6 is also the amount of pixels the three mini icons are out by when the Sidebar loads. What's so special about the number 6