Skip to content

RichTextBlock / TextBlock: no built-in Copy or Select all context menu #24338

Open

Description

@MartinZikmund

What would you like to be added? 💡

Right-click or long-press on selectable text offers no menu, so there is no built-in way to copy. Apps have to author their own flyout.

WinUI provides this through RichTextBlockCommandHandler and the OnContextMenuOpening handler in RichTextBlock_Partial.cpp.

Why is this needed? 🤔

Copy is the baseline expectation for any selectable text. Today IsTextSelectionEnabled gives the user a selection they cannot act on without app code.

Renderer 🎨

  • Skia
  • Native

For which platforms 📱💻🖥️

All platforms 🌍

Anything else we need to know? 💬

The gap is shared with TextBlock, so a single default TextCommandBarFlyout would serve both controls.

Follow-up from the RichTextBlock deep-core port; recorded in specs/richtextblock-winui-port/port-validation-winui-2.4.0.md.

Activity

  1. added
    kind/enhancement
    triage/untriaged
    project/text 🔤
    on Sep 2, 2026
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

    area/skia/text ✏️kind/enhancementproject/text 🔤triage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions