Skip to content

Prepare for native window controls (macOS) #3728

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

Merged
merged 1 commit into from
Mar 2, 2025
Merged

Conversation

amolenaar
Copy link
Member

@amolenaar amolenaar commented Jan 19, 2025

PR Type

What kind of change does this PR introduce?

  • Bug fix
  • Feature
  • Chore (refactoring, formatting, local variables, other cleanup)
  • Documentation content changes

What is the current behavior?

On macOS, the window looks a bit off, since it does not contain the signature window controls.

What is the new behavior?

This is an implementation of native window controls, which will hopefully make it in GTK 4.18.

See https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/8071

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

This PR requires GTK 4.18, or the latest development version with MR.

image

@amolenaar amolenaar marked this pull request as draft January 19, 2025 09:23
@github-actions github-actions bot added the python Pull requests that update Python code label Jan 19, 2025
@amolenaar amolenaar changed the title Support native window controls Support native window controls (macOS) Jan 19, 2025
Base automatically changed from fix-header-bar to main January 22, 2025 18:35
@amolenaar amolenaar force-pushed the macos-native-controls branch from e83563d to 37b83ce Compare February 27, 2025 11:49
This will add a bit of consistency to the header bars, and will make
using native window decorators easier.

This is an implementation of native window controls, which will
hopefully make it in GTK 4.18.

See https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/8071
@amolenaar amolenaar force-pushed the macos-native-controls branch from 37b83ce to 664da92 Compare February 28, 2025 09:06
@amolenaar amolenaar marked this pull request as ready for review February 28, 2025 09:06
@amolenaar amolenaar requested a review from danyeaw February 28, 2025 09:06
@amolenaar amolenaar changed the title Support native window controls (macOS) Prepare for native window controls (macOS) Feb 28, 2025
@danyeaw danyeaw added feature A new feature and removed python Pull requests that update Python code labels Mar 2, 2025
Copy link
Member

@danyeaw danyeaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @amolenaar!

@danyeaw danyeaw merged commit dd8d1f8 into main Mar 2, 2025
24 checks passed
@danyeaw danyeaw deleted the macos-native-controls branch March 2, 2025 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants