R9 PopupToolbar command does nothing when cascade style = menu

Problem Description:

The PopupToolbar command is not working when button cascade style is set to menu. Everything works as expected when cascade style is set to panel.

Please investigate/fix so the PopupToolbar command works normally when button cascade style = menu.

Setup A: Cascade Style - Menu

Options > Toolbars > Buttons > Cascade Style = Menu

Options > Mouse > Middle mouse button > Popup this toolbar [selected] [default.Popup]

Commands / actions: Result: Expected result:
PopupToolbar "default.Popup" Nothing happens Toolbar as menu
Middle mouse click default.Popup as menu at cursor Yes

Setup B: Cascade Style - Panel

Options > Toolbars > Buttons > Cascade Style = Panel

Options > Mouse > Middle mouse button > Popup this toolbar [selected] [default.Popup]

Commands / actions: Result: Expected result:
PopupToolbar "default.Popup" default.Popup as panel at cursor Yes
Middle mouse click default.Popup as panel at cursor Yes

_________

System Info:

_________

Rhino 9 SR0 2026-10-27 (Rhino 9, 9.0.26300.09401, Git hash:master @ b5c4aa079c11dd91ccd7b6aa067f5029f3fccf72)
License type: Evaluation, build 2026-10-27
License details: Cloud Zoo
Expires on: 2027-01-27

Windows 11 (10.0.26100 SR0.0) or greater (Physical RAM: 32GB)
.NET 10.0.14

Computer platform: DESKTOP

Standard graphics configuration using OpenGL
Primary display: NVIDIA GeForce GTX 1080 Ti (NVidia) Memory: 11GB, Driver date: 10-9-2025 (M-D-Y). OpenGL(4.6.0 NVIDIA 581.57)

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
GPU Tessellation is: 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-9-2025
Driver Version: 32.0.15.8157
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 11 GB

OpenBLAS: OpenBLAS 0.3.30 DYNAMIC_ARCH NO_AFFINITY Haswell MAX_THREADS=64.

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 9\Plug-ins\Commands.rhp “Commands” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\WebBrowser.rhp “WebBrowser”
C:\Program Files\Rhino 9\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 9\Plug-ins\RhinoScript.rhp “RhinoScript”
C:\Program Files\Rhino 9\Plug-ins\RhinoAI\net8.0\RhinoAI.rhp “RhinoAI” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\3dxRhino.9.rhp “3DxRhino.9”
C:\Program Files\Rhino 9\Plug-ins\IdleProcessor.rhp “IdleProcessor”
C:\Program Files\Rhino 9\Plug-ins\UpdatesAndStatistics\UpdatesAndStatistics.rhp “UpdatesAndStatistics” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 9\Plug-ins\MeshCommands.rhp “MeshCommands” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\RhinoCycles.rhp “RhinoCycles” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 9\Plug-ins\SectionTools.rhp “SectionTools”

thanks @Tim.H for reporting, I can reproduce this issue.
RH-99904 PopupToolbar command doesn’t work