https://bugs.kde.org/show_bug.cgi?id=402625
--- Comment #10 from Tymond <tamtamy.tym...@gmail.com> --- Git commit 52ee93a924365b5af795a913b038303a7f8ea46a by Agata Cacko. Committed on 11/03/2019 at 18:18. Pushed by tymond into branch 'master'. Fix loading wrong file format (progress bar + recent docs) Summary: Before this patch, when you forced Krita to load file in unknown format, it showed uncancelled progress bar and showed the file in Recent Documents. It happened when you dragged and dropped file to the welcome screen or import animation frames or use Open->File or Open -> Recent Files. Progress bars were visible only when some image was opened. This commit cancels progress bars and make sure unloadable files are not added to Recent Documents. Test Plan: 1. Create an unloadable file. Can be "touch a". 2. Load it using one of the ways mentioned above 3. After loading, there is an error message. Click ok. 4. If you used Import Animation Frames, look at the bottom of Krita window. - before: progress bar still "loading" - now: no progress bar visible 5. If you used other option, create a new file or open something else, and you'll see the same effect. 6. Look at Recent Documents. - before: unloadable file added to list - now: no unloadable file added to list (beside the ones that were aleady there after testing) Reviewers: #krita, rempt Reviewed By: #krita, rempt Tags: #krita Differential Revision: https://phabricator.kde.org/D19611 M +14 -7 libs/ui/KisDocument.cpp https://commits.kde.org/krita/52ee93a924365b5af795a913b038303a7f8ea46a -- You are receiving this mail because: You are watching all bug changes.