Maximized windows are resized when my external display goes to sleep.

Originator:nenolod
Number:rdar://20163075 Date Originated:14-Mar-2015 00:20 AM
Status:Open Resolved:
Product:OS X Product Version:10.10.3 (14D87p)
Classification:Usability Reproducible:Always
 
Summary:
On my MacBook Pro (Retina display, Late 2013, 15 inch), I recently started using it with an external display when I was not traveling.  This has generally worked out very nicely, however, because I don't want to waste energy / have my display turned on 24x7 when it is not being used, I have configured the machine to put the display to sleep after 15 minutes of non-use.

When I push a key on the machine, the monitor comes back to life as expected, but after unlocking, all of the windows have been resized back to 3k (retina) resolution instead of the resolution on my display (4k).

Steps to Reproduce:
1. Connect a 4k monitor via Thunderbolt/DisplayPort.
2. Wait for the system to put the monitor to sleep.
3. Press a key on your keyboard or move your mouse to wake the screen back up.
4. Because graphics were assumedly rerouted back to the internal display, everything is resized when nothing has been changed.

Expected Results:
Since the display has not been unplugged from Thunderbolt/DisplayPort, I expect that there should not be any topology change and thusly my workspaces should be left alone.

Actual Results:
There appears to be a topology change in the graphics stack, and my workspaces are tampered with for no reason.

Version:
Yosemite 10.10.3 beta (14D87p), although it happened on 10.10.2 gold master too.

Notes:


Configuration:
MacBook Pro Retina A1398 Late 2013 with Samsung UE590 4k display connected via Thunderbolt/DisplayPort, using Apple Wireless Keyboard and Mighty Mouse for input, with bluetooth headphones for sound output.

Attachments:

Comments

Another idea for handling this issue that I just had after talking with a fellow mac user affected by this problem, would be to save the virtual desktop state in terms of ratios instead of DPs.

This has the benefit of also being able to restore the layout reasonably if the aspect ratio changes as well, so you solve two problems with one bugfix that way.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!