Bug 417404 - Zoom tool behaves unpredictably when free rotation is active
Summary: Zoom tool behaves unpredictably when free rotation is active
Status: RESOLVED DUPLICATE of bug 386704
Alias: None
Product: krita
Classification: Applications
Component: Tools (show other bugs)
Version: 4.2.8
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-10 20:51 UTC by jesse0x42
Modified: 2020-06-18 20:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jesse0x42 2020-02-10 20:51:39 UTC
SUMMARY

The zoom tool behaves unpredictably when free rotation is active. 

(PS: I just started using Krita. I'm a programmer trying to learn some drawing skills.)


STEPS TO REPRODUCE

1. Use Shift+Space and drag the mouse around the center of the screen to freely rotate the view of the image (very useful for working from different perspectives and for when it's easier to draw a line well from one angle relative to your hand than another etc).

2. Try to use the zoom tool to highlight a box of the image that you'd like to zoom into to make it easier to work on some part of the image.

3. The zoom will jump to some (seemingly) unpredictable part of the image and not to the area you actually highlighted with the zoom tool. 

There's also a problem with the zoom box being oriented relative to the non-rotated image, whereas I'd think most users who are trying to use the zoom box tool while rotated are trying to rotate to an area that's relative to their current rotated perspective and not relative to the absolute one, since having it be relative to the current rotation is far more useful. 

This seems like a really essential aspect of having a good workflow, especially on smaller tablet screens. It would greatly improve the workflow if it was fixed. The free rotation tool could also perhaps benefit from being more easily discoverable instead of only working by using hotkeys (apparently).


OBSERVED RESULT

The zoom jumps around in strange (seemingly) unpredictable ways when the view is currently rotated.


EXPECTED RESULT

The zoom box should instead be relative to the current rotation and should behave as most users would expect it to.


SOFTWARE/OS VERSIONS
Windows: Windows 10 64-bit
(no others tested)


ADDITIONAL INFORMATION
Comment 1 Rebecca Breu 2020-02-10 21:01:30 UTC
I can confirm this with current master (f303fa7) as well. The zoom tool works fine on a non-rotated canvas, but acts weird once there's a rotation. I think the amount of zoom looks fine, but the offset is wrong.

And yes, it's strange to have the zoom selection box rotate with the canvas instead of keeping in alignment with the screen.
Comment 2 Dmitry Kazakov 2020-06-18 20:52:14 UTC

*** This bug has been marked as a duplicate of bug 386704 ***