[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    question about KMainWindow::restoreWindowSize
From:       Christoph Cullmann <crossfire () babylon2k ! de>
Date:       2003-10-19 14:01:17
[Download RAW message or body]

-----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@kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic