Maniphest T96820

Addon custom categories/tabs are broken (are gone after a session)
Confirmed, Normal

Assigned To
None
Authored By
Kjell Emanuelsson (Kjell)
Mar 27 2022, 8:41 PM
Tags
  • BF Blender
  • User Interface
  • Python API
Subscribers
Kjell Emanuelsson (Kjell)
Pratik Borhade (PratikPB2123)

Description

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.79

Blender Version
Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: rBc77597cd0e15
Broken: 2.80
Worked: 2.79

Short description of error
Changing the category (in add-on preferences) on add-ons that allow you to change the category does not retain placement after restart.

Tested using "Align Tools" add-on as example.
Relevant reference:
https://developer.blender.org/T48459

Exact steps for others to reproduce the error

  • Open default scene
  • Go to "Align Tools" (Prefs > add-ons)
  • Enable add-on and change Tab category string to something else (say "AB")
  • Save preferences
  • restart blender.
  • Now the label of tab remains same (AB) in preferences but it does not reflect in UI (sidebar)

Event Timeline

Kjell Emanuelsson (Kjell) created this task.Mar 27 2022, 8:41 PM
Pratik Borhade (PratikPB2123) changed the task status from Needs Triage to Confirmed.Mar 28 2022, 7:16 AM
Pratik Borhade (PratikPB2123) added a project: User Interface.
Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).

Thanks for the report.

change tab string to something else

Tab Category string you mean? If so, I can confirm.
If I save preferences and reopen Blender, string value remains same (edited text) but it doesn't reflect in UI

Kjell Emanuelsson (Kjell) added a comment.EditedMar 28 2022, 7:19 AM

yes, I could have been more precise ;> The string value actually remains, but the not the tab placement. Until you "nudge" the string value in prefs again, manually.

Pratik Borhade (PratikPB2123) updated the task description.Mar 28 2022, 7:20 AM
Philipp Oeser (lichtwerk) renamed this task from Choose tab name in add-ons is broken to Addon custom categories/tabs are broken (are gone after a session).May 6 2022, 4:06 PM
Philipp Oeser (lichtwerk) updated the task description.
Philipp Oeser (lichtwerk) added a project: Python API.