Bug #3584
closed
Switching wizard pages breaks previously existing selections
Added by Ryan McFall about 16 years ago.
Updated almost 16 years ago.
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.
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.
Modified milestone since I'm not going to be able to fix this by alpha2
There's only one page where selections are made, and moving to the JXLayer method of doing selection should have fixed this bug.
Original Bugzilla ID was 3584
Also available in: Atom
PDF