Skip to content

No delete/rename menu actions from the editor toolbar if editor has no focus after app start #1847

Closed

Description

Describe the problem

If I start IDE2 and the focus is not set to one of the editors, then the delete/rename menu items are missing from the editor toolbar (...). To set focus on the editor, you have to click into the editor so that the cursor blinks in it.

To reproduce

  • Open IDE2,
  • Open the sketchbook view,
  • Set the focus to the sketchbook view,
  • Reload IDE2,
  • Do not click into the editor,
  • Click on the ... from the editor toolbar,
  • Rename/Delete are missing
editor_focus_delete+rename.mp4

Expected behavior

Rename/delete commands do not require the editor to have the focus. They should be available even if the editor does not have the focus.

Arduino IDE version

2.0.3

Operating system

macOS

Operating system version

12.5.1

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions