| Summary: | "Files" view no longer loads | ||
|---|---|---|---|
| Product: | [Applications] Elisa | Reporter: | Ilya Bizyaev <bizyaev> |
| Component: | general | Assignee: | Matthieu Gallien <matthieu_gallien> |
| Status: | RESOLVED FIXED | ||
| Severity: | grave | CC: | bart, empyreal, liubomirwm, nate |
| Priority: | VHI | Keywords: | regression |
| Version First Reported In: | 21.08.0 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/multimedia/elisa/-/commit/618cf9b589ef9dd58e3ec3dd7450a80f10e118f8 | Version Fixed/Implemented In: | 21.08.1 |
| Sentry Crash Report: | |||
|
Description
Ilya Bizyaev
2021-08-14 19:04:58 UTC
Oh dear. It was broken by this: commit ab48bc4f78902e02f9f1c59e5dba3e90452efba9 Author: Matthieu Gallien <matthieu_gallien@yahoo.fr> Date: Sat Jun 26 17:25:58 2021 +0200 make KIO optional on Android and required everywhere else CMakeLists.txt | 7 ++++++- README.packagers | 2 +- src/elisaapplication.cpp | 7 +++++++ src/viewmanager.cpp | 9 +++++++++ 4 files changed, 23 insertions(+), 2 deletions(-) The problem appears to be that the KF5KIO_FOUND CMake macro is not visible in viewmanager.cpp, so it always evaluates to false, which means we get no files view populated. This is also buggy; the view should also disappear from the sidebar in this case, but it does not. Instead it just sits there taunting you, daring you to click on it, only to dash your hopes by not loading anything. If it disappeared from the sidebar too, probably someone would have noticed this before the release. *** Bug 441450 has been marked as a duplicate of this bug. *** viewslistdata.cpp
compare 21.04 file with master
Problem in these lines:
#if defined KF5KIO_FOUND && KF5KIO_FOUND
#endif
#if defined KF5KIO_FOUND && KF5KIO_FOUND
#else
newModel = nullptr;
proxyModel = nullptr;
#endif
remove or comment them and Files Window will work
Fixed by Bart De Vries with https://invent.kde.org/multimedia/elisa/-/commit/618cf9b589ef9dd58e3ec3dd7450a80f10e118f8 in Elisa 21.08.1! *** Bug 441911 has been marked as a duplicate of this bug. *** |