Summary: | Moving a layer to the top position of a group will move the layer out of the group | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | jimbo <loudsquid> |
Component: | Layer Stack | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dimula73, halla, raghu |
Priority: | NOR | ||
Version: | 4.2.3 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/38de1ea6d522ae5c6e79251943a558230cbe0fc8 | Version Fixed In: | |
Sentry Crash Report: |
Description
jimbo
2019-08-16 07:41:00 UTC
Just adding some information here, it seems there are two thick lines that appear , one is slightly below the other, if you drop using the line which is slightly down , it will stay inside the group. Perhaps we should just use a different length of the layer insert position marker, depending on where the layer is going to be inserted? Like, if we insert it into the group, then marker is short. If we are going to insert it into the parent layer, then the marker is long... Do we actually draw these markers ourselves? Git commit c6ac82b4561267493a54631d43a83d1f0afe9b97 by Dmitry Kazakov. Committed on 18/08/2020 at 13:20. Pushed by dkazakov into branch 'krita/4.3'. Fix drop indicator rendering for the layers NodeView::visualRect() is used by Qt for rendering the drop indicator. All other metrics are calculated by NodeDelegate manually using the unmodified NodeView::originalVisualRect() call. M +16 -4 plugins/dockers/layerdocker/NodeView.cpp https://invent.kde.org/graphics/krita/commit/c6ac82b4561267493a54631d43a83d1f0afe9b97 Git commit 38de1ea6d522ae5c6e79251943a558230cbe0fc8 by Dmitry Kazakov. Committed on 18/08/2020 at 13:21. Pushed by dkazakov into branch 'master'. Fix drop indicator rendering for the layers NodeView::visualRect() is used by Qt for rendering the drop indicator. All other metrics are calculated by NodeDelegate manually using the unmodified NodeView::originalVisualRect() call. M +16 -4 plugins/dockers/layerdocker/NodeView.cpp https://invent.kde.org/graphics/krita/commit/38de1ea6d522ae5c6e79251943a558230cbe0fc8 |