[Differential] [Updated] D2365: Add failing test case for selected filter from mimetype

2016-08-15 Thread dfaure (David Faure)
dfaure added a comment. The thing is, mimetype filters should be preferred above name filters. So the bug is in QFileDialog::selectMimeTypeFilter which "falls back" to selectNameFilter. Instead it should call some selectInitiallySelectedMimeTypeFilter in the options, like selectNameFilter

[Differential] [Updated] D2365: Add failing test case for selected filter from mimetype

2016-08-15 Thread Martin Gräßlin
graesslin added a comment. As it's an expected failure I'm fine with it going in. I cannot really comment on the actual issue, because I have no clue about the file dialog. REPOSITORY rPLASMAINTEGRATION Integration for Qt applications in Plasma REVISION DETAIL

[Differential] [Updated] D2365: Add failing test case for selected filter from mimetype

2016-08-07 Thread elvisangelaccio (Elvis Angelaccio)
elvisangelaccio added a comment. I think I figured out what's going on. This seems to be a regression introduced by https://phabricator.kde.org/rPLASMAINTEGRATION25be75542f831863e905b590b6429127df1b13d3. If I revert this commit, this test passes. So, this is what's happening. In this