Version: krita-nightly-x64-v4.0.0.51-460-ge72f2bdea2 I am not able to undo a selection when displaying in Mask mode. The following steps trigger this bug: 1. Open a document in Krita 2. Select something (under Mask mode) 3. Add something to the selection 4. Undo Now the added area still appears as selected. If I change back to Ants mode, the selection area seems good (only first selection is shown), but I can still draw on the area that is selected in Step 3 (which appears NOT selected in Ants mode). When adding to selection in Mask mode, and switching to Ants mode, and then undoing, the selection is "displayed" correctly but I still can draw to that deselected area.
I can confirm on Ubuntu 14.04 as well, using Krita 4 beta appimage. (Display Mode: toggle icon in the bottom left hand corner of the status bar)
Can you also check whether this is a regression, e.g. whether it also happens in the 3.3.3 appimage?
(In reply to Boudewijn Rempt from comment #2) > Can you also check whether this is a regression, e.g. whether it also > happens in the 3.3.3 appimage? Yes it is a regression. It doesn't happen in the 3.3.3 appimage.
The problem is even a bit more severe: the selection's undo just doesn't work. Only outline changes, but real pixel data of the selection not.
Git commit 1d633079b43c6e5a68b47d14a3cca061c389805b by Dmitry Kazakov. Committed on 26/02/2018 at 17:29. Pushed by dkazakov into branch 'master'. Fix undoing selection modifications when Mask Mode is active We should not create a non-const iterator over a device when doing a read-only operation not-in-a-stroke-context thread M +2 -2 libs/image/kis_pixel_selection.cpp https://commits.kde.org/krita/1d633079b43c6e5a68b47d14a3cca061c389805b