https://bugs.kde.org/show_bug.cgi?id=455671
Bug ID: 455671 Summary: Dragging and dropping an image results in blank layer name Product: krita Version: nightly build (please specify the git hash!) Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: * Unknown Assignee: krita-bugs-n...@kde.org Reporter: penguinflyer2...@gmail.com CC: a...@amyspark.me Target Milestone: --- SUMMARY *** Dragging-and-dropping an image as a paint layer causes the layer name to be blank. *** STEPS TO REPRODUCE 1. Drag and drop an image into an open document, choosing "Insert as New Layer". OBSERVED RESULT The resulting layer's name is blank. EXPECTED RESULT The resulting layer's name is the image's filename. SOFTWARE/OS VERSIONS Krita git 389448dd39 ADDITIONAL INFORMATION I could be wrong, but it seems likely to be related to line 531 of libs/ui/KisView.cpp (changed in MR!1296): KisPaintLayerSP layer = new KisPaintLayer(this->image(), "", OPACITY_OPAQUE_U8, clip); The layer is initialized without a name and as far as I can tell is never given one, thus the bug. -- You are receiving this mail because: You are watching all bug changes.