Closed Bug 1912949 Opened 2 years ago Closed 2 years ago

Cocoa BaseWindow creates and destroys tracking areas unnecessarily.

Categories

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

defect

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: bradwerth, Assigned: bradwerth)

References

Details

Attachments

(1 file, 1 obsolete file)

macOS offers an enum, NSTrackingInVisibleRect, which keeps the tracking area up-to-date with the visible area of the window, which means we don't have to implement updateTrackingArea and destroy and re-create the tracking area on each resize.

See Also: → 1880582

macOS offers an enum, NSTrackingInVisibleRect, which keeps the tracking
area up-to-date with the visible area of the window. This patch adds
this enum to our tracking area at window creation time, and removes the
code that was recreating the tracking area with every window resize.

Attachment #9418970 - Attachment is obsolete: true

macOS offers an enum, NSTrackingInVisibleRect, which keeps the tracking
area up-to-date with the visible area of the window. This patch adds
this enum to our tracking area at window creation time, and removes the
code that was recreating the tracking area with every window resize.

Severity: -- → S3
Priority: -- → P3
Pushed by bwerth@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5d126381d6cd Let macOS window manager calculate visible rect of the mouse tracking area. r=mac-reviewers,spohl
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: