Material re-naming bugs

Hi McNeel
I’m seeing a weird bug when re-naming materials in the material panel. Sometimes I can change the name, but as soon as I press Enter to confirm, it reverts to the old name. Then I can slow-double click to make the name editable again, and the recently changed - but not displayed - name is back. Once again press Enter and the name reverts to the old name again… and back and forth… and then suddenly it sticks. I see no pattern in the behavior as yet, but will try to find a repeatable example.

And can I please have an option to automatically sort material names alphabetically, in order to avoid having to right-click and locate “Sort Alphabetically” every single time I add a new material or change a material name (if I can!).

-Jakob

Can you run the SystemInfo command and send me the information?

Hi @maxsoder
Of course - my bad!

System Info

Rhino 8 SR12 2024-9-17 (Rhino 8, 8.12.24261.13001, Git hash:master @ 8259b0e5b4454adebdaa738e9d738a475418afda)
License type: Commercial, build 2024-09-17
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 95GB)
.NET 7.0.20

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA Quadro RTX 4000 (NVidia) Memory: 8GB, Driver date: 7-23-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 552.86
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port #0
- Secondary monitor attached to adapter port #1

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 7-23-2024
Driver Version: 31.0.15.5286
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 8 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.12.24261.13001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoScript.rhp “RhinoScript”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.12.24261.13001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.12.24261.13001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.12.24261.13001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.12.24261.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.12.24261.13001
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.12.24261.13001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.12.24261.13001
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\Calc.rhp “Calc”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”
C:\Users\jn\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\PanelingTools\2024.8.20.677\PanelingTools.rhp “PanelingTools”

-Jakob

1 Like

@Normand I have a few followup questions. Are you renaming in spot 1 or 2? Is it the material editor (grid/list/tree view) )or material properties panel, layer material dialog?

Hi @maxsoder
Yeah, sorry for the lack of info - was in a bit of a hurry. Here are a few more details. This is in the properties panel, in tree view. Next time it pops up, I’ll try and change it under “Name and Type” instead and see if that makes a difference!

Regards, Jakob

1 Like

Thanks @Normand. I have tried to reproduce for a while now, but with no success. When the problem comes back the next time it would be great if you would be able to take a video of it.

1 Like

Hi @maxsoder
Here you go - a video. As you can see, editing the name in the lower portion of the dialog box works, so it’s “just” the tree view that doesn’t update.


-Jakob

1 Like

hi @Normand does that issue persist when you close and reopen the file?
I could not reproduce it here either, and wonder what you are doing differently. Its helpful to provide a file if is file specific.

Hi @Gijs
No, a restart “resets” it, and all is well for a non-specific period of time - and then it comes back. Once it starts, it happens to all material name changes in that file until I restart. I see it happening more often/faster in files with many materials. I’ll try and see if I can make a repeatable file for you guys to look at. At least I now know that I can just use the “Name and Type”-box to make it stick, which I guess kinda reduces it to a paper cut :slight_smile:
-Jakob

Perhaps you can figure out if it happens definitely after a certain time - perhaps 10 minutes, longer, shorter?