Pause preview button doesn't change from pause symbol to play symbol only highlights blue. #70974

Closed
opened 2019-10-20 20:34:19 +02:00 by Alan · 4 comments

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 980 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.60

Blender Version
Broken: version: 2.81 (sub 15), branch: master, commit date: 2019-10-18 14:41, hash: 970d7ed860
Worked: (optional)

Short description of error

Spent an hour wondering why viewport for render was not working properly for cycles (no rendering). This was due to the pause button being unknowingly activated. With it hiding in the top right corner and not changing to a play button it was hard to realize this was the issue. I suggest having it change to a play button to make it just a little more apparent to new users like myself.

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]
NA happens with one button click

**System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: GeForce GTX 980 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.60 **Blender Version** Broken: version: 2.81 (sub 15), branch: master, commit date: 2019-10-18 14:41, hash: `970d7ed860` Worked: (optional) **Short description of error** Spent an hour wondering why viewport for render was not working properly for cycles (no rendering). This was due to the pause button being unknowingly activated. With it hiding in the top right corner and not changing to a play button it was hard to realize this was the issue. I suggest having it change to a play button to make it just a little more apparent to new users like myself. **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)] NA happens with one button click
Author

Added subscriber: @AlexDavenport

Added subscriber: @AlexDavenport
Member

Added subscribers: @WilliamReynish, @lichtwerk

Added subscribers: @WilliamReynish, @lichtwerk
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Philipp Oeser self-assigned this 2019-10-21 14:05:56 +02:00
Member

Could be nicer, agree, not a real bug though (btw., you should also see a text "Rendering Paused" in the top left corner if you have Text Info overlay showing...).
P1143: #70974 snippet



diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index b2624b2aa81..4ff154d4bcd 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -2166,7 +2166,7 @@ def draw_pause(self, context):
 
         if view.shading.type == 'RENDERED':
             cscene = scene.cycles
-            layout.prop(cscene, "preview_pause", icon='PAUSE', text="")
+            layout.prop(cscene, "preview_pause", icon='PLAY' if cscene.preview_pause else 'PAUSE', text="")
 
 
 def get_panels():

@WilliamReynish: Does this catch your eye? Do you think this should go in?

Will close this anyways, since this is not really a bug.
https://wiki.blender.org/wiki/Reference/Not_a_bug

Could be nicer, agree, not a real bug though (btw., you should also see a text "Rendering Paused" in the top left corner if you have `Text Info` overlay showing...). [P1143: #70974 snippet](https://archive.blender.org/developer/P1143.txt) ``` diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index b2624b2aa81..4ff154d4bcd 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -2166,7 +2166,7 @@ def draw_pause(self, context): if view.shading.type == 'RENDERED': cscene = scene.cycles - layout.prop(cscene, "preview_pause", icon='PAUSE', text="") + layout.prop(cscene, "preview_pause", icon='PLAY' if cscene.preview_pause else 'PAUSE', text="") def get_panels(): ``` @WilliamReynish: Does this catch your eye? Do you think this should go in? Will close this anyways, since this is not really a bug. https://wiki.blender.org/wiki/Reference/Not_a_bug
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#70974
No description provided.