Cannot Save Toolbar (Invalid character Error)

Every time I try to save a custom toolbar, I get an error window
toolbar_save_error

I’ve tried Save, SaveAs, changing the name

Hi Jake - can you please run SystemInfo in Rhino and copy/paste the results here?

-Pascal

Rhino 7 SR16 2022-3-8 (Rhino 7, 7.16.22067.13001, Git hash:master @ aa7902c94c5aa33511e60d30f82b636be43bc85f)
License type: Commercial, build 2022-03-08
License details: Cloud Zoo

Windows 10.0.19043 SR0.0 or greater (Physical RAM: 16Gb)

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce GTX 1660 SUPER (NVidia) Memory: 6GB, Driver date: 11-22-2020 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 457.51
> 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: 11-22-2020
Driver Version: 27.21.14.5751
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 6 GB

Rhino plugins that do not ship with Rhino
C:\Users\trim5\source\repos\WPF_ReactiveUI_TestCase\bin\Debug\net48\WPF_ReactiveUI_TestCase.rhp “WPF_ReactiveUI_TestCase” 1.0.0.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.16.22067.13001
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.16.22067.13001
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.16.22067.13001
C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.16.22067.13001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.16.22067.13001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”

Hi Jake - what happens if you disable

WPF_ReactiveUI_TestCase.rhp

in Options > Plug-ins page, close and reopen Rhino?

-Pascal

Same error after disabling the mentioned plugin.

I’m attempting to add a menu item under the File menu item. I noticed something else:

When I simply add new toolbars or groups to the toolbar, it saves with no error.
When I add the custom menu item to the File menu, it throws the error when I save :thinking:

The custom menu item is just a named menu item with a macro.

Hi Jake - can you please send the rui file to tech@mcneel.com with a link back here in your comments?

-Pascal

Sent. Thanks for your help.

Hi Jake -thanks, I see that error as well. I’ll investigate…

@jakemurphy0118 - as far as I can see this is just broken -
RH-67926 Toolbar: RUI save fails with menu item

It seems adding to the File menu is the bad thing - I can add to other menus.

-Pascal

Jake: As a side note, when I looked through your system info I noticed your Nvidia driver is from 11/22/20. It’s probably time to update just to keep the driver up with your R7 version.

This is mine:

Primary OpenGL: NVIDIA GeForce GTX 860M (NVidia) Memory: 4GB, Driver date: 7-30-2018 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 398.82

If it ain’t broken, don’t try to fix it…
-wim

If it’s working for you it’s kind of hard to argue.

On the other hand, while I know that @jeff et al are doing great work in keeping Rhino capable of working with older cards and drivers, I also know that openGL capabilities improve over the years and believe later versions of Rhino include features that use use some of those capabilities directly rather than through workarounds and my belief is that those features perform better that way.

So I have always believed that it’s a good idea to keep the drivers up-to-date and to upgrade video cards as often as economically practical (in my case every 5 years or so). Am I living in a fool’s paradise?

OpenGL, like anything else, comes in versions.

Primary OpenGL: NVIDIA GeForce GTX 860M (NVidia) Memory: 4GB, Driver date: 7-30-2018 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 398.82

The drivers I’m running tell Rhino they are supporting version 4.6.0.
Rhino targets features that are available in OpenGL 4.5.
Lots (and lots) of drivers have bugs. OpenGL features that they should be supported aren’t as they should. Driver updates fix bugs. Rhino updates try to work around known bugs in many drivers.
If you come across a driver that isn’t showing issues, stick to it.
-wim

RH-67926 is fixed in Rhino 7 Service Release 17 Release Candidate