[rfc][icedtea-web] Fix most cases of error splash not appearing

Adam Domurad adomurad at redhat.com
Mon Apr 29 14:00:09 PDT 2013

Hi all. I am disappointed a bit that I do not know exactly *why* this 
patch has the effect that it does, beyond removing a difference between 
the error path (ie, LaunchException occurs) and the normal code-path.
With this patch applied I always see the error splash on my desktop, and 
rarely don't see it on my laptop. I will investigate further but I think 
it is worth including as a harmless patch.

2013-XX-XX  Adam Domurad  <adomurad at redhat.com>

         Ensure that PluginAppletviewer is resized in case of error.
         This fixes most of the cases of the error splash screen
         not appearing.
         * plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java
         (createPanel): Resize earlier, before erroring out.
         * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
         (PluginAppletViewer): Set size, remove fixme.

Apologies for 'magic' patch,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130429/d478ebce/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-splash-not-appearing.patch
Type: text/x-patch
Size: 5498 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130429/d478ebce/fix-splash-not-appearing.patch 

More information about the distro-pkg-dev mailing list