Hi Cody,
Thank you for the bug reports.
Hello (Andrea),
All observed on wxMac haven't checked on windows yet.
1) Docking toolbars:
If you undock a toolbar in the demo then double click on its title pane to
re-dock it it will be re-docked into an odd position and will no longer be
able to be undocked or moved.
This is fixed now, I didn't even noticed it
2) Floating Panes
These panes cannot be resized once they are undocked, would it be possible
to use mini frames instead of these owner drawn frames that don't have a
regular title bar like the current wx.aui does?
It's a bit strange, they work well on Windows but they are problematic
on wxGTK (and wxMAC apparently), even though I explicitely set a
wx.RESIZE_BORDER for these frames. They are actually wx.MiniFrames.
I'll try and make a small modification to see if they work, otherwise
I will need to think on how to rework the logic to use simple
wx.MiniFrames like wx.aui.
3) Clicking in a docked pane doesn't highlight its title bar.
This is how wx.aui does: if you don't define the
AUI_MGR_ALLOW_ACTIVE_PANE style no highlighting of the title bar is
done for docked panes. I tested it on Windows and GTK and it seems to
work fine (in the demo, choose "Options" => "Allow Active Pane").
4) The tab and pane close buttons have very jagged edges (this is just like
the wx.aui). This is wxMac specific issue because they use round buttons,
the gtk/windows buttons look fine.
Uhm, do you happen to have a screenshot of it? What should I do to fix
this issue? Since it's Mac-specific, whatever modification I make will
be hard to test unless I have a very clear idea of what to do :-(. Or
maybe could you provide the correct close buttons images for the Mac?
5) The mouse over highlighting of the close buttons on a docked pane draw an
off centered square around the button. This looks correct on gtk/msw, but
since wxMac is using the round buttons this is incorrect. They should do
something similar to what is done on the tab close buttons by colouring the
buttons circle in darker.
Does this mean that I should change the way the pane buttons are
highlighted on the Mac? I'll try and copy the tab highlighting code to
framemanager and see if this is good enough.
6) What event handles when a floating pane is dropped to make it into a
notebook tab, this as I mentioned before causes a crash on wxMac. I looked a
little but couldn't see exactly where this was happening.
There is no event for that: it happens in the DoDropFloatingPane
method, when the docking hit test is wx.CENTER:
elif dir == wx.CENTER:
if not target.IsNotebookDockable():
continue
if not paneInfo.IsNotebookDockable() and not
paneInfo.IsNotebookControl():
continue
if not paneInfo.HasNotebook():
# Add a new notebook pane ...
id = len(self._notebooks)
bookBasePaneInfo = AuiPaneInfo()
bookBasePaneInfo.SetDockPos(paneInfo).NotebookControl(id). \
CloseButton(False).SetNameFromNotebookId(). \
NotebookDockable(False)
bookBasePaneInfo.best_size = paneInfo.best_size
panes.append(bookBasePaneInfo)
# add original pane as tab ...
paneInfo.NotebookPage(id)
# Add new item to notebook
target.NotebookPage(paneInfo.notebook_id)
The only platform in which automatic notebooks work fine is Windows:
on GTK you can dock a pane onto another to create a notebook, but when
you undock it to make it float again you get a segmentation fault. It
looks like on the Mac you can't even create automatic notebooks...
would it be possible for you to take a closer look on your platform?
Thank you again!
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
···
On Fri, Apr 3, 2009 at 4:10 AM, Cody Precord wrote: