JavaScript resizeTo bug
Andras Mantia
amantia at kde.org
Sun Oct 26 23:55:49 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Faure wrote:
> On Sunday 26 October 2003 22:04, Andras Mantia wrote:
>> OK, found the reason: if the tabs are visible it doesn't work.
> Ah. Hmm, it's arguable what should happen in such a case. The needs of the
> various websites in the different tabs, are different.
Well, yes, but it was missleading. Especially since it fails to resize even if
tabbed brwosing are enabled, only one page is opened and the tabs are
visible. If tabbing browsing is enabled, but the tabs are hidden if only one
page is open it works. This is not so good as in both cases only one page is
opened and Konqueror behaves differently depending on a GUI item is visible
or not.
>
>> Also should it signal somehow the resizing event to the embedding widget
>> (Konqueror or Quanta)
> Yes, that's how it works (nowadays).
Good, because I was trying to reproduce a bug report which claimed that Quanta
crashes when the resize happens. But the resize didn't happen, nor did it
Konqueror. What you might think in this case? There is a bug...
> BrowserExtension's resizeTopLevelWidget signal is emitted, it's up to the
> hosting application to handle it. Apparently the konqview code willingly
> discards this if tabs are shown, and I can't say I disagree with that.
Mozilla resizes itself in this case, but I'm not sure which behavior is
better. Anyway, if only one page is open Konqueror should handle the resize
event even if the tabbar is visible.
Andras
- --
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
iD8DBQE/nF8KTQdfac6L/08RAuTHAJ9xeD3cpxGRBbrvMD2gCwyV+fAgCwCfaSZI
ThIwxO9AvZwIbN2AUjVz3Yo=
=zn7n
-----END PGP SIGNATURE-----
More information about the kfm-devel
mailing list