Created attachment 113083 [details] Kate demo showing empty Quick Open file list In the Quick Open dialog (Alt+Ctrl+O by default), there are no files listed. All files in the project are listed correctly in the Projects panel. Regardless of the searched text, the file list stays empty. I'm attaching a quick demo with a Git repo.
I can confirm this issue. It also happens under other distros like Arch Linux and openSUSE Tumbleweed. Note that there are no error messages, also nothing via stdout/stderr.
This is indeed broken, same here on Arch Linux :/ Quite a serious regression ...
It's very strange though. The bug does not disappear again through downgrading either kate nor ktexteditor. Either it is in some other component, or caused by some broken config file.
@Sven Maybe you haven't downgraded low enough? The version in the ticket is 18.0.4.1, but maybe the issue has already been present before. Note that I haven't tried to downgrade myself but I likely try this evening. However, I have already tested with no configuration files present and could still reproduce the issue. So I suppose it is not a configuration-related issue. And yes, I also consider this a serious regression. I'm wondering why nobody noticed this bug before releasing. This is one of Kate's most useful features compared to other text editors in my opinion.
I downgraded to kate 17.08, which is the oldest kate I have in my cache, and it quite certainly worked there before ...
Adding myself to the Cc because I also see the same problem on all my Arch boxes.
The model seems populated properly, I can see that in Gammaray. Super strange issue.
I think this has to do with the item model changes in Qt 5.11. It's either a regression in Qt, or more likely wrong usage of the API in kate which worked so far but is broken now.
The attached patch fixes it, and makes more sense anyways. I do not understand why the old variant breaks though, ideas? What is certainly wrong is the mapToSource call, because it uses a different model, but otherwise?
Created attachment 113248 [details] fix for bug
Git commit 291b68994d7c6176dbc1983c956e2bb7135559e0 by Sven Brauch. Committed on 13/06/2018 at 20:03. Pushed by brauch into branch 'Applications/18.04'. Fix QuickOpen with Qt 5.11 It remains to be investigated whether this is a regression in Qt itself, or misuse of the API on our side. There is at least one misuse (the call to mapFromSource) which is wrong in the old version, so this patch improves the situation in either case. Differential Revision: https://phabricator.kde.org/D13517 M +7 -14 kate/katequickopen.cpp https://commits.kde.org/kate/291b68994d7c6176dbc1983c956e2bb7135559e0
@sven Thanks, you patch made it already in the official Arch package!