question about KMainWindow::restoreWindowSize

Christoph Cullmann crossfire at babylon2k.de
Sun Oct 19 15:01:17 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
kate is using the restoreWindowSize methode to restore it's mainwindow size 
correctly, but if the katemainwindow was maximized, the restore fails.
(you get a very small window, not full screen)
looking at the kmainwindow code, as soon as a window is maximized in both 
directions, there is no resize done, instead only a KWin::setState( winId(), 
state ) is done (with the correct state NET::Max I guess).
Atm I am not sure at which point this makes problems in katemainwindow (or 
kmdi), but my question is why there is no resize being done at all ?


- -- 
Christoph Cullmann
KDE Developer, kde.org Maintainance Team
http://www.babylon2k.de, cullmann at kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/kpkwyPjDGePm9UIRAnX3AJ9vuVNQPVnHi5tLjJ1Gs4+eL/dQYwCfRWtv
Mw21SDvwurk2N8qT5oMPs+w=
=K1o6
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list