Bug 472248 - Jagged edges when rotating objects
Summary: Jagged edges when rotating objects
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (show other bugs)
Version: 5.1.5
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-14 12:51 UTC by Daniel
Modified: 2023-07-20 07:03 UTC (History)
2 users (show)

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


Attachments
transform tool artifacts (11.03 KB, image/png)
2023-07-14 12:51 UTC, Daniel
Details
image-2.png (12.93 KB, image/png)
2023-07-14 14:00 UTC, Daniel
Details
attachment-3000993-0.html (1.44 KB, text/html)
2023-07-15 05:45 UTC, Daniel
Details
attachment-3341301-0.html (1.60 KB, text/html)
2023-07-19 15:38 UTC, Daniel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2023-07-14 12:51:49 UTC
Created attachment 160281 [details]
transform tool artifacts

SUMMARY
When using the transform tool to rotate a object, it creates jagged edges on the edge (see image attachment). This has not been the case before it at seemingly random started happening in version 4.4.5 (i think), but when updating to 5.1.5 it didn't fix the problem. 

STEPS TO REPRODUCE
1. Select drawn object
2. Use the transform tool to rotate it

OBSERVED RESULT
Jagged (not smooth and not blurry) edges around transformed object

EXPECTED RESULT
smooth edges

SOFTWARE/OS VERSIONS
Windows 10:
Comment 1 Halla Rempt 2023-07-14 12:56:26 UTC
I cannot reproduce this. I created an image; on the top layer I painted a blob, then selected the transform tool and rotated the blob. 

How do you select the drawn object exactly? And what does your layer structure look like?
Comment 2 Daniel 2023-07-14 14:00:21 UTC
Created attachment 160283 [details]
image-2.png

I just have a seperate layer for the object. It doesn't matter if it's
something I've drawn or a image I pasted in.
It happens both when just clicking the object with the transform tool to
select it or selecting it in a different way.

Especially when rotating something that has a straight line it's very
noticably creating sharp staircasing that doesn't have anti aliasing (see
attached image)

Halla Rempt <bugzilla_noreply@kde.org> schrieb am Fr., 14. Juli 2023, 14:56:

> https://bugs.kde.org/show_bug.cgi?id=472248
>
> Halla Rempt <halla@valdyas.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|REPORTED                    |NEEDSINFO
>          Resolution|---                         |WAITINGFORINFO
>                  CC|                            |halla@valdyas.org
>
> --- Comment #1 from Halla Rempt <halla@valdyas.org> ---
> I cannot reproduce this. I created an image; on the top layer I painted a
> blob,
> then selected the transform tool and rotated the blob.
>
> How do you select the drawn object exactly? And what does your layer
> structure
> look like?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Bug Janitor Service 2023-07-15 03:45:01 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 4 Daniel 2023-07-15 05:45:12 UTC
Created attachment 160298 [details]
attachment-3000993-0.html

Ok, thank you!

Bug Janitor Service <bugzilla_noreply@kde.org> schrieb am Sa., 15. Juli
2023, 05:45:

> https://bugs.kde.org/show_bug.cgi?id=472248
>
> Bug Janitor Service <bug-janitor@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|WAITINGFORINFO              |---
>              Status|NEEDSINFO                   |REPORTED
>
> --- Comment #3 from Bug Janitor Service <bug-janitor@kde.org> ---
> Thanks for your comment!
>
> Automatically switching the status of this bug to REPORTED so that the KDE
> team
> knows that the bug is ready to get confirmed.
>
> In the future you may also do this yourself when providing needed
> information.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 5 Dmitry Kazakov 2023-07-19 14:54:44 UTC
Hi, Daniel!

Could you check if you accidentally activated "Nearest Neighbour" Filter in the Transform Tool's options. The screenshot looks like you did. Select "Bicubic" instead.
Comment 6 Daniel 2023-07-19 15:38:01 UTC
Created attachment 160394 [details]
attachment-3341301-0.html

Oh yeah it was, thanks, sorry about that

Dmitry Kazakov <bugzilla_noreply@kde.org> schrieb am Mi., 19. Juli 2023,
16:54:

> https://bugs.kde.org/show_bug.cgi?id=472248
>
> Dmitry Kazakov <dimula73@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|REPORTED                    |NEEDSINFO
>          Resolution|---                         |WAITINGFORINFO
>                  CC|                            |dimula73@gmail.com
>
> --- Comment #5 from Dmitry Kazakov <dimula73@gmail.com> ---
> Hi, Daniel!
>
> Could you check if you accidentally activated "Nearest Neighbour" Filter
> in the
> Transform Tool's options. The screenshot looks like you did. Select
> "Bicubic"
> instead.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 7 Bug Janitor Service 2023-07-20 03:45:12 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.