postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.82k stars 839 forks source link

Unable to type "ę" letter in collection name on MacOS due to shortcut collision #12555

Open zyxist opened 9 months ago

zyxist commented 9 months ago

Is there an existing issue for this?

Describe the Issue

Polish keyboard layout uses Alt+[letter] / Option+[letter] shortcuts to type national letters ąęśćżźńół. In Postman 10.21.7 on MacOS, I'm not able to type "ę" letter in the collection name, because there is some conflict with some Postman shortcut. The collection list looses focus, the focus appears in the environment select box, and the "ę" letter appears there, which is not valid.

Please do not overwrite national keyboard layouts, because it makes it hard to write anything and one might end up with unexpected results, triggering some possibly dangerous action.

Steps To Reproduce

  1. Make sure that Polish (programmers) keyboard layout is active on the system
  2. Create a collection in Postman
  3. Click on the three dots to toggle the context menu and select "Rename"
  4. Type "ę" letter: Option+e on the keyboard

Expected result: "ę" letter should appear in the collection name Actual result: focus is lost, "ę" letter appears in the environment selection box

Screenshots or Videos

https://github.com/postmanlabs/postman-app-support/assets/283244/32db8023-49c5-4add-831b-97945e726036

Operating System

macOS

Postman Version

10.21.7

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

jellevandevelde commented 9 months ago

Hi @zyxist,

Thanks for bringing this to our attention. The key combination option + e indeed maps to the "Environment selector" keyboard shortcut.

While we investigate better support for international keyboard layouts in relation to shortcuts, you can map this shortcut to any other value. This will allow you to type the "ę" letter using option + e in this case.

For more info on customizing keyboard shortcuts in Postman, feel free to check out the accompanying blog post or Learning Center documentation.

zyxist commented 9 months ago

Thank you for the link! I appreciate that the shortcuts are customizable given that nowadays not every application allows that. I'm looking forward for a permanent solution, and meanwhile I'll simply reconfigure my shortcuts :).