<AWT Dev> Review request: 8010925: COPY AND PASTE TO AND FROM SIGNED APPLET FAILS AFTER FIRST INTERNAL COPY PRFRMD
mikhail cherkasov
mikhail.cherkasov at oracle.com
Fri Mar 29 09:03:02 PDT 2013
macosx-port-dev was added.
On 29.03.2013 19:43, mikhail cherkasov wrote:
> Hello all,
>
> Could you please review the following fix:
> http://bugs.sun.com/view_bug.do?bug_id=8010925
> http://cr.openjdk.java.net/~mcherkas/8010925/webrev.00/
> <http://cr.openjdk.java.net/%7Emcherkas/8010925/webrev.00/>
>
> Applet doesn't receive any NSApplication*Notification because it
> doesn't create any windows, so if we have applet with windows - all
> works fine.
> But in this case all content are added to applet's ContentPane that is
> embedded to browser and hasn't any window.
> But AWT updates clipboard data only on
> NSApplicationDidBecameActiveNotification.
> So if we make copy action from applet , applet will never read new
> data from system pastboard,
> it just will use cached data.
> To fix this I added pasteboard check on CEmbeddedFrame focus receiving.
>
> Thanks,
> Mikhail.
>
More information about the macosx-port-dev
mailing list