Bug 429937 - Layer rotation moves the selection 1px upwards
Summary: Layer rotation moves the selection 1px upwards
Status: RESOLVED DUPLICATE of bug 413668
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 4.4.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-02 16:53 UTC by Nagy Tibor
Modified: 2021-07-23 14:15 UTC (History)
2 users (show)

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


Attachments
Reproduction (1.15 KB, image/png)
2020-12-02 16:53 UTC, Nagy Tibor
Details
Video (285.11 KB, video/x-matroska)
2020-12-02 16:54 UTC, Nagy Tibor
Details
big test file (415.86 KB, application/zip)
2020-12-11 15:07 UTC, Tiar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nagy Tibor 2020-12-02 16:53:56 UTC
Created attachment 133818 [details]
Reproduction

SUMMARY
When rotating square shaped selections to the right, the selection sometimes gets pushed upwards by 1 pixel.

STEPS TO REPRODUCE
1. Open the attached image.
2. Select the 12x12 pixel blue square with the rectangular selection tool.
3. Layer -> Transform -> Rotate -> Rotate Layer 90° to the Right
4. Repeat step 3.

OBSERVED RESULT
The selection moves 1px upwards on each rotation until it stops at some point.

EXPECTED RESULT
Rotate the selection in-place without moving it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.20
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
Only happens when rotating right.
Comment 1 Nagy Tibor 2020-12-02 16:54:37 UTC
Created attachment 133819 [details]
Video
Comment 2 Tiar 2020-12-11 15:07:14 UTC
Created attachment 134004 [details]
big test file

Interestingly, it doesn't happen if you import this little picture onto a bigger picture, only when the canvas is very small.
Comment 3 Tiar 2020-12-11 15:07:45 UTC
But I can confirm it does happen if you just import that little picture using File -> New -> From Clipboard.
Comment 4 Anunay 2021-07-23 14:15:53 UTC
*** This bug has been marked as a duplicate of bug 413668 ***