| Summary: | Opening Gwenview with a URL causes it to crash when visiting `recentlyused:/locations` sidebar entry | ||
|---|---|---|---|
| Product: | [Applications] gwenview | Reporter: | skierpage <info> |
| Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | crash | CC: | info, nate, pehg_ |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 20.08.1 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | New crash information added by DrKonqi | ||
|
Description
skierpage
2021-04-17 09:16:26 UTC
I just repeated with `gwenview /tmp`, clicked Recent Locations in the sidebar, and another immediate crash. This time
[02::16:44.179] unknown: Found no root index for QUrl("recentlyused:/locations")
appeared in the console window.
I tried clicking Recent Locations in kwrite's File > Open dialog, and that worked fine.
Can confirm. Created attachment 140063 [details]
New crash information added by DrKonqi
gwenview (21.04.1) using Qt 5.15.2
- What I was doing when the application crashed:
I started gwenview with gwenview ~/Pictures/2000s, then in the Brose Folders sidebar clicked "> Recent Locations"... nothing happened, so I double-clicked it -> immediate crash. The workaround is to click the '>' arrow to expand it in the sidebar, then double-click a sub-folder.
-- Backtrace (Reduced):
#4 0x00007f34698ab416 in QListView::scrollTo(QModelIndex const&, QAbstractItemView::ScrollHint) () from /lib64/libQt5Widgets.so.5
#5 0x00007f346986c058 in QAbstractItemView::currentChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQt5Widgets.so.5
#6 0x00007f346897cce0 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#7 0x00007f3468908e8e in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQt5Core.so.5
#8 0x00007f346890a49e in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /lib64/libQt5Core.so.5
Thank you for the report. I couldn't reproduce this crash on Gwenview built from git-master (version 25.07.70). May we ask you to test again in either the current version Gwenview 24.12.3 or in a future version Gwenview 25.04 when KDE Gear 25.04 is released (Thursday, April 17, 2025)? ๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! ๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. (In reply to Pedro from comment #4) > I couldn't reproduce this crash on Gwenview built > from git-master (version 25.07.70). May we ask you to test again in either > the current version Gwenview 24.12.3 or in a future version Gwenview 25.04 Sorry, works for me too with Gwenview 25.04 in Fedora 41. I again edited files on a USB drive in Gwenview and when I unmounted it and reopened Gwenview, Recent Folders and Recent Files just didn't show those files until I remounted it. I even entered the locations recentlyused:/files/ and recentlyused:/locations/ in Gwenview's location field and no crash. All good! |