microsoft / microsoft/pxt-microbit

[Offline app] Paste function not working on Mac Platform

Open
#6,548 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

mac offline P2
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

Describe the bug
Unable to paste content into the JS/Python editor via the right-click menu option.

Steps to reproduce the behavior:
1.Download the Micro:bit offline app from: https://makecode.com/api/release/microbit/v8.0.12/macarm64
2.Create a new project and dragging some blocks into Editor.
3.Switch to JavaScript or Python Editor.
4.Select all code content and right click content menu option with "Cut".
5.Choose "Paste" and observe.

Actual behavior
Paste function not working on Mac Platform.

Expected behavior
Paste function should be working properly on Mac Platform.

Screen recording
https://github.com/user-attachments/assets/4e1a647f-5db8-41bd-9ce1-19150bb1b159

Additional context
1.OS: Mac Mini M2 macOS Sequoia 15.5
2.Makecode.microbit.org version: 8.0.12
3.Microsoft MakeCode version: 12.0.12

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the Mac offline app using the JavaScript and Python editors, following the listed steps with the right-click Cut and Paste actions. Trace the editor's context-menu paste handling and verify that pasted content works on macOS without regressing the existing editing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, macos, python, typescript
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.