Hi,
A new test build of wxPython has been uploaded.
Version: 2.9.5.0.b20121231
URL: http://wxPython.kosoftworks.com/preview/20121231
Changes: http://wxPython.kosoftworks.com/preview/20121231/CHANGES.html
Have fun!
R'bot
Hi,
A new test build of wxPython has been uploaded.
Version: 2.9.5.0.b20121231
URL: http://wxPython.kosoftworks.com/preview/20121231
Changes: http://wxPython.kosoftworks.com/preview/20121231/CHANGES.html
Have fun!
R'bot
All the things I reported for the previous build are fixed, expect the one related to PyCollapsiblePane
I had mentioned the following in the "wx 2.9.5 and 2.9.4 diff for wx.lib.ogl?" thread, but maybe you missed that comment.
The "not shrinking" issue is related to PyCollapsiblePane, in 2.9.4 it shrinks when hiding the pane.
Then I see a new on in the AUI_MDI demo when one creates a child I see this:
Traceback (most recent call last):
File "AUI_MDI.py", line 33, in OnNewChild
child.Show()
File "C:\Python27\lib\site-packages\wx-2.9.5-msw\wx\_core.py", line 9936, in S
how
return _core_.Window_Show(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "!GetHandle()" failed at ..\..\src\aui\
tabmdi.cpp(730) in wxAuiMDIChildFrame::Show(): Show() has no effect after Create
(). Do you mean Activate()?
Again all the best for the New Year.
Werner
On 01/01/2013 02:18, R'bot wrote:
Hi,
A new test build of wxPython has been uploaded.
Version: 2.9.5.0.b20121231
URL: http://wxPython.kosoftworks.com/preview/20121231
Changes: http://wxPython.kosoftworks.com/preview/20121231/CHANGES.htmlHave fun!
R'bot
Hi,
A new test build of wxPython has been uploaded.
Version: 2.9.5.0.b20121231
URL: http://wxPython.kosoftworks.com/preview/20121231
Changes:
http://wxPython.kosoftworks.com/preview/20121231/CHANGES.htmlHave fun!
R'botAll the things I reported for the previous build are fixed, expect the
one related to PyCollapsiblePaneI had mentioned the following in the "wx 2.9.5 and 2.9.4 diff for
wx.lib.ogl?" thread, but maybe you missed that comment.The "not shrinking" issue is related to PyCollapsiblePane, in 2.9.4 it
shrinks when hiding the pane.
This is partially related to the first problem that ResizeWidget had, in that GetBestSize always caches the best size now instead of leaving it up to the widget to do the caching, so InvalidateBestSize needs to be called any time something changes in the widget that could affect the best size (like toggling the collapsible pane.)
The other half of the problem is that as of r72343[1] GetBestSize also now honors the widget's min and max sizes and will return a value within that range even if the best would be outside of that range. PyCollapsiblePane is setting the minsize to be the same as the best size, but when the best is shrinking then that min size gets in the way. I don't think that PyCollapsiblePane really needs to set the minsize however if the best size is accurate, so I'll remove that.
[1] wxTrac has been migrated to GitHub Issues - wxWidgets
I expect that any issues in generic widgets related to size and/or layout in the near future will probably be related to one or both of these changes. So if you would like to try to diagnose or create a patch take a look at whether the best or min sizes are changing when they are supposed to be, and if not try adding calls to self.InvalidateBestSize() or self.SetMinSize(wx.DefaultSize)
Then I see a new on in the AUI_MDI demo when one creates a child I see
this:Traceback (most recent call last):
File "AUI_MDI.py", line 33, in OnNewChild
child.Show()
File "C:\Python27\lib\site-packages\wx-2.9.5-msw\wx\_core.py", line
9936, in S
how
return _core_.Window_Show(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "!GetHandle()" failed at
..\..\src\aui\
tabmdi.cpp(730) in wxAuiMDIChildFrame::Show(): Show() has no effect
after Create
(). Do you mean Activate()?
Thanks.
On 1/1/13 1:24 AM, Werner wrote:
On 01/01/2013 02:18, R'bot wrote:
--
Robin Dunn
Software Craftsman
hi,
other issue: with 2.9.5 when the editor of a wx.Grid cell is active the value already present in the cell in the cell disappears. You can verify it in the demo
Marco
On Tuesday, January 1, 2013 2:18:07 AM UTC+1, Robin Dunn wrote:
Hi,
A new test build of wxPython has been uploaded.
Version: 2.9.5.0.b20121231
URL: http://wxPython.kosoftworks.com/preview/20121231
Changes: http://wxPython.kosoftworks.com/preview/20121231/CHANGES.html
Have fun!
R’bot
Just noticed this report this morning.
http://trac.wxwidgets.org/ticket/14958
Is yours the same issue and are you also on Windows?
Werner
On 07/01/2013 12:06, Marco Prosperi wrote:
hi,
other issue: with 2.9.5 when the editor of a wx.Grid cell is active the value already present in the cell in the cell disappears. You can verify it in the demo
looks the same and yes, I’m on Windows
thank you
On Monday, January 7, 2013 12:19:31 PM UTC+1, werner wrote:
On 07/01/2013 12:06, Marco Prosperi wrote:
hi,
other issue: with 2.9.5 when the editor of a wx.Grid cell is active
the value already present in the cell in the cell disappears. You can
verify it in the demoJust noticed this report this morning.
http://trac.wxwidgets.org/ticket/14958
Is yours the same issue and are you also on Windows?
Werner