Hi Andrea,
I just ran a couple of quick tests on OSX with the latest changes hopefully will have a chance to look more this weekend
1) When initially undocking a pane the mouse cursor is down in the client area of the frame and not on the title bar when its being dragged. During the initial undocking if the mouse is not released the dragging is very smooth.
If the mouse is let go and frame is left floating, then moving to drag it by titlebar it causes the frame to jerk and shake all around while it is being dragged it appears that the movement calculations are expecting the mouse at the lower position below the titlebar where it was when it was initially undocked.
The toolbar panes do not seem to suffer from this issue
2) Got this traceback when dragging the top left toolbar around in various positions it only happened once and I haven't been able to make it happen again though.
Traceback (most recent call last):
File "//usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 14614, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/Users/codyprecord/Desktop/devel/agw/agw/aui/framemanager.py", line 6090, in Update
sizer = self.LayoutAll(self._panes, self._docks, self._uiparts, False)
File "/Users/codyprecord/Desktop/devel/agw/agw/aui/framemanager.py", line 5932, in LayoutAll
uiparts = self.LayoutAddDock(middle, row, uiparts, spacer_only)
File "/Users/codyprecord/Desktop/devel/agw/agw/aui/framemanager.py", line 5526, in LayoutAddDock
pane_positions, pane_sizes = self.GetPanePositionsAndSizes(dock)
File "/Users/codyprecord/Desktop/devel/agw/agw/aui/framemanager.py", line 5232, in GetPanePositionsAndSizes
raise Exception("Too many action panes!")
Exception: Too many action panes!
3) Sometimes when dragging the tab with the gauge on it to dock in another notebook control I would get the following Debug assertion:
Debug: /BUILD/wxPython-src-2.8.10.1/src/common/wincmn.cpp(2536): assert "GetCapture() == this" failed in ReleaseMouse(): attempt to release mouse, but this window hasn't captured it
Must have a ReleaseCapture call someplace that needs to be guarded with a HasCapture check.
On the plus side the issue with the crashes when docking panes into an autonotebook has gone away so panes can now be docked into notebooks with no problems!
cody