BUG: Odd behaviour when restoring minimised window in Vista and 7
On both of my systems there is very odd behaviour when restoring a minimised windows. Ordinarily when you minimise a window and then restore it from the taskbar it should return to the same size and location that it was previously.
Repro:
Run the program in a window (not maximised) in Vista or Windows 7 (I don't know about XP).
When you minimise and then restore the windows, it miscalculates the location of the window by the width of the window frame and the title bar (? related to the home/library/search buttons abutting into the title bar?), with the effect that the window is restored slightly up and left of where it was originally.
This is most noticeable if you snap the window to top left corner of the screen. Minimise and restore the window. Now the title bar is hidden completely. (You can move the window with Alt-space, M).
Windows 7 has a feature to dock windows to one half of the screen or the other. When minimising and restoring from this state the window is completely the wrong dimensions.
Test systems:
Vista Ultimate x64, laptop, Core2Duo, 6gb ram, ATI
Windows 7 RC (build 7100) x64, desktop, Core2Quad, 8gb ram, ATI
Comments
-
Hi, are you using multiple monitors? Also are you using Windows Aero with Glass Effects(do the window's edges appear see-through)?
0 -
No just using single monitor. 1920x1080, on Vista, 1920x1200 on Win7, both have ATI graphics cards. The window size doesn't make any difference...
I have Aero enabled by default but turning it off didn't make any difference.
Anyone else experience this?
Some pictures with window 'snapped' to top left corner of screen, then after minimise and restore:
0