Bug 430027

Summary: Create New Folder dialog: disabling OK button after every keypress not a good UX
Product: [Frameworks and Libraries] frameworks-kio Reporter: Frank Steinmetzger <dev+kde>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kdelibs-bugs-null, meven29
Priority: NOR    
Version First Reported In: 5.76.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Frank Steinmetzger 2020-12-04 23:52:08 UTC
SUMMARY

I noticed a new behaviour in Dolphin which does not agree with fast typists. After every keypress in the name field, the OK button is disabled for a short moment. In the release notes for Frameworks 5.76.0 I found:
“KNewFileMenu: check file does not already exists with delay for improved usability”

I regularly create temporary folders like "tmp", "asd", "foo" or even single-lettered names. Typing those, including Enter, is etched into muscle memory. So in my case, usability has worsened because I need to wait for the delay to elapse. :)

May I ask for the initial disabling to be postponed until after the existence check is done? When the submit action is triggered, the directory might have been created by another process in the meantime, so the check would have to be done again on triggering OK, anyway:
1. Enter a directory name
2. The directory is created externally
3. Click OK
4. The dialog closes and Dolphin shows an “already exists” error at the top

The constant disabling/enabling also creates visual clutter and might make the user even think that the computer is busy after every keypress.

Thanks for your consideration.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.2
Comment 1 Méven Car 2020-12-05 08:46:00 UTC

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