Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Pop-up segfault when moving cursor out of qtconsole window #919

Closed
njwilson23 opened this Issue · 3 comments

2 participants

@njwilson23

There seems to be a problem, in that when moving the cursor outside of a qtconsole window while there is an active pop-up hint, IPython will segfault.

To reproduce:
run:
ipython qtconsole
type a command and end at an open parenthesis, e.g:
filter(
move the mouse cursor out of the qtconsole window area

What happens:
The ipython session quits, and "Segmentation fault" is printed to the terminal.

What should happen:
Nothing, presumably. Perhaps the tool-tip should go away.

Anyone else seeing this?

Ubuntu 11.10 x64
iPython 0.12 trunk (7e0d999, October 21, 2011)
python-qt-dev 3.18.1~4ubuntu3 (from repos)
python-zmq 2.1.9-1 (from repos)

@takluyver
Owner

N.B. python-qt-dev is related to Qt 3, whereas we're using Qt 4. It may be important whether it's using PyQt (python-qt4) or PySide (python-pyside).

@njwilson23

Whoops, sorry!

I've now tested with both, by doing
export QT_API=pyqt and export QT_API=pyside

It only crashes with pyside, and works as expected with pyqt.

@takluyver
Owner

OK - I think this has come up before, and we've concluded it's a bug in PySide, and there's not much we can do about it. So I'm going to close this issue. Thanks for reporting it, and I hope it gets fixed soon.

@takluyver takluyver closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.