Blender opens a new render window even when one is open already. #88755

Closed
opened 2021-06-02 21:22:36 +02:00 by JL Garcia · 12 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Intel(R) HD Graphics 530 Intel 4.5.0 - Build 27.20.100.9466

Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: 84da05a8b8
Worked: (newest version of Blender that worked as expected)

Short description of error
New render window opens while another is open already.

Exact steps for others to reproduce the error

  • Open Blender
  • Create an object or use the default cube

Render (F12)

      (I usually render using the render window that appears floating, not a window inside the UI)
  • Save the file with the floating window open. (test_object_01.blend)
  • Close the file completely or open a new blank file (File > New > General
  • Open the test_object_01.blend
  • It should open with the render window open in the same place it was before.
  • Hit render (F12) and another render window opens.
  • Close the new render window

Render and it opens again

    [Hope this is clear]
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: Intel(R) HD Graphics 530 Intel 4.5.0 - Build 27.20.100.9466 **Blender Version** Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: `84da05a8b8` Worked: (newest version of Blender that worked as expected) **Short description of error** New render window opens while another is open already. **Exact steps for others to reproduce the error** - Open Blender - Create an object or use the default cube # Render (F12) ``` (I usually render using the render window that appears floating, not a window inside the UI) ``` - Save the file with the floating window open. (test_object_01.blend) - Close the file completely or open a new blank file (File > New > General - Open the test_object_01.blend - It should open with the render window open in the same place it was before. - Hit render (F12) and another render window opens. - Close the new render window # Render and it opens again ``` [Hope this is clear] ```
Author

Added subscriber: @jlgarcia

Added subscriber: @jlgarcia
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

I can reproduce this for 2.93.0 (Hash: de06cb8559, commit date : 2021-03-17) and 3.0.0 (Hash: 711ddea60e) but can not reproduce for 2.92.0

Confirming the bug but don't have to bisect this right now :(

I can reproduce this for 2.93.0 (Hash: `de06cb8559`, commit date : `2021-03-17`) and 3.0.0 (Hash: `711ddea60e`) but can not reproduce for 2.92.0 Confirming the bug but don't have to bisect this right now :(
Member

This comment was removed by @PratikPB2123

*This comment was removed by @PratikPB2123*
Member

Added subscriber: @Harley

Added subscriber: @Harley
Member

Interesting.

I can see why it happens, but not sure exactly how to approach fixing it.

There used to be just a single "temporary" window that was always reused. So rendering a second time would use the same window, but it could also take the place of an open "Preferences" window too.

With 2.93 we are no longer reusing a single temp window like that. But to keep from always getting new windows, we reuse them if the window title matches. So you render, it creates a window called "Blender Render". If a window of that name is already existing when you render again it will use that one.

However, when the blend file is reloaded and the windows recreated that one gets a title of "Blender", not "Blender Render", which is why you get a new one.

Will take a look in a bit.

Interesting. I can see why it happens, but not sure exactly how to approach fixing it. There used to be just a single "temporary" window that was always reused. So rendering a second time would use the same window, but it could also take the place of an open "Preferences" window too. With 2.93 we are no longer reusing a single temp window like that. But to keep from always getting new windows, we reuse them if the window *title matches*. So you render, it creates a window called "Blender Render". If a window of that name is already existing when you render again it will use that one. However, when the blend file is reloaded and the windows recreated that one gets a title of "Blender", not "Blender Render", which is why you get a new one. Will take a look in a bit.
Author

So, the name of the window changed with the version? What about checking if there is any window open before opening another? or checking for the legacy name and see if is open too? or assigning the "Blender Render" to the open window at opening file time? Just throwing ideas if that helps you.

So, the name of the window changed with the version? What about checking if there is any window open before opening another? or checking for the legacy name and see if is open too? or assigning the "Blender Render" to the open window at opening file time? Just throwing ideas if that helps you.
Member

@jlgarcia - So, the name of the window changed with the version?

Nope. Checking for the name of the window at all is new. It used to blindly take over an existing window, even if it wasn't a render window.

What about checking if there is any window open before opening another?

Many users, who have multiple monitors, will quite often save with many many windows open.

or checking for the legacy name and see if is open too?

As mentioned, that window opens up with a title of just "Blender".

Just throwing ideas if that helps you.

No worries, will look at it soon, as mentioned.

> @jlgarcia - So, the name of the window changed with the version? Nope. Checking for the name of the window at all is new. It used to blindly take over an existing window, even if it wasn't a render window. > What about checking if there is any window open before opening another? Many users, who have multiple monitors, will quite often save with many many windows open. > or checking for the legacy name and see if is open too? As mentioned, that window opens up with a title of just "Blender". > Just throwing ideas if that helps you. No worries, will look at it soon, as mentioned.
Author

Many users, who have multiple monitors, will quite often save with many many windows open.

Yes, that's my case, sometimes I save with the render window open in another screen, don't know if this bug happens with another windows.

> > Many users, who have multiple monitors, will quite often save with many many windows open. > Yes, that's my case, sometimes I save with the render window open in another screen, don't know if this bug happens with another windows.

This issue was referenced by 84d03a1298

This issue was referenced by 84d03a1298c170a3cd61c8c7f9a0177da8fcfc35
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Harley Acheson self-assigned this 2021-09-09 18:28:14 +02:00
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
4 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#88755
No description provided.