Bug 216990 - Circle selection tool does not work if paint from right to left
Summary: Circle selection tool does not work if paint from right to left
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: Sven Langkamp
URL:
Keywords:
: 217145 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-01 22:22 UTC by Dmitry Kazakov
Modified: 2009-12-03 03:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Kazakov 2009-12-01 22:22:51 UTC
Version:            (using Devel)
Installed from:    Compiled sources

1) Turn on "Circular selection tool".
2) Press the mouse and move it from right to left
No selection appears.

If you move it left-to-right, it works fine.

Seems like non-normalized QRect.
Sven, could you take a look?
Comment 1 Sven Langkamp 2009-12-02 23:35:40 UTC
SVN commit 1057610 by langkamp:

normalize when selection an ellipse, fixes selection when dragging right to left
BUG:216990


 M  +3 -2      kis_tool_select_elliptical.cc  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1057610
Comment 2 Sven Langkamp 2009-12-03 03:49:32 UTC
I did a better fix for this which I accidently added to bug 215493.
Comment 3 Sven Langkamp 2009-12-03 03:51:03 UTC
*** Bug 217145 has been marked as a duplicate of this bug. ***