Bug 404774

Summary: ver 4.0.1 open file locks up in 140k files directory. awkward work around
Product: [Applications] krita Reporter: Lee <bookman85219>
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lee 2019-02-24 15:04:16 UTC
SUMMARY
OPEN locks up with large number of files in folder

STEPS TO REPRODUCE
1. ctrl o 
2. select folder with huge number (215,000) of files
3. 

OBSERVED RESULT
locks up. maybe a very long wait would resolve
Krita returns to this folder/lockup on next open attempt rendering Krita unuseable

EXPECTED RESULT
abilty to select file or at least exit directory

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
work around: Avoid Ctrl-o. Drag drop file from directory to Krita work area
solution? make possible to break lock up without crashing out of Krita and/or make work around known
Comment 1 Halla Rempt 2019-02-24 18:38:18 UTC
Of course, working with folders with 215k files is crazy -- but this is not a bug in Krita, since the file dialog is provided by Qt or your desktop environment. Check whether enabling or disabling native file dialogs makes a difference; check whether changing to a different desktop environment makes a difference.

Oh, and update to a recent version of Krita 4.0.1 is ancient history.