Toolbar got completely scrabbled

While designing a new toolbar I took a small break, saved the toolbar closed Rhino and came back a hour later, when opening RH8 again my toolbar looked like this:

image
Of course it shouldnt look like this…

I think the first 15 or so buttons are placed over each other and thus creating the space. The blank buttons I dont know why they are there

Editing a button shows they are all empty (which they weren’t)
Opening the .rui file in notepad++ shows a quite okay file, I think even with the macro’s in it.

  1. There is something wrong in Rhino, can you fix this bug
  2. Can we unscramble the toolbar and save it?

tnm_suite rh8.rui (103.1 KB)

Do you have the latest version of V8? This looks like a bug that was fixed one or two service releases ago…

1 Like

Hi @Helvetosaur

Ah sorry forgot to paste the systeminfo,
Yes I do have the lastest SR, but there was an update in the small break that I took…
I’m not completly sure from what version updated to, but decently at least SR8.

SystemInfo

Rhino 8 SR8 2024-5-17 (Rhino 8, 8.8.24138.16021, Git hash:master @ 70a9d2157099e610ee64adcb72458b4742ef050f)
License type: Commercial, build 2024-05-17
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 32GB)
.NET 7.0.0

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 2060 SUPER (NVidia) Memory: 8GB, Driver date: 3-8-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 531.30
> Accelerated graphics device with 4 adapter port(s)
- Secondary monitor attached to adapter port #0
- Windows Main Display 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: 8x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 3-8-2023
Driver Version: 31.0.15.3130
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.8.24138.16021
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\AnimationTools.rhp “AnimationTools”
C:\Program Files\Rhino 8\Plug-ins\IdleProcessor.rhp “IdleProcessor”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.8.24138.16021
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.8.24138.16021
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.8.24138.16021
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.8.24138.16021
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.8.24138.16021
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.8.24138.16021
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\BlockEdit.rhp “BlockEdit” 8.8.24138.16021
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

Hi @Martijn, i can open your rui file and see the icons and commands are there. Please try this:

Close Rhino 8, go to this folder:

C:\Users\UserName\AppData\Roaming\McNeel\Rhinoceros\8.0\settings\Scheme__Default

Locate this file:

Rhino.UI.Resources.rui.default_c7da84fc-2991-4824-832a-4f2509bd0ede.xml

Rename it to:

Rhino.UI.Resources.rui.default_c7da84fc-2991-4824-832a-4f2509bd0ede.old

Open Rhino 8, how does your toolbar look like now ? If nothing changed, just close Rhino 8, rename the file back to xml and re-open Rhino.

_
c.

@clement Thank you, I tried it but sadly it didn’t work… :cry:

Any other idea’s?

Hi @Martijn, look in this folder and subfolders:

C:\Users\UserName\AppData\Roaming\McNeel\Rhinoceros\8.0\settings

if you find an xml file which contains the name of your custom workspace. In older Rhino 8 versions this file contained changes you made to your custom rui. If you find a file, make a backup from it and delete it while Rhino 8 is closed. Then try to open Rhino 8 and check if your custom workspace is displayed properly.

_
c.

1 Like

:star_struck: Its back!

image

In the and I deleted the enitre Scheme_Dafault folder

C:\Users\UserName\AppData\Roaming\McNeel\Rhinoceros\8.0\settings\Scheme__Default

This solved the problem.

Hopefully this problem wont happen again… But now I know the solution :slightly_smiling_face:

Thanks

Normally if you do that it will reset any customizations you made to default, so be careful…

Thanks I’ll keep it in mind.

We have a pythonscript that loads all our settings, so I shouldn’t lose to much customizations.

@Helvetosaur Are you sure it was fixed? It happend again…

Is that the recently used toolbar that is docked? There is a bug with this one that hasn’t been fixed yet. If it’s a different toolbar, then let us know. I haven’t seen anything like this in my install, but i haven’t been doing a lot of mods lately.

This is the toolbar that I was working on. This morning I worked on it some more, saved it, closed all my Rhino (to make sure that any new rhino I would open have the newest customizations I made to my UI. Reopened Rhino and the image happend.

Closed Rhino, deleted that toolbar .xml file in: C:\Users\UserName\AppData\Roaming\McNeel\Rhinoceros\8.0\settings\Scheme__Default

Reopened Rhino, loaded the toolbar from the saved .rui file, toolbar is fixed again.

I’m pretty sure that its a problem in reading the .xml files, right?

_SystemInfo (Rhino 8 SR8 2024-5-21)

Rhino 8 SR8 2024-5-21 (Rhino 8, 8.8.24142.13001, Git hash:master @ cf2a36827c139ab301c2560ae9153ea7a926bdec)
License type: Commercial, build 2024-05-21
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 32GB)
.NET 7.0.0

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 2060 SUPER (NVidia) Memory: 8GB, Driver date: 3-8-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 531.30
> Accelerated graphics device with 4 adapter port(s)
- Secondary monitor attached to adapter port #0
- Windows Main Display 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: 3-8-2023
Driver Version: 31.0.15.3130
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.8.24142.13001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\AnimationTools.rhp “AnimationTools”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.8.24142.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.8.24142.13001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.8.24142.13001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.8.24142.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.8.24142.13001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.8.24142.13001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\BlockEdit.rhp “BlockEdit” 8.8.24142.13001
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

