Bug 389807 - Dolphin freezes when hitting "enter" quickly after "delete"
Summary: Dolphin freezes when hitting "enter" quickly after "delete"
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 17.12.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-02 22:53 UTC by Mircea Kitsune
Modified: 2020-10-26 15:51 UTC (History)
4 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 Mircea Kitsune 2018-02-02 22:53:56 UTC
I've been seeing this strange bug in recent versions of Dolphin. Note that it may be difficult to reproduce on demand, and getting this exact effect may take a bit of trial and error. Here is what I noticed so far:

If you select a file or directory, press the delete button, then immediately hit the enter key, Dolphin permanently becomes unresponsive. It does not eat any CPU unless most freezes of this sort, but the window is no longer painted and you must kill the process to shut it down.

This would appear to be caused by the confirmation prompt ("do you really want to delete this item" message) when enter is pressed right before the window pops up. It looks as if the dialog forgets to inform the main window that it has been closed, so the parent process still thinks the confirmation prompt exists and that it's waiting for you to answer it.

To reproduce: Select any item in dolphin, then hit delete quickly followed by enter. Enter must be pressed the instant the confirmation prompt appears, if not a few moments before that. If you keep doing it at various time intervals, you should eventually see Dolphin freezing and no longer responding.
Comment 1 Justin Zobel 2020-10-25 01:00:28 UTC
Hitting the delete key no longer provides a prompt as items are sent to the Trash. Can you please re-test this against a newer Dolphin version and confirm if it is still an issue.
Comment 2 Mircea Kitsune 2020-10-26 15:51:52 UTC
No longer seeing this issue even with the prompt: Pressing Enter quickly after Delete works as intended and confirms the deletion without any hiccups.