Bug 461978 - Layers can only be dragged and dropped into an empty or expanded group layer
Summary: Layers can only be dragged and dropped into an empty or expanded group layer
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Layer Stack (show other bugs)
Version: 5.1.1
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-18 07:15 UTC by jimbo
Modified: 2023-01-11 20:12 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jimbo 2022-11-18 07:15:47 UTC
If you create a group layer and drag and drop a new layer into it, there is no issue. However the bug arises when you already have layers added to a group layer that is collapsed. 

If I have a layer that I want to add to an existing group then I must expand the group layer in order to drop the new layer into it. This isn't intuitive as the user expects to be able to drop layers into a group layer whether it is expanded or not, and seems to be a bug as the user can drag and drop the initial layer into the group as expected.

STEPS TO REPRODUCE
1. Create a group layer, create a new layer (Layer 1) and drag and drop a layer into the group layer
2. Collapse the group layer
2. Create a new layer (Layer 2)
3. Drag the new layer (Layer 2) onto the collapsed group layer

OBSERVED RESULT
The new layer (Layer 2) is not added to the group layer

EXPECTED RESULT
The new layer (Layer 2) is added to the group layer

Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7
Kernel Version: 5.15.0-53-generic (64-bit)
Graphics Platform: X11
Comment 1 Halla Rempt 2023-01-06 11:42:21 UTC
5.15 TEST
Comment 2 wolthera 2023-01-11 20:12:28 UTC
Still seems to happen on the Krita 5.2.0-prealpha (git 5c98a72) appimage, Qt version 5.15.7

Setting this to confirmed.