Skip to content

feat: Improve macOS support for gf2#228

Open
nageshnnazare wants to merge 1 commit into
nakst:masterfrom
nageshnnazare:feat/macos-retina-support
Open

feat: Improve macOS support for gf2#228
nageshnnazare wants to merge 1 commit into
nakst:masterfrom
nageshnnazare:feat/macos-retina-support

Conversation

@nageshnnazare

Copy link
Copy Markdown

This PR brings macOS support to gf, with comprehensive improvements for display handling and proper Cocoa framework integration.

Clipboard Integration: Implemented macOS system clipboard support for read/write operations
Modal Dialog Support: Fixed modal dialog implementation with proper event loop integration
Application Lifecycle: Proper window lifecycle management including:
Window bringing to foreground on startup
Automatic window termination on close
Proper Command+Q quit functionality
UI Scaling: Fixed window scaling to multiply with platform base scale

@nageshnnazare nageshnnazare changed the title feat: Improve window handling for macOS feat: Improve macOS support for gf2 Jun 22, 2026
@nageshnnazare

Copy link
Copy Markdown
Author

@nakst Do you mind reviewing this?

@nakst

nakst commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Hi thank you for preparing these changes. But how are you testing it? Does GDB have support for ARM Silicon Macs now?

@nageshnnazare

Copy link
Copy Markdown
Author

Yes, I guess GDB is still not supported on mac. When tried building and launching the gf2.app, it would crash on my system. With these fixes now I can see that the app is quite stable and running. (I could not debug a program with this change for the very reason)

image

@nakst

nakst commented Jun 26, 2026

Copy link
Copy Markdown
Owner

OK, I will leave this pull request open until GDB gains support for modern Macs. Otherwise it is difficult to test/support.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants