Skip to content

Make native Table Copy menus aware of the selected cell range #1174

Backlog

Description

Remaining F-4 work split from #1160. Build on rectangular Table selection and TSV copy in #1158 and the native single-target Copy menus in #1171. This issue is about making the native menu range-aware, not implementing rectangular selection itself.

  • When the user right-clicks inside an active rectangle, keep the rectangle selected. Expose a distinct Copy Range action without replacing or redirecting the existing Copy Cell Value and Copy As actions for the targeted cell. A click outside the range must still target its own cell without silently copying the range or changing document row selection.
  • Support pointer and keyboard invocation (Context Menu key / Shift+F10), predictable dismissal, and focus restoration. Use native webview/context commands with opaque selection metadata; resolve logical cell addresses against the rendered page, including offscreen cells, rather than scraping rendered DOM or refetching.
  • Use the rectangular TSV contract from #grid [3/4] Select rectangular Table cell ranges and copy them as TSV #rdg #1158 as the baseline. If richer range formats are needed, specify and accept those separately from the single-cell formats. Do not imply that Tree supports rectangular selection or add inert Cut/Paste actions.
  • Cover one-cell and multi-cell ranges, populated and missing cells, inside/outside right-click, keyboard invocation, and query/page replacement while the menu is open. An invalidated range must leave the clipboard unchanged and never silently copy another cell, range, or the whole page.

Roadmap: F-4.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions