If the current layer is either locked or invisible, and the cursor shape is set to "Brush Outline", there is no cursor when hovering over the canvas. This makes it difficult to find out where the cursor is if it moves over the canvas. Reproducible: Always Steps to Reproduce: 1. Go to Settings > Configure Krita > General. 2. From the Cursor shape popup menu, select "Brush Outline", then click OK. 3. Lock or make invisible the current layer. 4. Select a brush tool. 5. Move the cursor over the canvas. Actual Results: no cursor! Expected Results: Some sort of cursor.
As a matter of fact, this bug is actually the same issue as bugs https://bugs.kde.org/show_bug.cgi?id=298936 https://bugs.kde.org/show_bug.cgi?id=290850 https://bugs.kde.org/show_bug.cgi?id=290850 https://bugs.kde.org/show_bug.cgi?id=299055 https://bugs.kde.org/show_bug.cgi?id=279501 We need to make the layer lock only lock the contents of the layer, not the whole tool, and certainly not the panning/color picking/zooming functionality.
Fixed by new locking system.