Skip to content

macOS Rework: Button Release - #32362

Draft
iccir wants to merge 22 commits into
matplotlib:mainfrom
iccir:macos-pr-buttonrelease
Draft

iccir wants to merge 22 commits into
matplotlib:mainfrom
iccir:macos-pr-buttonrelease

Conversation

@iccir

@iccir iccir commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

PR summary

Important

This PR depends on #32161 and will appear larger than it really is until #32161 is merged. To view the actual changes in this PR, compare macos-staging → macos-pr-buttonrelease.

This PR fixes the button number reported by button_release_event when Control is held down. It is based on the logic @mishanilkazreen used in #31937.

This PR also removes the behavior of Option+Click emulating a middle click. Said behavior is not standard to macOS nor any other backend. See my comment in #31899 for more information.

Closes #27592.

AI Disclosure

PR quality check

  • Use an expressive title, e.g. "Fix title font property precedence"
  • [N/A] New and changed code is tested (Tested manually)
  • [N/A] Plotting related features are demonstrated in an example
  • [N/A] New features and API changes have release notes
  • [N/A] Documentation complies with general and docstring guidelines

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENH]: Add dark mode for subplot configuration tool

2 participants