-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wx.lib.editor.Editor gets stuck in a loop generating "drawing failure for widget" messages #2633
Comments
Further experiments with the Code Example indicate that the If I drag the editor's vertical scrollbar to the bottom and the horizontal scrollbar to the right, then the messages stop being generated. However, the text is never displayed. |
Interestingly, I can't reproduce it, at least on Fedora 40. |
Is Fedora 40 using Wayland? Edit: I have checked my other machines. The bug occurs with:
But not with:
|
Yes, my test was with Wayland. Are you using Wayland also? |
No, I'm using X11 which is standard on Mint. |
If I add a call to In
If I comment out the call to If I comment out the |
Indeed, I can reproduce this under X11. |
Operating system: Linux Mint 22
wxPython version & source: wxPython 4.2.2 gtk3 (phoenix) wxWidgets 3.2.6 from pypi
Python version & source: 3.12.3 from distro
It also occurs with wxPython 4.2.1 gtk3 (phoenix) wxWidgets 3.2.2.1 + Python 3.10.12 + Linux Mint 21.3
Description of the problem:
In the wxPython demo, the Editor control never fully appears. Continuous warning messages are output to the command line.
As a side effect, entries in the demo's tree control for other recently used examples turn invisible on a grey background.
See this animated gif (click the play button, if necessary):
Code Example (click to expand)
This is the example from the demo, modified to run stand-alone:
The first few error message on the command line:
The text was updated successfully, but these errors were encountered: