Red flashing screen around viewport after switching displays on Mac #83262

Closed
opened 2020-12-01 05:55:24 +01:00 by Lee Nguyen · 21 comments

System Information
Operating system: Mac OS MoJave
Graphics card: Radeon Pro 560X 4 GB

Blender Version
Broken: v2.82a
Worked: N/A

When using blender 3d on a mac laptop, with a secondary monitor plugged in, I often use my HDMI switch to swap to and from my laptop to my PC. When I go to my PC, then back to my laptop, blender has a flashing strobing red area around my viewport. And also I cannot click into the area of blender, since my mouse is off focus. (can't click the actions in the dialog box to quit blender)

Exact steps for others to reproduce the error

  1. Open Blender 3D on mac, using it on a secondary monitor connected on a HDMI switch.
  2. Switch to another computer using the hdmi switch.
  3. Switch back to mac os using the hdml switch.
  4. Open Blender 3d.
  5. flashing red appears.

Based on the default startup or an attached .blend file (as simple as possible).

**System Information** Operating system: Mac OS MoJave Graphics card: Radeon Pro 560X 4 GB **Blender Version** Broken: v2.82a Worked: N/A When using blender 3d on a mac laptop, with a secondary monitor plugged in, I often use my HDMI switch to swap to and from my laptop to my PC. When I go to my PC, then back to my laptop, blender has a flashing strobing red area around my viewport. And also I cannot click into the area of blender, since my mouse is off focus. (can't click the actions in the dialog box to quit blender) **Exact steps for others to reproduce the error** 1. Open Blender 3D on mac, using it on a secondary monitor connected on a HDMI switch. 2. Switch to another computer using the hdmi switch. 3. Switch back to mac os using the hdml switch. 4. Open Blender 3d. 5. flashing red appears. Based on the default startup or an attached .blend file (as simple as possible).
Author

Added subscriber: @1mrlee

Added subscriber: @1mrlee
Author

Screen Shot 2020-11-30 at 8.43.21 PM.png

![Screen Shot 2020-11-30 at 8.43.21 PM.png](https://archive.blender.org/developer/F9417992/Screen_Shot_2020-11-30_at_8.43.21_PM.png)

Added subscriber: @jenkm

Added subscriber: @jenkm

Try a newer version https://www.blender.org/download/.
There have already been fixes for similar issues.

Try a newer version https://www.blender.org/download/. There have already been fixes for similar issues.

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Blender v2.82a is no longer being maintained.
Please "test with the latest official release from [blender.org ]] and daily build from [ http:*builder.blender.org/ | builder.blender.org ."

Blender v2.82a is no longer being maintained. Please "test with the latest official release from [blender.org ]] and daily build from [[ http:*builder.blender.org/ | builder.blender.org ](http:*www.blender.org/)."
Author

I have downloaded and installed the daily build and the error is still happening. Here is screenshot proof. December 3rd, 2020. Can upload video recording if you require it.

I have downloaded and installed the daily build and the error is still happening. Here is screenshot proof. December 3rd, 2020. Can upload video recording if you require it.
Author

Screen Shot 2020-12-03 at 11.27.37 AM.png Screen Shot 2020-12-03 at 11.28.05 AM.png

![Screen Shot 2020-12-03 at 11.27.37 AM.png](https://archive.blender.org/developer/F9449291/Screen_Shot_2020-12-03_at_11.27.37_AM.png) ![Screen Shot 2020-12-03 at 11.28.05 AM.png](https://archive.blender.org/developer/F9449293/Screen_Shot_2020-12-03_at_11.28.05_AM.png)

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
  • Are there any issues when you turn the monitor off and on?
  • When you switch your monitor to PC, how does macOS see it? (The monitor is not connected, or something else.)
  • 2560px is the resolution for Mac, is 1680px the screen resolution when you use a PC?
- Are there any issues when you turn the monitor off and on? - When you switch your monitor to PC, how does macOS see it? (The monitor is not connected, or something else.) - 2560px is the resolution for Mac, is 1680px the screen resolution when you use a PC?

Added subscriber: @iss

Added subscriber: @iss

#82788 possibly related report

#82788 possibly related report

I can't test it, but it seems that Blender doesn't respond to changes in monitor settings or on/off. And probably when automatically (not manually by the user) the window is moved to another screen. So I would just try, similar to what we do for windowDidChangeBackingProperties, the same for NSApplicationDidChangeScreenParametersNotification and NSWindowDidChangeScreenNotification. Or something like that.

NSApplicationDidChangeScreenParametersNotification. The system posts this notification when the Mac's display configuration changes; for example, when the user connects or disconnects an external display from the system.

NSWindowDidChangeScreenNotification. The system posts this notification when any window, including the window containing your view, moves to a different display.

https://developer.apple.com/documentation/appkit/nsapplicationdidchangescreenparametersnotification?language=objc
https://developer.apple.com/documentation/appkit/nswindowdidchangescreennotification?language=objc


There are very similar reports #73373 #67923 #57069 ... closed but I'm not sure they are resolved though.

I can't test it, but it seems that Blender doesn't respond to changes in monitor settings or on/off. And probably when automatically (not manually by the user) the window is moved to another screen. So I would just try, similar to what we do for `windowDidChangeBackingProperties`, the same for `NSApplicationDidChangeScreenParametersNotification` and `NSWindowDidChangeScreenNotification`. Or something like that. > **NSApplicationDidChangeScreenParametersNotification**. The system posts this notification when the Mac's display configuration changes; for example, when the user connects or disconnects an external display from the system. > **NSWindowDidChangeScreenNotification**. The system posts this notification when any window, including the window containing your view, moves to a different display. https://developer.apple.com/documentation/appkit/nsapplicationdidchangescreenparametersnotification?language=objc https://developer.apple.com/documentation/appkit/nswindowdidchangescreennotification?language=objc *** There are very similar reports #73373 #67923 #57069 ... closed but I'm not sure they are resolved though.
Author

Sorry I've been a little delayed on this ticket.

Will it help if i film my screen to show you the errors?

Sorry I've been a little delayed on this ticket. Will it help if i film my screen to show you the errors?
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Will it help if i film my screen to show you the errors?

@1mrlee Sorry for the late response. Is this still an issue in the latest version of Blender https://builder.blender.org/?
If yes, feel free to film your screen to make reproduction easier.

> Will it help if i film my screen to show you the errors? @1mrlee Sorry for the late response. Is this still an issue in the latest version of Blender https://builder.blender.org/? If yes, feel free to film your screen to make reproduction easier.
Member

Just a poke regarding my inquiry above, otherwise we will have to archive this report for now.

Just a poke regarding my inquiry above, otherwise we will have to archive this report for now.
Author

Unfortunately I do not have a second monitor anymore, so I cannot reproduce this. Feel free to close.

Unfortunately I do not have a second monitor anymore, so I cannot reproduce this. Feel free to close.
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#83262
No description provided.