Bug 511702 - Splitted layer not placed next to original layer
Summary: Splitted layer not placed next to original layer
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-06 08:56 UTC by Ming Chuan
Modified: 2025-11-06 08:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ming Chuan 2025-11-06 08:56:43 UTC
SUMMARY

Split layer https://docs.krita.org/en/reference_manual/split_layer.html sometimes places the splitted layer at a position that's not next to the original layer in the layer stack. I could be wrong but I remember if used to place the layer next to the original layer?

I vaguely remember it worked before. I tested the reproduction steps all the way back to 5.2.0 appimage and it's still reproducible. Tested 5.2.0, 5.2.10, 5.2.13, master

STEPS TO REPRODUCE
1. Run krita appimage with clean environment (HOME, XDG_DATA_HOME, XDG_CACHE_HOME, XDG_CONFIG_HOME).
2. Create new krita document with default setting
3. Press the plus sign in layers docker 10 times to create 10 paint layers
4. click on "Paint Layer 5" to select it
5. Layer -> Split -> Split Layer -> Click Apply without changing any setting.

OBSERVED RESULT

Splitted layer is placed between Paint Layer 1 and Paint Layer 2. Which makes no logical sense

EXPECTED RESULT

Splitted layer placed on top of Paint Layer 5

SOFTWARE/OS VERSIONS

Linux appimage

This is under XWayland. Not sure if this bug exists on other platform.

Also reproducible on wayland native

ADDITIONAL INFORMATION