It is also currently possible to add text shapes to a locked vector layer. These two things might be related.
*** Bug 388926 has been marked as a duplicate of this bug. ***
(Confirming)
Well, it is also possible to select and move a shape on an invisible layer :)
Git commit 76e0300e48c0c499586a17dcb4ba80b586067665 by Dmitry Kazakov. Committed on 09/02/2018 at 14:05. Pushed by dkazakov into branch 'master'. Fix lockness of the shapes when the layer is locked/invisible When the layer is locked, the shapes should be selectable, but not editable. When the layer is invisible, the shapes should also be invisible (thanks, cap!) M +1 -1 libs/flake/KoCanvasControllerWidgetViewport_p.cpp M +19 -5 libs/flake/KoSelection.cpp M +6 -2 libs/flake/KoSelection.h M +9 -8 libs/flake/KoShape.cpp M +2 -2 libs/flake/KoShape.h M +0 -8 libs/flake/KoShapeContainer.cpp M +0 -8 libs/flake/KoShapeContainer.h M +0 -8 libs/flake/KoShapeContainerModel.h M +4 -4 libs/flake/KoShapeManager.cpp M +1 -1 libs/flake/KoShapeSavingContext.cpp M +1 -1 libs/flake/KoShapeShadow.cpp M +2 -2 libs/flake/KoSnapProxy.cpp M +1 -1 libs/flake/KoToolManager.cpp M +1 -1 libs/flake/KoToolProxy.cpp M +0 -8 libs/flake/KoTosContainerModel.cpp M +0 -1 libs/flake/KoTosContainerModel.h M +2 -10 libs/flake/SimpleShapeContainerModel.h M +1 -1 libs/flake/resources/KoSvgSymbolCollectionResource.cpp M +1 -1 libs/flake/svg/KoShapePainter.cpp M +1 -1 libs/flake/svg/SvgStyleWriter.cpp M +0 -4 libs/flake/tests/MockShapes.h M +1 -1 libs/flake/tools/KoPathTool.cpp M +1 -1 libs/image/kis_base_node.h M +15 -0 libs/ui/flake/kis_shape_layer.cc M +4 -0 libs/ui/flake/kis_shape_layer.h M +0 -5 libs/ui/flake/kis_shape_selection_model.cpp M +0 -1 libs/ui/flake/kis_shape_selection_model.h M +1 -1 libs/widgets/KoToolBox.cpp M +0 -6 plugins/flake/textshape/ShrinkToFitShapeContainer.cpp M +0 -2 plugins/flake/textshape/ShrinkToFitShapeContainer.h M +0 -5 plugins/flake/textshape/textlayout/KoTextShapeContainerModel.cpp M +0 -2 plugins/flake/textshape/textlayout/KoTextShapeContainerModel.h M +1 -1 plugins/tools/defaulttool/connectionTool/ConnectionTool.cpp M +0 -24 plugins/tools/defaulttool/defaulttool/DefaultTool.cpp M +8 -6 plugins/tools/defaulttool/defaulttool/SelectionDecorator.cpp M +2 -2 plugins/tools/karbonplugins/tools/KarbonPatternTool.cpp https://commits.kde.org/krita/76e0300e48c0c499586a17dcb4ba80b586067665