Operating system: Ubuntu 17.10
wxPython version: 4.0.1
Stock or custom build: Stock
Python version: 3.6.3
Stock or custom build: Stock
Description of the problem: When using ClientDC, the screen content is not updated. It will only update with a large delay or on resizing etc.
As workaround, an additional Refresh() solves the problem.
Switching from Wayland to X also solves the problem.
The oxboxes Ubuntu 17.10 VM is fine for reproducing the issue.
For verification, try the ScrolledWindow.py demo with BUFFERED = False.
On Python 2.7 / wxPython 3.0.2 (gtk3.0) everything works fine.
On Python 3.6 / wxPython 4.0.1, when drawing with the mouse, the screen is not updated before it is resized.
This was reported on wxpython-dev by Riccardo Borgani who has problems with the Matplotlib WxAgg backend: https://groups.google.com/d/msg/wxpython-dev/8E4jtTjEmjI/5H3CboaNAAAJ
When trying with Python 2.7 and wxPython 3.0.2 (gtk3.0) his example worked as expected.
Operating system: Ubuntu 17.10
wxPython version: 4.0.1
Stock or custom build: Stock
Python version: 3.6.3
Stock or custom build: Stock
Description of the problem: When using ClientDC, the screen content is not updated. It will only update with a large delay or on resizing etc.
As workaround, an additional
Refresh()solves the problem.Switching from Wayland to X also solves the problem.
The oxboxes Ubuntu 17.10 VM is fine for reproducing the issue.
For verification, try the
ScrolledWindow.pydemo withBUFFERED = False.On Python 2.7 / wxPython 3.0.2 (gtk3.0) everything works fine.
On Python 3.6 / wxPython 4.0.1, when drawing with the mouse, the screen is not updated before it is resized.
This was reported on wxpython-dev by Riccardo Borgani who has problems with the Matplotlib WxAgg backend: https://groups.google.com/d/msg/wxpython-dev/8E4jtTjEmjI/5H3CboaNAAAJ
When trying with Python 2.7 and wxPython 3.0.2 (gtk3.0) his example worked as expected.