Popuptoolbar command bug in Rhino8

I’m seeing this issue simply after running any command from one of my popup toolbars.

For example, running _NoEcho '_PopupToolbar "Solid Tools" and then creating a box results in the PopupToolbar command glitching out as Pascal described (“the popup flashes for a moment but disappears immediately”)

This is a huge hindrance to my workflow. Mine is similar to John’s in that I have aliases assigned to various toolbars via the PopupToolbar command, allowing me to bring almost any command immediately beneath my cursor. Therefore, I am quite dependent on the command to maintain the flow of my, well, workflow and I’d say this bug is another thing that is preventing me from transitioning to using Rhino 8 over Rhino 7.

SystemInfo

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

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

Computer platform: LAPTOP - Plugged in [100% battery remaining]

Hybrid graphics configuration.
Primary display: Intel(R) UHD Graphics (Intel) Memory: 1GB, Driver date: 7-8-2020 (M-D-Y).
> Integrated graphics device with 3 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
Primary OpenGL: NVIDIA GeForce RTX 3070 Laptop GPU (NVidia) Memory: 8GB, Driver date: 12-6-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 546.33
> Integrated accelerated graphics device with 4 adapter port(s)
- Secondary monitor is laptop’s integrated screen or built-in port

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: 12-6-2023
Driver Version: 31.0.15.4633
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.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\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”

1 Like

Thanks, I logged this as:
RH-79373 PopupToolbar flashes then disappears

Does PopupToolbar actually work in V8? How does it know what library to access or what toolbar in a multi-toolbar container to open?

I tried it awhile back and I didn’t manage to get it working - will try again soon.

Edit - OK, seems to be working now

Just to say I seem to have this issue too.
My popup menu has inexplicably stopped working as well :

and then ten minutes later it started working again !!

I’m able to repeat this on my machine.

Steps to reproduce:

  • Run _PopupToolbar standard to observe it working as expected
  • Run _Zoom Extents
  • Redo step 1 and observe it not working: flashes then disappears
System Info

Rhino 8 SR7 2024-4-30 (Rhino 8, 8.7.24121.13001, Git hash:master @ 44b9af795a5996a2a877659c9d5ef63b0da7ecfa)
License type: Educational, build 2024-04-30
License details: Cloud Zoo

Windows 11 (10.0.22621 SR0.0) or greater (Physical RAM: 16GB)
.NET 7.0.0

Computer platform: LAPTOP - Plugged in [100% battery remaining]

Hybrid graphics configuration.
Primary display: Intel(R) UHD Graphics (Intel) Memory: 1GB, Driver date: 7-8-2020 (M-D-Y).
> Integrated graphics device with 3 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
Primary OpenGL: NVIDIA GeForce RTX 3070 Laptop GPU (NVidia) Memory: 8GB, Driver date: 4-11-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 552.22
> Integrated accelerated graphics device with 4 adapter port(s)
- Secondary monitor is laptop’s integrated screen or built-in port

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: 4-11-2024
Driver Version: 31.0.15.5222
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
C:\Program Files\Cyberstrak\R7\CS_ModelingPlugIn.rhp “Cyberstrak Modeling PlugIn”
C:\Users\Anto\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\DiscordPresence\1.0.0.2\DiscordPresence.rhp “DiscordPresence” 1.0.0.0
C:\Users\Anto\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\Bella (813de3fb-18eb-405f-bfcd-b0b4d3da91fb)\23.6.0.0\bella_rhino.rhp “Bella” 23.6.0.0
C:\Users\Anto\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\CommandTracker\8.0.0\CommandTracker.rhp “CommandTracker” 8.0.0.0
C:\Users\Anto\AppData\Roaming\McNeel\Rhinoceros\8.0\Plug-ins\KeyShot12RhinoPlugin (78243fe3-17a0-4865-b713-88b4c224c48c)\1.3.0.0\KeyShot2023RhinoPlugin\Rhino 7\KeyShot2023RhinoPlugin.rhp “KeyShot12RhinoPlugin” 1.0.0.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.7.24121.13001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.7.24121.13001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.7.24121.13001
C:\Users\Anto\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\PanelingTools\2021.3.2.446\PanelingTools.rhp “PanelingTools”
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.7.24121.13001
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.7.24121.13001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.7.24121.13001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”

Dunno, can’t repeat it here with a more or less standard workspace… 8.7 latest SRC

PUToolbar

Alright, when I get back to my desk, I’ll try it with my Rhino in safe mode and then with plug-ins enabled one by one.

Update:

Still doesn’t work in Safe Mode and with all plug-ins that don’t ship with Rhino disabled :confused:

@pascal restarting Rhino always solved these PopUpToolbar glitches for me, but as soon as I finished rebuilding all of my toolbars, PopUpToolbar ceased to function.

I work the same way @john.ohran does, having groups of commands pop up under my mouse.

The last thing I did was save my RUI file, and now PopUpToolbar won’t work under any circumstances.

2024.05.11.Rhino_94vZqUJL6O

Here are my toolbars:

R8Toolbars.rui (560.3 KB)
R8RightContainer.rhc (2.2 MB)
R8TopContainer.rhc (2.2 MB)
R8MainContainer.rhc (2.2 MB)
R8LeftContainer.rhc (2.2 MB)

Also, I do not understand containers. All four toolbars fit into a half-MB file, but each container with one toolbar is 2.2 MB? And there’s no way to distribute a group of containers like you do with a group of toolbars in an RUI?

Adding and removing them a few times got them working again. I’m not sure what I did exactly to get them back, but I almost went back to v7.

