Switching wizard pages breaks previously existing selections
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.
#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.