reports icon indicating copy to clipboard operation
reports copied to clipboard

FB9832411: Command+W in Swift Playgrounds closes the project instead of the active tab

Open insidegui opened this issue 4 years ago • 0 comments

  • Date: 2022-01-04
  • Resolution: Open
  • Area: Developer Tools / Swift Playgrounds
  • OS: iPadOS
  • Type: Incorrect/Unexpected Behavior

Description

Please describe the issue:

When multiple tabs are opened in Swift Playgrounds on iPad, invoking the Command+W keyboard shortcut causes the project to be closed, instead of closing just the active tab within the current project. This is not the behavior most users expect, since most apps use Command+W to close tabs instead of windows (example: Safari). Suggested change: Command+W should close the current file tab, Command+Shift+W should close the project.

Please list the steps you took to reproduce the issue:

(Requires a hardware keyboard to reproduce)

  • With an app project opened in Swift Playgrounds 4 on iPadOS, open multiple file tabs
  • With one of the tabs selected and the code editor active, press Command+W

What did you expect to happen?

The selected tab should be closed.

What actually happened?

The entire project is closed and Playgrounds goes back to the start screen.

insidegui avatar Jan 04 '22 16:01 insidegui