| Ticket UUID: | 4e1e10dcfaa1bc4bd5cbb29dcba8052f2bd36bc6 | |||
| Title: | Aqua: CGRect/NSRect type mismatch on 32-bit | |||
| Type: | Bug | Version: | 8.6.16 | |
| Submitter: | chrstphrchvz | Created on: | 2025-08-02 22:05:18 | |
| Subsystem: | 83. Mac OS X Build | Assigned To: | chrstphrchvz | |
| Priority: | 5 Medium | Severity: | Minor | |
| Status: | Closed | Last Modified: | 2025-08-11 20:16:11 | |
| Resolution: | Fixed | Closed By: | jan.nijtmans | |
| Closed on: | 2025-08-11 20:16:11 | |||
| Description: |
MacPorts member Joshua Root authored a few fixes for the 32-bit Tk Aqua build which I believe should be upstreamed. See https://trac.macports.org/ticket/71444#comment:3, https://github.com/macports/macports-ports/blob/8dbefe0e5c/x11/tk/files/CGRect.patch The patches to tkMacOSXDraw.c and tkMacOSXRegion.c make sense to me, so I intend to push a branch with those changes. The patch to tkMacOSXNotify.c does not make sense to me, however, because it causes a CGRect to be passed to setNeedsDisplayInRect: instead of an NSRect, which does not look like what the API expects (even in NSView.h from older SDKs). | |||
| User Comments: |
jan.nijtmans added on 2025-08-11 20:16:11:
Fixed [57ee6f7f7c54bda5|here]. Thanks, Jushua, for the fix, and Christofer for the review! chrstphrchvz added on 2025-08-03 01:37:36: Thanks, I was mistaking [view layer] for view. The patch makes sense now. jmroot added on 2025-08-03 01:12:24: The setNeedsDisplayInRect message is being sent to a CALayer, and so does take a CGRect. https://developer.apple.com/documentation/quartzcore/calayer/setneedsdisplay(_:)?language=objc | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki