Animation slowdown on OS X 10.11
Ryan Holmes <[email protected]>
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
I posted on the users group as well, but this might get some attention from people familiar with the actual development of wxPython/wxWidgets on various platforms, and thus might be able to point me in the right direction. Using: python 2.7.11 wxPython 3.0.2.0 I have a custom widget that is basically a gauge to measure a resource or whatnot. My application has been using this widget for years without any problem. We recently made the switch to wxPython 3.0, which brought it's own problems, most of them solved already. We also started getting reports that our custom gauge animations are lagging very badly when there is more than a couple updating, the lagging getting worse as the number of currently updating gauges increases. This slowdown only happens on OS X 10.11. It is fine on 10.10 - 10.7 (our lowest supported OS X version). Seems to work in 10.11 fine when run with wxPython 2.8. Here are some gifs of the described problem. Unfortunately the OS X gifs are potato quality, but it's the best that I could do as I tried many screen capture programs that didn't work and had to settle for some crap quality one. (each test has 16 gauges) Windows: https://gyazo.com/5dd3982ee2ec9c4f92f27a196fab5b41 <https://www.google.com/url?q=https%3A%2F%2Fgyazo.com%2F5dd3982ee2ec9c4f92f27a196fab5b41&sa=D&sntz=1&usg=AFQjCNEATiV9iPvARlSy4M36tGXkbDdcew> Shows how it's supposed to look and how snappy it is OS X 10.10: http://www.gfycat.com/GreedyHelplessAltiplanochinchillamouse <http://www.google.com/url?q=http%3A%2F%2Fwww.gfycat.com%2FGreedyHelplessAltiplanochinchillamouse&sa=D&sntz=1&usg=AFQjCNEjOFRlOZUm3hJt87oXPcJGgYthcg> 10.10 works well OS X 10.11: http://www.gfycat.com/PassionateDefiniteGoat <http://www.google.com/url?q=http%3A%2F%2Fwww.gfycat.com%2FPassionateDefiniteGoat&sa=D&sntz=1&usg=AFQjCNFUJcmtd5kaHpR_Uxf14xl5LrwSeg> 10.11 is majorly laggy when updating multiple gauges at a time Here is the test application code: https://gist.github.com/blitzmann/cd698a62b741dd9a163a Can anyone give any insight? I am not really a Mac person; I only have Hackintosh's to support development and investigate problems such as this. -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.