It’s possible, @stevebaer will be the one to check…

1 Like

Hope this can be fixed soon, I’m now regularly deleting the .xml file after an edit to the toolbar.

RH8 Toolbars are giving me a lot of headache :face_with_head_bandage:
Just now I lost on some of the buttons all the left mouse macro’s, right were still there. Not on all buttons but on some…

Really no idea if I f-ed that up or if it got whiped, for now just make a ton of backups at every edit I make.

On a positive note, I do love the _-BlockEdit SaveAndClose option that has finaly been added :star_struck:
I’m also very positive about the .svg icons. Looks way cleaner and nicer

Yes, this still happens to me periodically when editing - I don’t know why. There are still some gremlins in the system.

@Helvetosaur,

Good to know that its not just me, has it been reported already? Otherwise Steve can look into that as well?

Also a reason why we are all probably losing progress.
Save button not always working.

Currently in a file where I try to save the toolbar .rui file and it does nothing…
image

image

SystemInfo 28-05-2024

Rhino 8 SR8 2024-5-21 (Rhino 8, 8.8.24142.13001, Git hash:master @ cf2a36827c139ab301c2560ae9153ea7a926bdec)
License type: Commercial, build 2024-05-21
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 32GB)
.NET 7.0.0

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 2060 SUPER (NVidia) Memory: 8GB, Driver date: 3-8-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 531.30
> Accelerated graphics device with 4 adapter port(s)
- Secondary monitor attached to adapter port #0
- Windows Main Display 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: 3-8-2023
Driver Version: 31.0.15.3130
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.8.24142.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\export_ACAD.rhp “AutoCAD file export : export_ACAD”
C:\Program Files\Rhino 8\Plug-ins\AnimationTools.rhp “AnimationTools”
C:\Program Files\Rhino 8\Plug-ins\IdleProcessor.rhp “IdleProcessor”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.8.24142.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.8.24142.13001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.8.24142.13001
C:\Program Files\Rhino 8\Plug-ins\export_STEP.rhp “STEP Export”
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.8.24142.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.8.24142.13001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.8.24142.13001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\BlockEdit.rhp “BlockEdit” 8.8.24142.13001
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

Edit:
This happens e̶t̶h̶e̶r̶ ̶a̶t̶ ̶d̶u̶m̶p̶l̶i̶c̶a̶t̶i̶n̶g̶ ̶t̶h̶e̶ ̶.̶r̶u̶i̶ ̶f̶i̶l̶e̶ ̶(̶t̶o̶ ̶c̶r̶e̶a̶t̶e̶ ̶m̶y̶ ̶o̶w̶n̶ ̶b̶a̶c̶k̶u̶p̶)̶,̶ ̶o̶r̶ at closing enouther rhino that also has that toolbar open.

( redid al the edits in a new file, constantly comparing what macro is good and which one needs to be updated. Then saved the new rhino toolbar, it worked, closed the rhino where I couldn’t save, took a final look and deleted a excess button that I don’t need anymore, tried to save again, doesn’t work.

Close rhino, open rhino, toolbar scrabbled, close rhino, delete .xml file of that toolbar, open rhino, toolbare fine again. Delete button, save .rui (it works).

Just to test, copy pasted .rui file, saved .rui again, still works.
Save button not working is defeatedly something in closing other Rhino’s

I know I “closed the topic” because we unscrambled my toolbar. There are still 2 bugs in the toolbare that havent been reported: .xml file that you need to delete, and the left mouse buttons that get wiped. (sentence edited)

@stevebaer or @Gijs, I’m not sure what the etiquettes are on tagging you. But could you please check the posts above?

I would really like to have this problem in YT, (because is does keep happening and just because I know a quick fix doesn’t mean that the problem is fixed)

Tnx

I’m not sure I understand what you’re doing. If you have only one instance of Rhino open and you edit a toolbar in the .rui, then save the .rui, then go back and do some more edits to the toolbar, then save the .rui again - you are saying it doesn’t save the second time?
(one way to check is to have the folder with the .rui open and see if the timestamp updates when you save)

I cannot repeat this here in any case. ALWAYS do any edits with only one instance of Rhino open. For now, always save an .rui manually, there is no automatic save. However, to save edits to default, you need to close Rhino. There is no manual save of default while keeping Rhino open currently.

Following the above, the only problem I have is that some containers re-arrange themselves (notably the MMB popup) and text-only popup toolbars lose their sizing.

I think that time I accidentally had 2 instances of rhino open.
Then the not saving problem happend.

Now that I’m aware that this can happen I also only make edits to the .rui file with only one instance of rhino open.

My post above was meanly about the .xml files that you need to delete to re-read you toolbars (Toolbar got completely scrabbled - #7 by Martijn), and the left mouse button macro’s that get deleted (Toolbar got completely scrabbled - #15 by Helvetosaur).

These 2 (in my eyes) are ready to be reported and fixed.