On Thu, 21 Aug 2025 04:44:16 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:

> > the test might be updated to render components into the buffered image and 
> > then compare exact values.
> 
> And what does it test then? The original bug was about dragging the internal 
> frame creates artifacts on the underlying component. By drawing the component 
> after the drag into the BufferedImage - are we sure the artifacts will be 
> drawn there too? I have my doubts about the logic of the test after the last 
> change...

I guess you are right..I am not able to get the artifacts drawn into the BI 
with this...With createScreenCapture I could get so I reverted to the tolerance 
check
 
<img width="62" height="62" alt="JInternalFrameDraggingTest" 
src="https://github.com/user-attachments/assets/c6b9e128-8720-433e-8c91-d0f52e872bc7";
 />

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26833#issuecomment-3209384334

Reply via email to