Yes, normalGeometry is the not-maximized size, and it is a good idea to save also the isMaximized() state.
Then, could you change your patch to 1. save/restore isMaximized 2. save/restore normalGeometry width/height instead of the exitings ones 3. do this for qt3 as well (if apply) Thanks. Bo