-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug in group-transformation (scale one side + rotate) [$115 awarded] #95
Comments
I can reproduce this too. Marking as bug. |
Hello, |
I didn't have time to fix it yet. |
Do you plan to fix this bug? |
This problem is in _restoreObjectState, and even worse in the fact that fabric does not support skewing of objects at the moment. It becomes very clear when you add 2 rectangles, rotate one of them to 30 degrees or so. Then select both rectangles and scale one side. This wil effectively skew the rotated rectangle. Deselecting after scaling will make the rectangle resume it's original non-skewed form because there is currently no way to skew. |
How can we bid on tickets ? 💵 |
@coulix Through bountysource @woutercommandeur I've been planning to add support for vertical and horizontal skewing sometime soon. The actual canvas implementation is easy (via transform matrix) but then we need to detect proper bounding box (expanding it by the length of side opposite to the angle). Also need to support this in SVG output, which I didn't look into yet. |
I just added a pull request that fixes the jumping around, but not the skewing :) |
+1 for this fix! |
The bounty for this is still rising, is the fix not good enough? (or should we create a feature request for skewing) |
@woutercommandeur I wanted to keep it open till skewing is fixed. Not sure how easy it is to transfer bounties to another ticket. I also think you should get at least half of the existing bounty for fixing jumping issue (need to check bountysource on how we can make that happen) |
@kangax Ok, probably should have closed this as soon as it was fixed and make a new ticket. But if we can transfer bounty then that will work. I don't want all of this since people are putting money on skewing. |
How about we just ask folks who put bounties (@travispaul @Kienz @coulix) if skewing is still an issue. If it's not, I'll happily close this one and we'll open another one. |
Skewing is an issue, and should be fixed, but was not part of the original bug, non-rotated objects in a group now behave correctly. |
@woutercommandeur I'm not saying skewing is not an issue. I just want to know if those who put bounties expected it to be fixed too, since it was mentioned in the comments. Technically though, original bug doesn't mention it so it would be fair to close it. |
@kangax ok. If bounty can't be transfered, I could always put half of the bounty on the new issue for skewing. |
Thanks @woutercommandeur, @kangax if I were to open a ticket and then put up a bounty, is it possible to specify that a unit test a company the fix, or should requesting a unit test be a separate issue/bounty? Just curious. Thanks |
Well, I try to always add unit tests when possible. But a lot of visual On Sat, Jun 15, 2013 at 6:25 PM, Travis Paul [email protected]:
|
+1 as well |
@woutercommandeur I'm ok with this. Great work. |
:) |
Perfect, thanks again @woutercommandeur |
In case someone else has the same error : The group jumps around if we use Fix : Use |
Hello!
Reproduction of the bug:
the rectangles will jump around instead of remaining the scale and position the got in the group.
Can you fix that?
The $115 bounty on this issue has been claimed at Bountysource.
The text was updated successfully, but these errors were encountered: