Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.0, 5.15.0
-
5a20af684cf61192d4823869c3a55af7b3c0141e (qt/qtquickcontrols/5.15)
Description
Please refer to the attached sample, there is a random crash when QFileSystemModel is used with QSortFilterProxyModel. When user selects the folder by clicking on a folder from folder list, and then presses "select" button, maptoSource() is crashing even the index is valid.
Observation: If folder structure is say, C:\Folder\test. click on folder once, don't click on test folder. Just launch the app, click on C:\ and then click folder (try by clicking on empty space on left), and then press "select"
Attaching the stack trace also.
Attachments
For Gerrit Dashboard: QTBUG-84853 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
307884,1 | Return QPersistentModelIndex which is stored when calling mapRowToIndex | 5.12 | qt/qtquickcontrols | Status: NEW | +2 | 0 |