Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS Sequoia] Context menu key shortcut causes undesired behaviour #1483

Open
Phillipus opened this issue Sep 22, 2024 · 3 comments
Open
Labels
macOS happens on macOS

Comments

@Phillipus
Copy link
Contributor

Phillipus commented Sep 22, 2024

macOS Sequoia introduced native OS-level support for accessing the context (right-click) menu using a key shortcut. The default is Ctrl+Enter (this can be customised or disabled in macOS Keyboard settings).

Unfortunately in (any version of) Eclipse this can cause undesired behaviour. For example:

  1. Select something in Package Explorer
  2. Press Ctrl+Enter to access the context menu
  3. The context menu will appear
  4. Press Escape to cancel the context menu
  5. The context menu for the part tab will now appear (the one with "Close", "Close Others" etc)
  6. The selection in the Package Explorer tree will now be something else (random selection) and/or the selected file will open in the editor

That's just one example. Pressing Ctrl-Enter in other Views or Editors will lead to similar and unwanted behaviour.

It may be that somewhere in SWT on Mac the key combination for the context menu needs to be trapped. The default Eclipse key binding of Shift+F10 invokes the context menu and this works OK in Eclipse.

I'm just reporting the issue, I have no idea how to fix this.

Environment:

    • All OS
    • Windows
    • Linux
    • macOS

macOS Sequoia 15.0

@Phillipus
Copy link
Contributor Author

@tmssngr As a matter of interest this is also causing erratic behaviour in SmartGit. I don't know if you want to take a look at this as well?

@jukzi jukzi added the Linux/GTK Happens on Linux label Sep 23, 2024
@Phillipus
Copy link
Contributor Author

@jukzi Wrong label. Should be macOS.

@elsazac elsazac added macOS happens on macOS and removed Linux/GTK Happens on Linux labels Sep 23, 2024
@dshowing
Copy link

This change is really annoying, but uncheck it here to restore the previous functionality
image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macOS happens on macOS
Projects
None yet
Development

No branches or pull requests

4 participants