Bug 415275 - Crash when going "Back" or "Forward" to a deleted folder
Summary: Crash when going "Back" or "Forward" to a deleted folder
Status: RESOLVED DUPLICATE of bug 414227
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-17 06:38 UTC by ndavis
Modified: 2019-12-18 14:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ndavis 2019-12-17 06:38:46 UTC
SUMMARY
I was checking some folders in my downloads to decide whether or not to trash them. After I did, I used the Back button on my mouse out of habit, and Dolphin crashed right away. I have a 100% reproduction rate using the following steps. May also occur on use of the back/forward UI elements in the app.

STEPS TO REPRODUCE
1. Browse to folder foo/bar
2. Click the breadcrumb navigator into foo
3. Delete bar
4. Press Back on your mouse

or

1. ''
2. Press Back into foo
3. Delete bar
4. Press Forward on your mouse
OBSERVED RESULT
Dolphin crashes immediately.

EXPECTED RESULT
Maybe upon deletion of a folder, Dolphin should clean it from the history list. Or handling the error gracefully with a notification should be fine.

SOFTWARE/OS VERSIONS
Linux: Arch Linux, kernel 5.4.3
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2
Comment 1 David Hallas 2019-12-17 15:57:35 UTC
I have just tested this with Dolphin 19.12 and I cannot reproduce the crash :/
I use the navigation buttons in the UI, have you tried those?
Comment 2 ndavis 2019-12-17 18:34:08 UTC
(In reply to David Hallas from comment #1)
> I have just tested this with Dolphin 19.12 and I cannot reproduce the crash
> :/
> I use the navigation buttons in the UI, have you tried those?

Yes. I can still reproduce the crash, but not with a 100% rate. Demo: https://www.youtube.com/watch?v=34BXdlRk9Y4

Other info: The partition is ext4 formatted. No LVM, no encryption.
Comment 3 Ismael Asensio 2019-12-17 20:46:44 UTC
Out of curiosity, do you have information panel open when the crash happens?
It reminds me of https://bugs.kde.org/show_bug.cgi?id=414227, which got fixed on KFileMetadata on master
Comment 4 David Hallas 2019-12-18 14:20:17 UTC
(In reply to Ismael Asensio from comment #3)
> Out of curiosity, do you have information panel open when the crash happens?
> It reminds me of https://bugs.kde.org/show_bug.cgi?id=414227, which got
> fixed on KFileMetadata on master

I can confirm that I can reproduce the problem with the information panel open. I will just retest with the fix you did in KFileMetadata.

Thanks for pointing it out ;)
Comment 5 David Hallas 2019-12-18 14:23:15 UTC
Just tested with the latest master of KFileMetadata and I can confirm that the issue is fixed. So I will close this bug as a duplicate of 414227.

Please retest this once Frameworks 5.66 is out.

Thanks for reporting

*** This bug has been marked as a duplicate of bug 414227 ***