https://bugs.kde.org/show_bug.cgi?id=510215

--- Comment #4 from Ming Chuan <[email protected]> ---
> If layers contain pixels (e.g. a brush stroke), shift click does not work as 
> expected. Instead of selecting all layers inbetween only the last clicked 
> layer gets selected.

That's wild, on X11/XWayland it works regardless of whether the paint layers
has any pixels

> I cannot reproduce with either master or 5.2 on my m1 with a wacom cintiq 
> tablet.

Did you build master with qt5 or qt6. How about qt6 appimage?

I looked into the code and find that
* The multi-select bug is caused by the (ctrl drag&drop) hacks in
`NodeView::selectionCommand` , which overrides the shift multiselect behavior
(perhaps in a nondeterministic way).
* It seems like the feature that the workaround is for (ctrl-dragging&dropping)
is already not 100% working when multiple layers is selected. I attempted to
fix it but I think it'll need some good understanding of the qt list.. After
all, it feels krita is trying to support many kinds intricate actions in the
layers docker that's perhaps beyond what the qt's list view is designed for

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to