"Open Cached Render" doesn't refresh Render Result or Compositor #107008

Open
opened 2023-04-16 15:15:09 +02:00 by Matthew Hinson · 1 comment
Member

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.13

Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-04-14 22:58, hash: e078419c9c12

Short description of error
The menu item "Image -> Open Cached Render" in the Image Editor loads the .exr cache file into Slot 1 of the Render Result, but often doesn't show it did this, making it seem like nothing happened. Users have to manually switch to Render Result -> Slot 1 (or manually refresh it if it was already selected), and manually refresh the Compositor.

Exact steps for others to reproduce the error
Preparation:

  • Launch Blender.
  • Enable "Cache Result" in the scene's Output properties.
  • Render the scene.
  • Close Blender (without saving the file).

Scenario 1 (working correctly):

  • Launch Blender.
  • Replace the 3D Viewport by an Image Editor.
  • Click "Image -> Open Cached Render." The Image Editor switches to the Render Result and displays the cached render as expected.
  • Close Blender.

Scenario 2 (no automatic switch to Render Result):

  • Launch Blender.
  • Replace the 3D Viewport by an Image Editor.
  • Click "Image -> New" and accept the defaults.
  • Click "Image -> Open Cached Render." The Image Editor does not switch to the Render Result. Where's the render? Did the menu item do anything at all?
  • Manually switch to the Render Result. The cached render is visible now.
  • Close Blender.

Scenario 3 (no automatic switch to Slot 1, dangerous render overwrite):

  • Launch Blender.
  • Duplicate the default cube.
  • Render the scene.
  • Select Slot 2.
  • Click "Image -> Open Cached Render." Nothing happens? Where's the old render?
  • Select Slot 1. There's the old render! But wait, it overwrote the new render without even warning us!
  • Close Blender.

(It might be better to load the cached render into the selected slot instead of Slot 1, and ask for confirmation if that slot already contains an image; after all, users might think it'll automatically pick a free slot or even just open the render as a regular image, and unintentionally lose a render as a result.)

Scenario 4 (no automatic refresh on load):

  • Launch Blender.
  • Switch to the "Compositing" workspace and enable "Use Nodes."
  • Switch to the "Rendering" workspace.
  • Click Image -> Open Cached Render. The Render Result displays a checkerboard - but no render. Again, seemingly nothing got opened.
  • Switch to Slot 2 and back to Slot 1. The render is visible now.
  • Switch back to the "Compositing" workspace. Here, too, no render is visible.
  • Open the View Layer dropdown of the "Render Layers" node and select the same "ViewLayer" again. The render is visible now.
  • Close Blender.

Scenario 5 (no automatic refresh on scene switch):

  • Launch Blender.
  • Create a new scene (Full Copy).
  • Create a single-user copy of the cube's material and give it a different color.
  • Render the second scene and close the "Blender Render" window again.
  • Switch back to the first scene, render that one too, and again close the "Blender Render" window.
  • Switch to the "Rendering" workspace.
  • Switch between the two scenes and notice that the render doesn't automatically update. You have to switch between slots or workspaces to update it manually.
**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.13 **Blender Version** Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-04-14 22:58, hash: `e078419c9c12` **Short description of error** The menu item "Image -> Open Cached Render" in the Image Editor loads the .exr cache file into Slot 1 of the Render Result, but often doesn't show it did this, making it seem like nothing happened. Users have to manually switch to Render Result -> Slot 1 (or manually refresh it if it was already selected), and manually refresh the Compositor. **Exact steps for others to reproduce the error** Preparation: * Launch Blender. * Enable "Cache Result" in the scene's Output properties. * Render the scene. * Close Blender (without saving the file). Scenario 1 (working correctly): * Launch Blender. * Replace the 3D Viewport by an Image Editor. * Click "Image -> Open Cached Render." The Image Editor switches to the Render Result and displays the cached render as expected. * Close Blender. Scenario 2 (no automatic switch to Render Result): * Launch Blender. * Replace the 3D Viewport by an Image Editor. * Click "Image -> New" and accept the defaults. * Click "Image -> Open Cached Render." The Image Editor does *not* switch to the Render Result. Where's the render? Did the menu item do anything at all? * Manually switch to the Render Result. The cached render is visible now. * Close Blender. Scenario 3 (no automatic switch to Slot 1, dangerous render overwrite): * Launch Blender. * Duplicate the default cube. * Render the scene. * Select Slot 2. * Click "Image -> Open Cached Render." Nothing happens? Where's the old render? * Select Slot 1. There's the old render! But wait, it overwrote the new render without even warning us! * Close Blender. (It might be better to load the cached render into the selected slot instead of Slot 1, and ask for confirmation if that slot already contains an image; after all, users might think it'll automatically pick a free slot or even just open the render as a regular image, and unintentionally lose a render as a result.) Scenario 4 (no automatic refresh on load): * Launch Blender. * Switch to the "Compositing" workspace and enable "Use Nodes." * Switch to the "Rendering" workspace. * Click Image -> Open Cached Render. The Render Result displays a checkerboard - but no render. Again, seemingly nothing got opened. * Switch to Slot 2 and back to Slot 1. The render is visible now. * Switch back to the "Compositing" workspace. Here, too, no render is visible. * Open the View Layer dropdown of the "Render Layers" node and select the same "ViewLayer" again. The render is visible now. * Close Blender. Scenario 5 (no automatic refresh on scene switch): * Launch Blender. * Create a new scene (Full Copy). * Create a single-user copy of the cube's material and give it a different color. * Render the second scene and close the "Blender Render" window again. * Switch back to the first scene, render that one too, and again close the "Blender Render" window. * Switch to the "Rendering" workspace. * Switch between the two scenes and notice that the render doesn't automatically update. You have to switch between slots or workspaces to update it manually.
Matthew Hinson added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-04-16 15:15:10 +02:00

Thank you for the report.

As multiple issues are being reported, this report falls under the Multi-report closing scenario as described in the Triaging_Playbook.

But I'll take the risk and confirm as is, as the issues are related.

Thank you for the report. As multiple issues are being reported, this report falls under the `Multi-report` closing scenario as described in the [Triaging_Playbook](https://wiki.blender.org/wiki/Process/Bug_Reports/Triaging_Playbook). But I'll take the risk and confirm as is, as the issues are related.
Germano Cavalcante added the
Interest
VFX & Video
label 2023-04-21 16:07:25 +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
2 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#107008
No description provided.