Custom toolbar BUG losing icons and data

If i make a modification on my custom toolbar I lose icons and data randomly…

I tried almost everything, new name, docked or floating…

sometimes i lose the icons, sometimes tooltip title or the entire script…

the .rui file is saved in a new folder on my C:\Users\enzo\Documents:

Rhino 8 SR2 2023-12-12 (Rhino 8, 8.2.23346.13001, Git hash:master @ dbefe46c12cda06610a9ab683a211aa3d16f0030)
License type: Commerciale, build 2023-12-12
License details: Cloud Zoo

Windows 11 (10.0.22621 SR0.0) or greater (Physical RAM: 64Gb)
.NET 7.0.0

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA RTX A5000 (NVidia) Memory: 24GB, Driver date: 10-26-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 546.01
> Accelerated graphics device with 8 adapter port(s)
- Secondary monitor attached to adapter port #0
- Secondary monitor attached to adapter port #1
- Windows Main Display attached to adapter port #2

Secondary graphics devices.
NVIDIA RTX A5000 (NVidia) Memory: 24GB, Driver date: 10-26-2023 (M-D-Y).
> Accelerated graphics device with 0 adapter port(s)
- There are no monitors attached to this device!

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: 10-26-2023
Driver Version: 31.0.15.4601
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 24564 MB

Rhino plugins that do not ship with Rhino
C:\ProgramData\McNeel\Rhinoceros\7.0\Plug-ins\Datasmith Rhino Exporter (d1fdc795-b334-4933-b680-088119cdc6bb)\DatasmithRhino7.rhp “Datasmith Exporter” 4.27.2.0
C:\Users\enzo\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\NVIDIADenoiser\0.4.3\NVIDIADenoiser.Windows.rhp “NVIDIADenoiser.Windows” 0.4.3.0
C:\Program Files\Common Files\McNeel\Rhinoceros\8.0\Plug-ins\BoltGen_py (283dd9db-bcac-ab3c-9b9a-6f41eaf6160f)\1.0.6642.13019\BoltGen_py.rhp “BoltGen_py” 1.0.0.0
C:\Users\enzo\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\SubstanceImporter\2.0.5\Substance.Win.rhp “SubstanceImporter” 2.0.5.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.2.23346.13001
C:\Program Files\Rhino 8\Plug-ins\WebBrowser.rhp “WebBrowser”
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\IdleProcessor.rhp “IdleProcessor”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.2.23346.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoRender.rhp “Legacy Rhino Render”
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.2.23346.13001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.2.23346.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.2.23346.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 8.2.23346.13001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.2.23346.13001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

just copy and pasted the script and saved…
restarted Rhino and lost tooltip title…

losing my mind…

Do not copy any buttons between toolbars.

Always start with a new blank button, then fill in all the fields manually and import the image. That is the only way currently to assure that your buttons will not disappear or get messed up.

OK, but what if i need to make any modification to a script or title?

do I have to rebuild the entire toolbar?
if I save on the same toolbar i will lose staff as the first post

brand new toolbar…

brand new button, brand new icon, brand new script…

Restarted rhino and the OLD PROBLEM STILL THERE.

so no BUG?, i’ts just my fault, right?

There are currently a lot of “anomalies” relative to toolbar and button creation and modification. I haven’t experienced this happening with buttons created from scratch (yet), but maybe I just got lucky.

Hi Enzo - can you please post the RUI file or send to tech@mcneel.com?

I have not seen this one before …is the lost macro text always a script?

-Pascal

EM_008.rui (491 Bytes)
EM_006.rui (11.7 MB)
EM_007.rui (11.6 MB)

Hi, this is the “same” toolbar saved after every modification

yes, the missing macro text are always scripts.

thank you for you help!