Rhino 8 UI, Incorrect Icon Position in Toolbars

Hello, I just closed and reopened Rhino, and here is what I get with my customized toolbars: I am attaching the RUI file, but it seems that the issue does not come from there as I do not see any icon position information inside.

JMV-Toolbar-8 - bug icon positions.rui (642.1 KB)

It seems that all the icons I added are present; however, the positioning is not correct. Sometimes they overlap, and sometimes there are spaces where I cannot move the icons back.

Sysinfo:

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 11 (10.0.22631 SR0.0) or greater (Physical RAM: 32GB)
.NET 7.0.10

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce GTX 1080 Ti (NVidia) Memory: 11GB, Driver date: 3-1-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 551.76
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port 0
- Secondary monitor attached to adapter port 1

Secondary graphics devices.
Intel(R) UHD Graphics 630 (Intel) Memory: 1GB, Driver date: 6-1-2021 (M-D-Y).
> Integrated graphics device with 3 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: 3-1-2024
Driver Version: 31.0.15.5176
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 11 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\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.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\RhinoCycles.rhp “RhinoCycles” 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\3dxrhino.rhp “3Dconnexion 3D Mouse”
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”

jmv

Oh no! I just applied this modification:

and reopened Rhino for the third time, and here is what I get:

image

really sorry but :face_with_symbols_over_mouth:

And here is the newly saved file:
JMV-Toolbar-8 - bug icon positions 2.rui (642.2 KB)

I tried several things:

Closing the toolbar and then displaying them again. That didn’t work.

I did a complete reset of Rhino with all options checked,
image

and it almost worked. Here is what I get:
image

I don’t know if it’s an extra icon or an icon I added that lost its information.
However, I realized that in the RUI files I sent you, this 11th button doesn’t refer to anything:


    <tool_bar guid="760a6d01-f984-44bf-918f-2f4e902c268e">
      <text>
        <locale_1033>Generale</locale_1033>
      </text>
...
      <tool_bar_item guid="83c57f52-1fc1-4cbb-84a1-d1f5693e4ad5" />
    </tool_bar>

During the Rhino reset, I saved the settings, but given the information contained within, I’m not sure if I can share it publicly.

hi @kitjmv

I’ve seen this a couple of times, and in all cases it is the toolbar xml that causes the issue. It’s not clear however what is causing it.
If I download and open the toolbar you sent, it seems opens up correctly. (Is the Generale History supposed to be empty?)

Hello @Gijs

yes

It’s not clear to me either when the problem first appeared, and by the third restart of Rhino, it got worse. Each time, I checked the Rui file, and nothing seemed incorrect.
The only thing I noticed later was the XML line I mentioned earlier.
An empty toolbar entry:

<tool_bar_item guid="83c57f52-1fc1-4cbb-84a1-d1f5693e4ad5" />

Display extra spaces, then display extra spaces and gray circles. I doubt it’s coming from the Rui file.
But I am unable to describe a procedure to reproduce the problem.
However, the only thing that had a significant effect was applying a full “Reset Rhino To Defaults”.

have you been making any modifications to the toolbars of that RUI (without saving them back to the RUI) when this happened?

Yes, that’s all I was doing. I had just spent 1 or 2 hours creating toolbars and moving icons.

The spaces between the icons and grey dots have reappeared.
Also, look at the first icon, it seems that all the icons are drawn on top of each other. However, when I hover over it, it is drawn correctly.

image

Currently, only the Mesh Modification toolbar and its sub-toolbars are affected.

image

Here is what I know:

  • Yesterday, there was an update to Rhino.

Sysinfo:

Rhino 8 SR12 2024-9-24 (Rhino 8, 8.12.24268.13001, Git hash:master @ 01a91d2d13b556683de4cecbd523f46a8bcfab52) License type: Commercial, build 2024-09-24 License details: Cloud Zoo

Windows 11 (10.0.22631 SR0.0) or greater (Physical RAM: 32GB)
.NET 7.0.10

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce GTX 1080 Ti (NVidia) Memory: 11GB, Driver date: 3-1-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 551.76
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port #0
- Secondary monitor attached to adapter port #1

Secondary graphics devices.
Intel(R) UHD Graphics 630 (Intel) Memory: 1GB, Driver date: 6-1-2021 (M-D-Y).
> Integrated graphics device with 3 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: 3-1-2024
Driver Version: 31.0.15.5176
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 11 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.24268.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.12.24268.13001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.12.24268.13001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.12.24268.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.12.24268.13001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.12.24268.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”

  • And yesterday, I spent quite a long time creating and modifying my custom toolbars.
  • Before closing Rhino, I saved the RUI file:

JMV-Toolbar-8 - Before Space.rui (1.0 MB)

  • This morning, I reopened Rhino to continue working on my custom toolbars.
  • And about half an hour later, I noticed the problem on one of the toolbars.

And here is today’s RUI file:

JMV-Toolbar-8 - After.rui (1.0 MB)

hi @kitjmv if you reset Rhino, it will also save a backup to the settings folder. Could you send that backup to me?
btw: I am in European time zone but I cannot monitor @ mentions every minute.

hello @Gijs

Ah OK, I thought you were in America. I tried just in case there was a manipulation to identify the problem.

I can’t find it, can you say me where it is for Rhino on Windows?

%appdata%\McNeel\Rhinoceros

1 Like

I just sent you a wetransfer link.

thanks for the file, I will try to replicate your process to update Rhino with your toolbars installed

1 Like

However, I did the reset after restarting Rhino.
And I realized that some toolbars, but not all, are displaying normally again.

FWIW, same on Rhino 8 for Mac.

I was never able to understand the steps required to achieve this result, and I don’t think @Gijs was ever able to reproduce it either. Do you know ?

the only conclusion I have so far is that, while it looks bad, there never seem to go something completely lost. For custom RUI files, deleting the xml file associated with it restores the state of the toolbars of that RUI. Resetting the toolbars has the same effect, since it will also get rid of the xml files, that store the differences between the default and the current state of toolbars.

Not really sure, but maybe saving a new window layout,
then close and reopen Rhino leads to this: