Java Applet problem
Till Krech
till at snafu.de
Sun Nov 3 03:22:17 GMT 2002
On Saturday 02 November 2002 04:07, Dirk Mueller wrote:
> Moin Till!
>
> > > > 1st) the intrinsicSize of the applet is busted and has always been.
> >
> > why busted? khtml tells the applet server which size the applet shall
> > have. The applet server then opens a frame (which is embedded) in exactly
> > this size. The applet is resized to this size when it comes to life.
>
> but it asks for a sizeHint(). and it does that even before it was sized. so
> the initial layout is just a random size (it queries the intrinsicSize
> for layouting. but layouting sets the sizehint).
>
> > The problem is width="100%" height="100%".
>
> No, it is not. That code isn't executed at all.
It is a javascript (?) problem. Wrong innerWidth, innerHeight reported.
See attached testcase.
Load the file index.html, reload (eventually several times) and see what the
alert box says.
--
Till Krech from Berlin, Germany is happy with
SuSE Linux 8.0 (i386) 2.4.18-64GB-SMP * KDE: 3.0.9 (KDE 3.1 RC1)
Qt: 3.1.0 * gcc version 3.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shellinabox-test.tar.gz
Type: application/x-tgz
Size: 682 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20021103/c4dac9c3/attachment.bin>
More information about the kfm-devel
mailing list