Latest Preview Build...

Hello NG,

    I thought to report a couple of problems I encountered with the
latest (23/09) wxPython pre-release.

1) Sizers Demo: by choosing, for example, the "Grid with Alignment"
demo, the frame that appears shows up only one box labeled "nine". No
trace of the boxes from "one" to "eight". By manually resizing the
frame, the 9 boxes show up but, again, there is 1 box labeled "one"
and 8 boxes labeled "nine". I found that a possible solution would be
to move the line:

self.sizer.Fit(p)

*after* the line:

p.SetSizer(self.sizer)

I have no idea of what changed about sizers/evt_size things, but I
presume it is the same thing that screwed up PyAUI on 2.7. The manual
resizing of the demo frame is necessary for almost all the demos in
the Sizer Demo to actually show the labelled panels.

2) wxAUI FrameManager Demo, default startup: by disabling the options
"Transparent Hint", "Transparent Hint Fade-In" and "Transparent Drag"
(as if I didn't have transparent support in my platform), the XOR hint
boxes are not correctly refreshed: if you undock a pane and then let
one hint box appear (without docking) and then you move away from the
dock position passing over the hint box, part of the box is erased but
the rest is still visible.
No idea about fixing this, sorry...

Moreover, I am still trying to reproduce a strange behavior that
occurs when I switch from one demo I edited (for example the sizer
demo) to the wxAUI demo: when I click on the "show the wx.aui demo
frame" the wxPython demo crashes (it disappears without any errors or
tracebacks). I'll let you know if I find something about this.

There are a couple of references to PyAUI in the wxAUI demo, for
example when you try to close the treectrl on the left, a MessageBox
appears with a title "PyAUI question" :smiley:

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/

Andrea Gavana wrote:

Hello NG,

   I thought to report a couple of problems I encountered with the
latest (23/09) wxPython pre-release.

1) Sizers Demo: by choosing, for example, the "Grid with Alignment"
demo, the frame that appears shows up only one box labeled "nine". No
trace of the boxes from "one" to "eight". By manually resizing the
frame, the 9 boxes show up but, again, there is 1 box labeled "one"
and 8 boxes labeled "nine". I found that a possible solution would be
to move the line:

self.sizer.Fit(p)

*after* the line:

p.SetSizer(self.sizer)

Thanks.

2) wxAUI FrameManager Demo, default startup: by disabling the options
"Transparent Hint", "Transparent Hint Fade-In" and "Transparent Drag"
(as if I didn't have transparent support in my platform), the XOR hint
boxes are not correctly refreshed: if you undock a pane and then let
one hint box appear (without docking) and then you move away from the
dock position passing over the hint box, part of the box is erased but
the rest is still visible.
No idea about fixing this, sorry...

The AUI guys are aware of this. I'm not sure though if anybody is working on it.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!