Lisp HUG Maillist Archive

CLIM dragged output is a drag

I have an app that uses drag-output-record() to allow users to move presentations
around the screen. I thought this would be the perfered implementation, instead
of erasing and recalling present() at the new position.
 
While the dragged output behaves fine in its new position, I find that I now must
compute bounding rectangles and point containment when directly manipulating
the relocated presentations. For instance, the methods
 
 - bounding-rectangle
 - region-contains-point-p
 - presentation-refined-position-test
 
among others don't work correctly when called directly on the moved presentation.
They don't seem to take into account the new start position. The problem, of couse,
is worse when dealing directly with child output records.
 
So, is this a bug? Misfeature? Programmer error?
 
Thanks,
Greg
Updated at: 2020-12-10 09:02 UTC