harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor V. Stolyarov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4573) [classlib][swing][html] Images are not displayed correctly repeatedly
Date Thu, 02 Aug 2007 11:52:53 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Igor V. Stolyarov updated HARMONY-4573:

    Attachment: H-4573.patch

ImageView of JTextComponent tried draw Image asynchronously, but Image hasn't been ready for
drawing and instead Image ImageView drew "Loading" icon. I suggest patch which draws Image
synchronously, i.e. Image fully loaded. Asynchronous Image drawing demands deep investigation
JTextComponent's structure. I think It is area for future improvement.

> [classlib][swing][html] Images are not displayed correctly repeatedly
> ---------------------------------------------------------------------
>                 Key: HARMONY-4573
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4573
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Vasily Zakharov
>         Attachments: H-4573.patch, Harmony-Error.jpg, Harmony-Expected.jpg, RI.jpg, test.zip
> If the browser goes back to the page it was once at, the images are sometimes not displayed
correctly - icons are displayed instead, sometimes the page contents below image icon is also
missing, and sometimes image icons is missing too.
> To display the image normally, it's required to move another window over the application
window or otherwise force the application window to repaint.
> To reproduce, download and unpack the attached test.zip, and run 'java Test'. Then click
the link "switch" multiple times, after approximately 3 to 5 clicks you would get the erroneous
output. Now switch to another application to hide the test window, or just move another window
over the test window - when the test window is visible again, the picture is ok.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message