Bug 456096

Summary: Drag and drop external picture on the canvas: the layer name is empty (regression)
Product: [Applications] krita Reporter: David REVOY <info>
Component: Layer StackAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ahab.greybeard, ghevan
Priority: NOR    
Version: 5.1.0-beta1   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:

Description David REVOY 2022-06-28 20:20:01 UTC
Hi,
In 5.1beta1 appimage, when I drag'n'drop a *.jpg or *.png files on my canvas, the layer in the stack display an empty name.

To reproduce:
===========
1. Create a new canvas
2. On Dolphin file explorer (or any?) navigate to your jpg or png collection of pictures.
3. Drag'n'drop a picture on the canvas of Krita. 
4.  On the dialog select "Insert as a new layer"

Result:
======
The layer inserted in the layer stack is unnamed: the slot has nothing.

Expected:
========
The layer inserted is named like the filename (eg: background-texture.png) as it was on 5.0.6 and before.

(Note: same for pictures drag'n'droped from Firefox.)
Comment 1 Ahab Greybeard 2022-06-28 21:00:24 UTC
I can Confirm this with the Jun 28 5.2.0-prealpha (git 930da6975e) appimage on Debian 10.
Comment 2 vanyossi 2022-06-29 00:14:59 UTC

*** This bug has been marked as a duplicate of bug 455671 ***