Page MenuHome

Slash in custom property name does not work
Closed, ResolvedPublicBUG


System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.48

Blender Version
Broken: version: 2.83.2, branch: master, commit date: 2020-07-09 05:50, hash: rB239fbf7d936f
Worked: unknown

Short description of error
When I use this symbol: \ in the name of custom property here it makes a problem: I can't see data of the property as you can see on the screen (IK\FK). Also, If the same symbol is in the name of constraint it also cause problem: I can't add driver to the influence of constraint. But there is no such problem in the tutorial. Also I use Bone Layers add-on, but it's also used in tutorial and there is no any problem.

Exact steps for others to reproduce the error
Just add the slash in the name.)

PS: It's not very important to me, I just deleted the \ but I guess it can be useful for you to improve Blender.)
Thank you a lot.

Event Timeline

Ada King (tssrkt) created this task.EditedJul 11 2020, 12:51 PM

BTW, about my previous report:

When I use wireframe mode Blender does not couse any problem. That's why I did not answer. Sorry for it.
It's not a good solution, but it's better than nothing.

Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Jul 13 2020, 6:22 PM

Looks like bug indeed.

Jacques Lucke (JacquesLucke) renamed this task from Slash issue to Slash in custom property name does not work.Jul 14 2020, 4:49 PM

P1533 seems to solve this partially. However, I think a better solution would be to simply forbid some characters in custom property names (like \ and "). Alternatively, instead of forbidding some characters, we could also have an allow-list instead, but that might break some files.

@Bastien Montagne (mont29), what do you think. Should we forbid those characters? They don't seem to work currently anyway.

@Jacques Lucke (JacquesLucke) I would just create a forbidden list of characters yes… \, ', " at least I guess?

Yup, that last seems fine. We can always add more in the future if necessary.

Yes, and just say: "it's not bug it's feature")))