Open Bug 1214236 Opened 9 years ago Updated 2 years ago

Switch from NSAppearance and CUIDraw to AppKit

Categories

(Core :: Widget: Cocoa, defect, P5)

defect

Tracking

()

People

(Reporter: benjamin, Unassigned)

Details

(Whiteboard: tpi:+)

The Apple CoreUI framework is considered an internal implementation detail. In particular, we make use of NSAppearance and the "CUIDraw" function, which may be a problem for future versions of MacOS. This bug tracks us switching to supported solutions based on the AppKit framework.
At first glance NSCell may be the way to go. But it needs an NSView as a target. If we can write an NSView subclass backed by a Gecko graphics context, we could have the NSCell drawing in it.
In the Appkit release notes for 10.10 (https://developer.apple.com/library/mac/releasenotes/AppKit/RN-AppKitOlderNotes/#X10_10Notes) Apple stated this:

Gradual deprecation of NSCell
Mac OS X 10.10 takes another step towards the eventual deprecation of cells ...
Priority: -- → P5
Whiteboard: tpi:+
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.