Project

General

Profile

Bug #3540

Initial paint of new rectangle draws very tall rectangle before dragging

Added by Ryan McFall about 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
parser
Target version:
Start date:
10/17/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3540

Description

When creating a new rectangle, the initial drag draws it with a very small width and very large height before the drag event fires and updates the corner of the rectangle.

History

#1 Updated by Ryan McFall about 12 years ago

This appears to have been an issue with the initial coordinate system of the mouse pressed event. It was being converted the viewer coordinates, with knowledge of the scroll pane's viewport. This seems to have been wrong. A question still exists as to whether the method convertMouseEventPointToViewerPoint in Selector is even needed. Currently it is not called, and is commented out in Selector. If enough time passes, we can decide that it's not really needed.

#2 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 3540

Also available in: Atom PDF