Switch from NSAppearance and CUIDraw to AppKit

NEW
Unassigned

Status

()

Core
Widget: Cocoa
P5
normal
2 years ago
2 years ago

People

(Reporter: Benjamin Smedberg, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: tpi:+)

(Reporter)

Description

2 years ago
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.

Comment 1

2 years ago
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.

Comment 2

2 years ago
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 ...

Updated

2 years ago
Priority: -- → P5
Whiteboard: tpi:+
You need to log in before you can comment on or make changes to this bug.