Bug 374223

Summary: creating new file layer
Product: [Applications] krita Reporter: Manga Tengu <mangatengu>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 3.1.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Manga Tengu 2016-12-27 18:47:21 UTC
Importing a file as a new file layer will result in an empty layer systematically.
It works fine with 2.9.7 though.
So as a workaround I import with 2.9.7 and then work in 3.1.1
Comment 1 Halla Rempt 2016-12-28 09:07:46 UTC
I'm sorry, but I cannot reproduce this with the 3.1.1 appimage or a local development build :-( Are you specifying the full path to the file layer, or a relative path?
Comment 2 Manga Tengu 2016-12-28 10:44:27 UTC
I got it:
the kra file is on a mounted hard drive and I can access it several ways :
1---
If I access it via its physical path 
/media/user/blabla/**/*.kra 
I can add new file layers.
2---
If I access it via my symbolic link 
/home/user/Pictures/{ln}/**/*.kra
It will add an empty file layer
Comment 3 Halla Rempt 2017-01-03 12:16:08 UTC
Git commit b40e92882015fd528dd2870c7ed6886eb70ea521 by Boudewijn Rempt.
Committed on 03/01/2017 at 12:15.
Pushed by rempt into branch 'master'.

Try to follow symlink when creating a file layer

M  +6    -2    libs/ui/dialogs/kis_dlg_file_layer.cpp

https://commits.kde.org/krita/b40e92882015fd528dd2870c7ed6886eb70ea521