Bug 383587

Summary: change axis of transform tool without changing the selection/image
Product: [Applications] krita Reporter: Bollebib <kwadraatnope>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: halla, penguinflyer2222
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Bollebib 2017-08-16 08:48:45 UTC
As discussed on IRC (log below)


its to have a button or shortcut or modifier (shift+ctrl?) or tool entry;
to be able to change the axis of a transform widget.

example: drawing of the tower of pisa, a slanted building. You want to make that building wider uniformly. Currently there is no easy way to do this. Activating the transform tool will five horizontal widget. If you widen that the proportions of the tower will be crooked.

If you could rotate the widget without affecting the contents TEMPORARILY ,then you could align the axis with the tower,let go of the shortcut,and widen more easily.


This could be a shortcut or a UI widget button. It can be a tooloption,but that might not be flexible for constant work. 
To me best way is to add a modifier shift and ctrl are already used,I would propose shift+ctrl  as this is an advanced feature ,so it matters less the keyboard is a bit harder to make. This way people cant trigger it by accident. 

Maybe clicking the option in tool options will count as a singe activation of this modifier and also explains what the shortcut is with a tooltip?





13:51:50 - Bollebib_Pupu: when using transform tool to make something wider the axes are horizontal right?
13:52:12 - Bollebib_Pupu: but sometimes i would like to change that axis to make something that is not upright wider
13:52:57 - Bollebib_Pupu: one way to do this could be when you rotate canvas,that the transformation widget stays horizontal ( as an option)
13:54:03 - Bollebib_Pupu: another way could be that you could press a button ,and move ONLY the widget without affecting the contents till you let go of that button
13:54:25 - Bollebib_Pupu: dmitryK|log: so i'm wondering what you think would work better or is smarter
13:57:12 - Bollebib_Pupu: lets say you have a rectangle that is not upright but at an angle
13:57:12 - Bollebib_Pupu: if you make it wider right now you will make it slanted,and not a rectangle anymore
13:57:12 - Bollebib_Pupu: if you could maniuplate only the widget , or rotate canvas to change the axis ,that would be easier to widen it then however you can do it now
13:58:25 - dmitryK|log: Bollebib_Pupu: well, the idea with trotating the canvas sounds extremely interesting, but I'm not sure the users will manage to discover this feature... And the second trouble of such approach is that the user cannot align the frame with the contents easily, because the frame is not present until you press Enter
13:58:58 - Bollebib_Pupu: users dont find a lot of more advanced features
13:59:06 - dmitryK|log: Bollebib_Pupu: and letting the user rotate the canvas while the frame is active might be a bit unexpected behavior for som eusers
13:59:27 - Bollebib_Pupu: that's why it should be an option to toggle in the tool setting
13:59:57 - Bollebib_Pupu: dmitryK|log: the current way SHOULD still be default,its the best,easiest way
14:00:16 - Bollebib_Pupu: but sometimes it isnt the best
14:00:23 - Bollebib_Pupu: for more advanced manipulations
14:00:43 - dmitryK|log: Bollebib_Pupu: I would still prefer being able to rotate the frame separately. Though I don't know what shortcut/button/checkbox we should bind it to
14:01:01 - dmitryK|log: Bollebib_Pupu: probably, we should ask scottyp and Animtim about that?
14:01:10 - Bollebib_Pupu: so hold a button to rotate the widget
14:01:19 - Bollebib_Pupu: and not affect contents
14:01:45 - Bollebib_Pupu: IF we use this way though it should also work not only for rotation
14:01:58 - Bollebib_Pupu: asking them sure
14:03:15 - Bollebib_Pupu: dmitryK|log: it should maybe be harder to do
14:03:29 - Bollebib_Pupu: so you cant do it accidentally
14:03:36 - Bollebib_Pupu: shit+ctrl for example
14:03:46 - Animtim: rad: on which preset?
14:06:32 - Animtim: dmitryK|log: I agree with Bollebib_Pupu's idea. Having that as a toggle option in the tool settings would be good
14:07:28 - Animtim: though the other idea, to have a special button next to the widget, could be even better..
14:07:48 - Bollebib_Pupu: a visible widget button?
14:08:12 - Bollebib_Pupu: maybe,it would make it more discoverable
14:08:14 - Animtim: yes.. though I can see it being in the way sometimes, so actually,
14:08:29 - Animtim: an option to enable the rotate button on the widget
14:08:42 - Bollebib_Pupu: if possible i'm not against it
14:08:42 - Bollebib_Pupu: but keyboard shorcut might be easier to implement
14:09:07 - nicholasl has left the room (Quit: leaving).
14:09:13 - Animtim: surely just a keyboard shortcut without any ui is simpler to code..
14:09:27 - Animtim: but that's very hidden then
14:09:35 - Bollebib_Pupu: uhuh
14:09:58 - Animtim: (I personnaly don't like keyboard-only features.. ;) )
14:10:12 - Bollebib_Pupu: maybe if tranform too is active after few seconds you should get tooltip
14:10:14 - Bollebib_Pupu: with all options
14:10:30 - Bollebib_Pupu: or in status bar
14:10:35 - Bollebib_Pupu: like what blender does
14:10:50 - Bollebib_Pupu: underneatg 3D view for each tool
14:10:55 - Bollebib_Pupu: underneath
14:12:56 - rad: Animtim: oil presets, opacity still use tilt
14:21:08 - dmitryK|log: Bollebib_Pupu: rotated area might be a problem for a case when the transform a selection that is "torn away" from the layer
14:21:22 - Bollebib_Pupu: dmitryK|log: ?
14:21:54 - dmitryK|log: Bollebib_Pupu: when you transform not the entire layer, but only some portion of it. But it is only a technical difficulty
14:22:44 - Bollebib_Pupu: dmitryK|log: the selection wouldnt change,only the widget would
14:23:03 - boud: dmitryK|log: awesome
14:23:04 - Bollebib_Pupu: it would be like pretending the selection is horizontal even if slanted
14:23:40 - Bollebib_Pupu: but sure there might be some technical ironing out to do
14:24:09 - Bollebib_Pupu: dmitryK|log: shall i make a wishbug for it later? or do you need more input still?
14:24:57 - dmitryK|log: Bollebib_Pupu: the point is that the "widget" usually "tight-bounds" the selection. Therefore, theoretically, it should change its size during rotation...
14:25:11 - Bollebib_Pupu: dmitryK|log: ah yeah
14:31:13 - dmitryK|log: Bollebib_Pupu: Please make a wish. The idea is quite clear from the usecase point of view, but the implementation needs experiments
Comment 1 Freya Lupen 2024-06-03 15:37:22 UTC
This feature has been added in 5.3.0-prealpha (commit 6af77681) by MR!2113 (https://invent.kde.org/graphics/krita/-/merge_requests/2113/).