Closed Bug 1240539 Opened 10 years ago Closed 5 days ago

Populate WidgetEvent's timeStamp with data from NSEvent.timeStamp

Categories

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

defect

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: chutten, Assigned: jaas)

Details

(Whiteboard: tpi:+)

Attachments

(1 file)

To assist with measurement efforts like bug 1235908, we should populate generated WidgetEvents with the event creation timeStamp provided by the underlying system (in cocoa's case, NSEvent's timeStamp). See widget/gtk/nsWindow::GetEventTimeStamp and widget/windows/nsWindow::InitEvent for how this has been done for Linux, Windows.
Is there an active need for this or is this just, we'd like to have it at some point?
Flags: needinfo?(chutten)
Priority: -- → P3
Whiteboard: tpi:+
This is "We currently do not get data from Mac users for the measure INPUT_EVENT_RESPONSE_MS and cannot until this is fixed". So, I guess it depends on how much we value data from Mac users? From my POV, Mac users are such a small proportion of our user base, it doesn't need to be rushed. talos' tp5o_responsiveness covers platform-specific regressions in ui event handling decently well (for parent processes).
Flags: needinfo?(chutten)
Severity: normal → S3
Assignee: nobody → jaas

I doubt this request is relevant any more but I'll take it as an opportunity to audit that we're setting times correctly on all events.

Most events already have times set properly but there are a few gaps to fix up.

Pushed by spohl@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e5fe445e17c6 https://hg.mozilla.org/integration/autoland/rev/bbf757970181 Add timestamps to some Gecko events sent by Cocoa widgets that didn't already have timestamps set. r=mac-reviewers,bradwerth
Status: NEW → RESOLVED
Closed: 5 days ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: