Page MenuHome

Custom properties add and edit buttons missing tooltips
Closed, ResolvedPublicDESIGN

Description

System Information
Operating system: Darwin-19.3.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 5500M OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.5.5

Blender Version
Broken: version: 2.83 (sub 6), branch: master, commit date: 2020-03-06 22:46, hash: rBdcdcc2348842
Worked: unknown

Short description of error
The custom properties add and edit buttons don't have tooltip texts.

Exact steps for others to reproduce the error
In world or object properties, under custom properties hoover over the add button or the edit button (after adding a property). Result: " (undocumented operator)".

Event Timeline

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Thu, Mar 26, 3:11 PM
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Design".

This does not appear to be a bug or an error, as undocumented operators are allowed.
But it is something simple and deserves consideration.
Maybe this is a good description (following what is explained in the manual https://docs.blender.org/manual/en/dev/files/data_blocks.html#bpy-ops-wm-properties)

diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 335a2a633cd..d1ee21c107a 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -1468,6 +1468,7 @@ class WM_OT_properties_edit(Operator):
 
 
 class WM_OT_properties_add(Operator):
+    """Add your own data to this data-block"""
     bl_idname = "wm.properties_add"
     bl_label = "Add Property"
     bl_options = {'UNDO', 'INTERNAL'}