Project

General

Profile

Actions

Bug #3540

closed

Initial paint of new rectangle draws very tall rectangle before dragging

Added by Ryan McFall over 15 years ago. Updated over 15 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.

Actions #1

Updated by Ryan McFall over 15 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.

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 3540

Actions

Also available in: Atom PDF