@pascal I found a 100% reproducible way to make PopUpToolbar stop working.
2024.05.14.Rhino_GJAxR8MrPj

As soon as I run this macro, PopUpToolbar stops working with the latest SRC (Rhino 8, 8.7.24128.12261, Git hash:master @ 8bdee88d60977877d72ecc80dd756656929e0efb). Here is the macro:

-Purge BlockDefinitions=Yes
AnnotationStyles=Yes
Groups=No
HatchPatterns=Yes
Layers=Yes
Linetypes=Yes
Materials=Yes
Textures=Yes
Environments=Yes
Bitmaps=Yes
Enter

Hi Eric,
I can only get your macro to cause PopupToolbar to stop functioning if I undock my command line and leave it floating.

With the command line undocked, even just running the _Section command breaks popuptoolbar.

As long as the Command line is docked, popuptoolbar is stable for me.

@pascal, is this repeatable for you?

I am running Version 8 SR8 (8.8.24137.3001, 2024-05-16)

Thanks,
John

So far I cannot repeat either of these last two examples from Eric and John. Still poking.

-Pascal

@pascal @EricM
Okay, I think I have found what is triggering the _PopupToolbar command to stop working.

If the width of command line window is too narrow ANY command that outputs a string of text that is close to or longer than can be displayed on one line will cause _Popuptoolbar to stop working.

@EricM’s macro outputs a long string of text. If I first drag the Command Line container so that it is wide enough to display all the text, then PopupToolbar is not affected when I run the macro. Docked or Undocked contatiner it is the same. But if I make the Command Line container very narrow, any command will cause PopupToolbar to stop working.

Can you confirm if this is repeatable for you?

Thanks,
John

2 Likes

I am traveling until Wednesday with terrible internet, but I will get v8 downloaded and test this as soon as possible.

@pascal , @john.ohran is on the right track. When the command’s options’ width exceeds the command window’s width, _PopUpToolbar stops working. Here it continues working after _Purge:

But it stops once the command window is too narrow to show the entirety of _Purge’s options:

I set _OneView when Rhino opens:

And because I was testing a narrow command window, PopUpToolbar didn’t work at all. The same applies to hand-typed commands. _PopUpToolbar is working fine until I make the window too narrow for _Offset’s options:

PopUpToolbar

Hi Eric - Thanks, I’ll test this.
@EricM - does a second mouse down on MMB show the pop-up when it is in this not-working state?
I just cannot reproduce what you are showing - either with a custom container or with the default pop up toolbar, if seems to work as expected.

-Pascal

Hey @pascal

My Rhino setup has a ton of customizations, but I can reproduce this with normal keystrokes and default containers:

PopUpToolbar2

Surprisingly, if I change my MMB to a container, PopUpToolbar actually works. All other methods of launching PopUpToolbar continue to fail as previously described.


PopUpToolbar4

My Likely Irrelevant Customizations With Pop-Ups


My MMB is normally bound to Recent, which always works. But once a command’s output exceeds the command window width, there’s no way (other than MMB) to get a pop-up to appear and stay.
They always appear momentarily (< 10 ms), then disappear:

PopUpToolbar3


As for PopUpToolbar, I have gestures programmed into my Swiftpoint Z2 mouse, which call F<#> keys:

Maybe I should test with a default profile? I’ve seen @Helvetosaur create a shortcut to launch Rhino with the default profile, but I can’t find it.

  • Create a new folder on your desktop

  • Copy the default Rhino 8 desktop icon into this folder

  • Right click on the copied icon and choose Properties

  • Under the General tab, change the name to something like Rhino 8 - special (just something unique you can recognize)

  • On the Shortcut tab, under target, make a new scheme by adding a space, then the following:
    C:\Program Files\Rhino 8\System\Rhino.exe" /scheme=YourSchemeName

  • OK to finish. Then start Rhino from that shortcut. You will have a new, “blank” default Rhino interface for that scheme.

I always do this inside a new folder because Windows gets confused when you copy a shortcut icon directly on the desktop and start editing the copy. Once the copy is edited, you can move it back to the desktop and delete the folder it was in.

2 Likes

Same here, since the last SRC i cannot use anyumore my popuptoolbars, they were simple: just launch a simple toolbar via alias but it doesn’t work anymore.

System info:
Rhino 8 SR8 2024-5-14 (Rhino 8, 8.8.24135.14001, Git hash:master @ 8c191427bc5c6c4e62f523a752d809f68897c3a5)
License type: Comercial, build 2024-05-14
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 64GB)
.NET 7.0.19

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 3070 (NVidia) Memory: 8GB, Driver date: 1-18-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 551.23
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port 0

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: 1-18-2024
Driver Version: 31.0.15.5123
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
C:\Program Files\Chaos Group\V-Ray\V-Ray for Rhinoceros\V8\VRayForRhino.rhp “V-Ray for Rhino”
C:\Users\Usuario\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\CommandTracker\7.0.8201.28462\CommandTracker.rhp “CommandTracker” 7.0.8201.28462
C:\Users\Usuario\AppData\Roaming\McNeel\Rhinoceros\8.0\Plug-ins\Crayon (39629248-4fa6-47b8-83c7-745a7efea259)\1.2.0.0\Crayon\Crayon.rhp “Crayon” 1.0.0.0
D:\00 RESOURCES\080_RH7\blockeditnew202310240119\BlockEditNew.rhp “BlockEdit” 1.0.0.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.8.24135.14001
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.8.24135.14001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.8.24135.14001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.8.24135.14001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.8.24135.14001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.8.24135.14001
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”