Psychopy: Undo / Redo behaves strangely in Builder

Created on 28 Nov 2018  ·  10Comments  ·  Source: psychopy/psychopy

undo-redo

This is with master on macOS Mojave, Python 3.6.6, PyQt 5.6.0, wxpython 4.0.3.

bug builder needs upstream fix

All 10 comments

@hoechenberger, I cannot reproduce this on Windows 10, so specific to macOS with Mojave?

@dvbridges I believe my colleague @shirllim had the same issue on Windows 10

@shirllim Did this only happen with the development version we run in the lab, or also with the stable standalone on your computer?

Actually, I am using Python 3.6.6, PyQt 5.10.1, wxpython 4.0.1,

I've just tested on master with 2.7.15 and 3.6.1 (python.org framework installs) and can't reproduce on those. PyQT version is definitely irrelevant (not involved at all in builder interface). I wonder if 3.6.6 is doing something different with copies/references

If PyQt is irrelevant, this might be more of a wxpython issue then? Currently don't have time to test different package / Python combinations, though (preparing for a conference)

Forgot to add, we're running conda installs here – maybe _these_ are doing something odd, too (wouldn't be the first time!)

@dvbridges I believe my colleague @shirllim had the same issue on Windows 10

@shirllim Did this only happen with the development version we run in the lab, or also with the stable standalone on your computer?

This happen with the development version in the lab (on windows 10).
Just tested pre-release standalone (PsychoPy 3.0.0b11, windows) - not an issue.

I just tested with wxpython 4.0.1 (like @dvbridges's version), and the error does not occur there. Updated to 4.0.2, error is back. So it seems something in wxpython has changed after 4.0.1.

Changelog for reference (unfortunately, it's quite a long list of changes)

wx > 4.0.1 also causes problems for Coder. If you attempt to close your first tab, you cannot. Then Coder will crash on second click.

https://github.com/wxWidgets/Phoenix/issues/1062 - This appears to have been addressed for the next release, 4.0.4

@hoechenberger, I have just downloaded the most recent snapshot build of wx (4.0.4) and the Builder undo/redo and pane closing errors found in both 4.0.2 and 4.0.3 have been fixed.

Nice work! So it’s actually a wxPython bug! We probably should update the dependencies to <= 4.0.1 and >= 4.04 then :)

Was this page helpful?
0 / 5 - 0 ratings