Page MenuHome

Parent bone name disappeared in the UI in pose mode
Closed, ResolvedPublic


System Information
Operating system and graphics card win 7 gtx 550ti geforce

Blender Version
Broken: (example: 2.69.7 4b206af, see splash screen) Blender 2.79.1 64c1a48 it seems like it had been there more than a month
Worked: (optional) Blender 2.79.1 b4b1397

Short description of error
Parent bone name disappeared in the UI in pose mode

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

  • Make sure that bone have a parent
  • Go to pose mode
  • In the bone tab, relations panel you can only see the word "Parent" and bone icon but the given name is not displayed.

Event Timeline

Vuk Gardašević (lijenstina) triaged this task as Confirmed, Medium priority.

I can confirm the issue on Win 7 with build 5c6e3ff from 28. September.

Seems that the line in the script in class BONE_PT_relations

col.prop(bone, "parent", text="")

doesn't display anything apart from the icon.

That seems to work in 2.79 release.

A workaround would be:

if context.bone:
    # col.prop(bone, "parent", text="")
    bone_name = if bone.parent else "No Parent Bone Found"
    box =
    box.scale_y = 0.5
    box.label(text=bone_name, icon='BONE_DATA')

    col.prop_search(bone, "parent", arm, "edit_bones", text="")

however it's better to see what the issue really is as it can affect other areas.

This seems related to a UI widgets bug, where setting text="" on a widget to hide the label ends up causing the widget to be displayed incorrectly. For example:

  1. Using text="" on an enum with the expand=True set will result in the enum buttons having no labels. (To test, try doing this on the Armature "Ghost" panel - DATA_PT_ghost)
  2. Modify a UI List row template to only draw an icon + blank text, and no icon will be drawn

Bump, It seems like Blender 2.79a is getting closer. Can someone have a look? This bug is really disturbing when trying to debug your relation in pose mode.