-
Notifications
You must be signed in to change notification settings - Fork 23
GUI (wx?) problem on Linux dists #114
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
Comments
Here is GSAS-II running with Linux & wxpython from conda-forge, It shows the app hanging after I have changed text in a wx.TextCtrl LinuxBug.mp4FWIW, Same problems on RHEL 7.9 & 9.4. Here is the same app (running exactly the same code) but using Python installed with apt-get on Ubuntu using their Python, wx, mpl, etc. LinuxWorks.mp4Here this runs fine.. The image I use is this: |
This does appear to be a problem arising from our own code, even though it seems to be Linux specific (and not even on all Python versions). The customized wx.TextCtrl class we use seems to be causing this. |
…rocess of replacing TextCtrl.SetValue to .ChangeValue in callbacks
The SetFocus in the SetValue method of ValidatedTxtCtrl seemed to be causing problems, but another much more pervasive problem is that the calls to .SetValue for routines being used as a callback to a ValidatedTxtCtrl widget were causing recursion issues. |
maybe, just maybe, this is solved in a6ec664. |
We are experiencing this problem again on a RHEL 9 machine at 1-ID. |
The python distribution provided for Linux is not working properly, at least on some dists of Linux. This has been seen on RHEL 7.9 & 9.4 and also Ubuntu 22.04. What happens is that X11 graphics will "hang" particularly when working with textctrl widgets. Sometimes this message is seen:

but not always.
Some improvement is seen with an older version of Python, but spotless behavior was seen after installing Ubuntu's Python along with Python packages from Ubuntu.
One thing worth trying is use of wxpython via pip rather than from conda-forge.
The text was updated successfully, but these errors were encountered: