Project

General

Profile

Bug #3584

Switching wizard pages breaks previously existing selections

Added by Ryan McFall almost 11 years ago. Updated almost 11 years ago.

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

0%

Estimated time:
Bugzilla-Id:
3584

Description

To replicate, draw a header around the exam heading for doc10.pdf. Then click back to get back to the page where the types of selections are indicated. Then go back to the header/footer page.

The coordinates of the beginning of the rectangle are being converted by Selectangle differently, somehow. Usually the y-coordinate is off by about 30 pixels.

History

#1 Updated by Ryan McFall almost 11 years ago

Investigation of this shows that the method getFramePoint in Selectangle is returning a different point before the vector rasterization screen is shown, and after. The Selectangle point is still the same. The call to SwingUtilities.convertPoint just returns different values, for a reason that I don't currently understand. As far as I can tell, the viewer component and the result of frame.getContentPane() used in getFramePoint are the same.

This is likely going to be hard to fix.

#2 Updated by Ryan McFall almost 11 years ago

Modified milestone since I'm not going to be able to fix this by alpha2

#3 Updated by Ryan McFall almost 11 years ago

There's only one page where selections are made, and moving to the JXLayer method of doing selection should have fixed this bug.

#4 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 3584

Also available in: Atom PDF