Bug 1013 - NEWT Window content black after switching monitor resolution
Summary: NEWT Window content black after switching monitor resolution
Status: RESOLVED FIXED
Alias: None
Product: Newt
Classification: JogAmp
Component: macosx (show other bugs)
Version: 1
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2014-05-26 19:06 CEST by Sven Gothel
Modified: 2014-05-26 19:29 CEST (History)
0 users

See Also:
Type: ---
SCM Refs:
2790c756d5b88448d14cc302036581a57f3ffd53
Workaround: TRUE


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2014-05-26 19:06:18 CEST
When simply switching the resolution of the monitor
containing the NEWT window, it's content is black (not visible)
until a resize happens.
Comment 1 Sven Gothel 2014-05-26 19:11:47 CEST
this seems to be a bug within QUARTZ .. hence this is a workaround
Comment 2 Sven Gothel 2014-05-26 19:29:29 CEST
commit 2790c756d5b88448d14cc302036581a57f3ffd53

Bug 1013: Fix switching monitor resolution for NEWT Window (content black after) / Bug 741 HiDPI: Update pixelScale after monitor mode change

This seems to be a bug within QUARTZ .. hence this is a workaround

Monitor-Mode-Changed Notification:
  - In case the window is not in fullscreen,
    render it temporary invisible until the mode change is completed.

  - Also update the HiDPI pixel-scale when the mode change is completed.