Bug 380467 - [proposal] ability to change file path/filename inside file layer properties
Summary: [proposal] ability to change file path/filename inside file layer properties
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 3.1.4
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-02 12:35 UTC by Alex
Modified: 2017-10-30 14:42 UTC (History)
0 users

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 Alex 2017-06-02 12:35:18 UTC
I noticed that when file that file layer is referring to is deleted krita shows dialog where I can locate original file. It would be nice to have access to that dialog from file layer properties so it's possible e.g. to change background of image or painting underlay.
Comment 1 wolthera 2017-10-30 14:42:17 UTC
Git commit 1cfb64ab4bc2e1af2eeedda2c625a19e15147cb8 by Wolthera van Hövell tot Westerflier.
Committed on 30/10/2017 at 13:47.
Pushed by woltherav into branch 'master'.

[FEATURE] Add properties dialog to change file layer properties.

This gives the file layers a custom properties dialog to adjust the
location of the referenced file and location of the file layers.

I think this one can be ported, but the other file layer patch cannot because
it uses the clone stuff that all the async saving work brought.

Differential Revision: https://phabricator.kde.org/D8359
CCMAIL:Kimageshop@kde.org

M  +4    -0    libs/image/kis_types.h
M  +1    -0    libs/ui/CMakeLists.txt
M  +19   -0    libs/ui/dialogs/kis_dlg_file_layer.cpp
M  +3    -0    libs/ui/dialogs/kis_dlg_file_layer.h
A  +66   -0    libs/ui/kis_change_file_layer_command.h     [License: GPL (v2+)]
M  +7    -1    libs/ui/kis_file_layer.cpp
M  +1    -0    libs/ui/kis_file_layer.h
M  +33   -0    libs/ui/kis_layer_manager.cc

https://commits.kde.org/krita/1cfb64ab4bc2e1af2eeedda2c625a19e15147cb8