Restore default value operator removes redo panel #109631

Open
opened 2023-07-03 02:13:32 +02:00 by Sahin Ersoz · 6 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.11

Blender Version
Broken: version: 3.6.0, branch: blender-v3.6-release, commit date: 2023-06-27 08:08, hash: c7fc78b81ecb
Worked: 3.4.1

Short description of error
With user installed add-ons (sometimes Blenders own operators too) if the user tries to reset a value by RightMouseClick / "Reset To Default Value", the redo panel closes.

Exact steps for others to reproduce the error

  1. Activate the user installed add-on
  2. Change a value
  3. RMB on the property from redo panel, select "Reset To Default Value"

This will close the panel and end the active add-on (may not happen on first attempt)

YouTube video at the link:
https://youtu.be/4woEVTFSrtw

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.11 **Blender Version** Broken: version: 3.6.0, branch: blender-v3.6-release, commit date: 2023-06-27 08:08, hash: `c7fc78b81ecb` Worked: 3.4.1 **Short description of error** With user installed add-ons (sometimes Blenders own operators too) if the user tries to reset a value by RightMouseClick / "Reset To Default Value", the redo panel closes. **Exact steps for others to reproduce the error** 1) Activate the user installed add-on 2) Change a value 3) RMB on the property from redo panel, select "Reset To Default Value" This will close the panel and end the active add-on (may not happen on first attempt) YouTube video at the link: https://youtu.be/4woEVTFSrtw
Sahin Ersoz added the
Status
Needs Triage
Type
Report
Priority
Normal
labels 2023-07-03 02:13:33 +02:00
Member

Hi, could you specify the exact add-on or blender operator that closes redo panel when "reset to default value" is called?

Hi, could you specify the exact add-on or blender operator that closes redo panel when "reset to default value" is called?
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-07-03 04:44:08 +02:00
Author

Any user installed add-on that pops open a panel seems to break it.
When I import my own settings on a fresh Blender, all scripts display the "Reset To Default Value" bug.

I attached two test scripts. When they are run from the script editor they often fail (but not always)
Some of the scripts work ok if they are installed, but for most others it makes no difference.

Once the bug appears, it also effects the Blender operators like "Add Cube" (demonstrated in the linked video)

YouTube video:
https://youtu.be/WHcim_Shn5M

Any user installed add-on that pops open a panel seems to break it. When I import my own settings on a fresh Blender, all scripts display the "Reset To Default Value" bug. I attached two test scripts. When they are run from the script editor they often fail (but not always) Some of the scripts work ok if they are installed, but for most others it makes no difference. Once the bug appears, it also effects the Blender operators like "Add Cube" (demonstrated in the linked video) YouTube video: https://youtu.be/WHcim_Shn5M
Member

Thanks. Even without script, redo panel closes occasionally when reset to default value is called.
Confirming. Though this need some investigation why redo panel is freed.

Thanks. Even without script, redo panel closes occasionally when `reset to default value` is called. Confirming. Though this need some investigation why redo panel is freed.
Pratik Borhade added
Module
User Interface
Status
Confirmed
and removed
Status
Needs Information from User
labels 2023-07-05 07:43:17 +02:00
Pratik Borhade changed title from Blender 3.6 Restore Default Values Bug to Restore default value operator frees redo panel 2023-07-05 07:44:36 +02:00
Pratik Borhade changed title from Restore default value operator frees redo panel to Restore default value operator removes redo panel 2023-07-05 07:44:53 +02:00
Member

Indeed looks like a regression but does not seem very critical bug (not even able to reproduce on every attempt)
@lichtwerk , can you redo this?

Indeed looks like a regression but does not seem very critical bug (not even able to reproduce on every attempt) @lichtwerk , can you redo this?
Member

Thanks. Even without script, redo panel closes occasionally when reset to default value is called.
Confirming. Though this need some investigation why redo panel is freed.

@PratikPB2123 : do you have example repro steps where this happens without the script?

> Thanks. Even without script, redo panel closes occasionally when `reset to default value` is called. > Confirming. Though this need some investigation why redo panel is freed. @PratikPB2123 : do you have example repro steps where this happens without the script?
Member
  • open default scene
  • delete existing objects (optional)
  • Add new primitive object (ex: UV sphere)
  • Expand redo panel
  • RMB on any single property, call "reset to default value"
    redo panel is likely freed by now.
    (Repeating same steps again may not trigger the issue next time)
- open default scene - delete existing objects (optional) - Add new primitive object (ex: UV sphere) - Expand redo panel - RMB on any single property, call "reset to default value" redo panel is likely freed by now. (Repeating same steps again may not trigger the issue next time)
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
3 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#109631
No description provided.