Skip to content

Compare: the run list opens at the window's left edge, not under its Choose a run button #387

Description

@harenome

Priority

low. The surface only: Compare's script and the table toolkit's menu script.

Components

  • app/nullius (backend)
  • app/web (routes)
  • templates and static files
  • docs and the site
  • catalogue (benchmarks, agents, capabilities)
  • the standard (ports, kits, relay, runs)
  • CI, workflows and skills

Evidence

Measured in Chromium at 1280 x 800 on main, Compare with two columns:

  • The second column's "Choose a run" button is at x = 926. Its run list opens at x = 0, at the left edge of the window, over the sidebar.
  • The list's inline style keeps top and width but has no left.
  • The list is 471 px high and starts at y = 349, so its bottom is at y = 820 on an 800 px window. The last runs cannot be reached without scrolling the page.
  • After a scroll, the list moves back under its button.

Cause: app/static/compare/columns.js lines 94-98 set the list's left in a click handler registered before NulliusTable.menu(btn, menu) (line 99). That function's own click handler then clears it: menu.style.left = menu.style.right = '' (app/static/tables.js, line 142, from #249). The list is position: fixed (app/static/compare/comparison.css, line 30), so the base .menu rule puts it at the window's left edge.

The other menus that NulliusTable.menu drives (Columns, Filter, Sort by, Compare's Order and the chart menus) do not set their own position and open under their buttons.

Screenshot

compare-run-menu

Reproduction

  1. Open Compare with a workspace that has runs.
  2. Click "Choose a run" in the second column.

Expected

The run list opens under its button, inside the window. When there is not enough room below the button, it opens above it, or its height is limited to the room left.

Acceptance

  • The run list opens under its "Choose a run" button in every column, at 1280 and 390 px.
  • The run list stays inside the window: it opens above its button, or limits its height, when there is not enough room below.
  • The other menus of the table toolkit still open under their buttons.

Dependencies and related

The position is cleared by the menu code added in #249. Compare's columns come from #206.

Activity

  1. added
    bug
    P3
    on Nov 24, 2026
  2. added theissue type on Nov 24, 2026
  3. added a commit that references this issue on Nov 24, 2026
    0def71a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3bug

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions