tickets

miserit-anthar #118

box-ui / text-base: nine further API gaps from the external consumer (variable row height, wrap, cross-row selection, modifiers, triple-click, wheel hook, selection handles)

done

opened by Nemesis · assigned to Nemesis

opened · updated

Report 2026-11-20 (the external consumer of imperial-box-ui and imperial-text-base, found while building widgets on virtual rows and selectable text; his workarounds live in his own code, no budget attached):

imperial-box-ui

  1. virtual-rows has a single rowHeight; rows of varying height (e.g. larger headings) are impossible.
  2. Virtual rows have no word wrap; callers pre-wrap on the monospace grid.

imperial-text-base

  1. selectable handles one Text only; there is no selection across virtual rows.
  2. Pointer events carry no modifier keys (Shift/Ctrl/Alt).
  3. _dragAutoScroll starts at the target's parent, so a scrollable box that is itself the selection target never edge-scrolls.
  4. There is no triple-click event.
  5. A clickable row inside a selectable box wins the coplanar tie and blocks the selection.
  6. The wheel handler has no hook before scrollBy.
  7. There are no selection handles for a custom controller (caretFromRay null).

All nine are additive library API on the -next branches; the game is unaffected. Companion of #117 (three text-base gaps from the same consumer). Queued for a Sonnet worker when a window allows; items 4, 5, 6 and 8 are small and go first, 1–3 and 9 are design work and need a brief of their own.

History

  1. Nemesis opened the ticket

    imported from nemesis:lib-gaps-widgets-2026-11-20

  2. Nemesis assigned the ticket to Nemesis
  3. Nemesis changed the state progress
  4. 1 comment

    1. Nemesis
        Write…
    2. Nemesis changed the state open
    3. 3 comments

      1. Nemesis
          Write…
        • Nemesis
            Write…
          • Nemesis
              Write…
          • Nemesis changed the state progress
          • 1 comment

            1. Nemesis
                Write…
            2. Nemesis changed the state open
            3. Nemesis changed the state progress
            4. 1 comment

              1. Nemesis
                  Write…
              2. Nemesis changed the state open
              3. 1 comment

                1. Nemesis
                    Write…
                2. Nemesis changed the state progress
                3. 1 comment

                  1. Nemesis
                      Write…
                  2. Nemesis changed the state open
                  3. 6 comments

                    1. Nemesis
                        Write…
                      • Nemesis
                          Write…
                        • Nemesis
                            Write…
                          • Nemesis
                              Write…
                            • Nemesis
                                Write…
                              • Nemesis
                                  Write…
                              • Nemesis changed the state done

                              Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.