Bug 389879 - Adding file as new layer via drag & drop shouldn't add it to Recent documents
Summary: Adding file as new layer via drag & drop shouldn't add it to Recent documents
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Halla Rempt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-04 15:09 UTC by Storm Engineer
Modified: 2018-02-07 13:54 UTC (History)
2 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 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