PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 668 - QFileSystemModel setRootPath stops application from quitting.
: QFileSystemModel setRootPath stops application from quitting.
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtGui
: 1.0.0 beta5
: PC Linux
: P2 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-02-06 09:34 EET by linus.berglund
Modified: 2011-02-17 19:18 EET (History)
8 users (show)

See Also:


Attachments
test file (467 bytes, text/x-python)
2011-02-07 10:46 EET, renato filho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description linus.berglund 2011-02-06 09:34:02 EET
When I use QFileSystemModel, my application won't quit. QApplication.exec_()
ends, but the sys.exit does nothing. The application wont quit. (setRootPath
thread still running?)

Steps to reproduce:

  - Use a QFileSystemModel and set the root path with setRootPath.

  - Try to quit application.

The python script will continue to run.

I used this script to reproduce it
http://pastie.org/1531635

I am using rpm builds from cgoncalves buildservice repos (OpenSuse 11.3). (beta
5), and this has been confirmed by people that built from source. My Qt version
is 4.7.1(-154.1) on opensuse. Also reported with Qt 4.7.0

It seems this bug does not affect windows machines
Comment 1 renato filho 2011-02-07 10:46:43 EET
Created attachment 253 [details]
test file
Comment 2 renato filho 2011-02-07 10:48:17 EET
Marking this as P2 because this is a critical bug and need be fixed before the
next release.
Comment 3 Hugo Parente Lima 2011-02-09 18:29:54 EET
Fixed in commit:
pyside/7909d294f51564499333be7d50cddfde8ff4b38a
Comment 4 Hugo Parente Lima 2011-02-09 18:34:06 EET
*** Bug 673 has been marked as a duplicate of this bug. ***
Comment 5 Hugo Parente Lima 2011-02-17 19:18:22 EET
Released in 1.0.0~rc1