This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How do I lock layer dragging to the X and Y axis?

Tags: None
(comma "," separated)
ꜱᴩʀɪᴛᴇ➀
Registered Member
Posts
32
Karma
0
OS
On other drawing applications, I can hold down shift while dragging a layer and it will stay on the X or Y axis (so moving the layer in a straight line essentially). How do I do this in Krita?
mvowada
Registered Member
Posts
322
Karma
1
ꜱᴩʀɪᴛᴇ➀ wrote:On other drawing applications, I can hold down shift while dragging a layer and it will stay on the X or Y axis (so moving the layer in a straight line essentially). How do I do this in Krita?

Hi. Well, I'm using Krita 4.2.0 and it works (Shift+Dragging) both with the "Move Tool" and the "Transform Tool". I'm on Linux.
What is your Krita version and OS?

EDIT: just checked and it works also with versions 4.1.7 and 3.3.3 here
ꜱᴩʀɪᴛᴇ➀
Registered Member
Posts
32
Karma
0
OS
mvowada wrote:EDIT: just checked and it works also with versions 4.1.7 and 3.3.3 here


I'm on 4.1.7 but with the Move Tool if I hold down Shift and drag, it drags all the other layers along with it for some reason
mvowada
Registered Member
Posts
322
Karma
1
ꜱᴩʀɪᴛᴇ➀ wrote:I'm on 4.1.7 but with the Move Tool if I hold down Shift and drag, it drags all the other layers along with it for some reason

Is the "Tool Options > Selection Mode" set to "Move current layer"? If not, I would try that.
ꜱᴩʀɪᴛᴇ➀
Registered Member
Posts
32
Karma
0
OS
mvowada wrote:Is the "Tool Options > Selection Mode" set to "Move current layer"? If not, I would try that.

Yeah apparently

Image

I tried the other 2 options but they seem to do the same thing (move everything when Shift is held down)
mvowada
Registered Member
Posts
322
Karma
1
ꜱᴩʀɪᴛᴇ➀ wrote:Yeah apparently
I tried the other 2 options but they seem to do the same thing (move everything when Shift is held down)

That's strange. Does it work if you close Krita, rename the $HOME/.config/kritarc file to say "kritarc.bak" and then restart?
ꜱᴩʀɪᴛᴇ➀
Registered Member
Posts
32
Karma
0
OS
mvowada wrote:That's strange. Does it work if you close Krita, rename the $HOME/.config/kritarc file to say "kritarc.bak" and then restart?


I renamed kritarc to kritarc.bak and opened Krita, it still happens, as you can see, Move Current Layer is also selected

https://streamable.com/5kgbn
mvowada
Registered Member
Posts
322
Karma
1
Thanks for the video. What is your distribution and what is your Desktop environment ("echo $DESKTOP_SESSION" + enter in a terminal)?

EDIT: as for the X/Y dragging it seems that it works from the video or am I wrong?
ꜱᴩʀɪᴛᴇ➀
Registered Member
Posts
32
Karma
0
OS
mvowada wrote:Thanks for the video. What is your distribution and what is your Desktop environment ("echo $DESKTOP_SESSION" + enter in a terminal)?


This is on elementary OS 5.0 with pantheon DE

Edit:
mvowada wrote:EDIT: as for the X/Y dragging it seems that it works from the video or am I wrong?


It only seems working because it's snapping the entire image with the canvas edges, on the video, you can see the outline of the whole bounding rectangle as I'm dragging it around which snaps to the canvas edges.
mvowada
Registered Member
Posts
322
Karma
1
So it seems you're facing two issues:

1. the "Shift" key doesn't lock to X/Y axes when moving a layer.
2. the "Move Tool" moves all layers even if its "Selection mode" setting is set to "Move current layer".

and I'm really out of ideas for both of them... I'm sorry
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS
Looking at the linked video, SPRITE1 seems to be also experiencing https://bugs.kde.org/show_bug.cgi?id=403371 as reported earlier by mvowada.

This situation is weird because I don't have that particular bug happening to me and I have no problem using Shift+Drag to force a Move to be horizontal or vertical. (Using any version of krita on Debian 9).

There are some strange things that can happen when doing Move operations across multiple layers but those particular things don't happen to me.

P.S. I'm also out of ideas.
mvowada
Registered Member
Posts
322
Karma
1
ahabgreybeard wrote:Looking at the linked video, SPRITE1 seems to be also experiencing https://bugs.kde.org/show_bug.cgi?id=403371

Hi Ahab, thanks for joining. Actually the first setting "Move current layer" it works well in my case :) I'm not quite sure about the 2nd and 3rd.
ꜱᴩʀɪᴛᴇ➀
Registered Member
Posts
32
Karma
0
OS
mvowada wrote:2. the "Move Tool" moves all layers even if its "Selection mode" setting is set to "Move current layer".


This works fine if I don't hold Shift down, when I hold Shift down, that's when all layers move together, also thank you for at least trying to help!

ahabgreybeard wrote:There are some strange things that can happen when doing Move operations across multiple layers but those particular things don't happen to me.

P.S. I'm also out of ideas.


I think I figured it out. When I hide the base layer (white background layer) the Shift + Drag works as expected. When it is visible, the Shift + Drag works as shown in the video I posted above where it drags all the layers.
mvowada
Registered Member
Posts
322
Karma
1
So, when using the "Move Tool" it happens that:

- the "Shift" key moves all the layers at once
- (apart the default white background layer, which is limitless)
- but only if one starts to drag by clicking over a not completely transparent area of a different than the current layer.

Good :)
ꜱᴩʀɪᴛᴇ➀
Registered Member
Posts
32
Karma
0
OS
Yeah I feel like this is a bug?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]