Bug 389879

Summary: Adding file as new layer via drag & drop shouldn't add it to Recent documents
Product: [Applications] krita Reporter: Storm Engineer <storm.anthro>
Component: GeneralAssignee: Halla Rempt <halla>
Status: RESOLVED FIXED    
Severity: wishlist CC: halla, raghu
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Storm Engineer 2018-02-04 15:09:24 UTC
Currently drag & dropping images to add them as new layers will add them to recent images pushing out actual work files from the list.

I believe this is undesirable as we didn't actually edit said image itself. This is a pain for users who rely on opening their work from Recent.
Comment 1 Raghavendra kamath 2018-02-04 16:05:06 UTC
+1 for this, A file should be added to recent file only when it is explicitly opened and not just by importing as layer.
Comment 2 Halla Rempt 2018-02-07 13:54:45 UTC
Git commit 44277234fc71ef7a3b0b15edae13dd5e754bc326 by Boudewijn Rempt.
Committed on 07/02/2018 at 13:53.
Pushed by rempt into branch 'master'.

Do not add imported layers to recent files

Set the DontAddToRecent flag so files imported as layers through
D&D or layer/import aren't added to the recent documents list.

M  +1    -2    libs/ui/kis_import_catcher.cc

https://commits.kde.org/krita/44277234fc71ef7a3b0b15edae13dd5e754bc326