SUMMARY Tested with all 5.0.0-beta versions and the Dec 19 5.1.0-prealpha (git 5e7b12a) appimages on Debian 10. This is only for 5.0.0-beta1 onwards, 4.4.8 does not have this feature. Image -> Properties -> Dimensions tab shows 'Number of Layers' for a document. This is one more than it should be. Note that the 'formal' layer names in the .kra file start at "layer2" and increment from there. That may be relevant. STEPS TO REPRODUCE See Summary OBSERVED RESULT See Summary EXPECTED RESULT The layer count should be accurate ADDITIONAL INFORMATION
Hey there, I have looked into this issue and found the root cause of the inflated layer count. I have submitted a patch (here: https://invent.kde.org/graphics/krita/-/merge_requests/1270) to fix this issue, which has already been approved and merged. I have confirmed that the nightly build already contains this change and is showing the expected number of layers. I can move this to resolved upon the next release where I can verify it's completion.
I tested the latest nightly builds for the appimage and the Windows portable .zip. The bug is fixed :)