Need to implement nsIWidget::GetLastInputEventTime(PRUint32& aTime) on Mac

NEW
Unassigned

Status

Core Graveyard
GFX: Mac
16 years ago
8 years ago

People

(Reporter: Kevin McCluskey (gone), Unassigned)

Tracking

({perf})

Trunk
PowerPC
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [whitebox])

(Reporter)

Description

16 years ago
this was broken off from bug 165039

To improve interactivity during long page loads we need to implement
nsIWidget::GetLastInputEventTime.

Since it is currently not implemented, Mozilla gets the last user input event
time from the viewmanager. The viewmanager only reports times for mouse and
keyboard events which occur in windows associated with a viewmanager. Other
mouse and keyboard events such as clicking in a window title bar are not
reported so moving a window while loading a long page is sluggish. For embedded
applications, clicking on native menus and interacting with native dialog boxes
is also sluggish because these mouse and keyboard events times are not recorded
in the viewmanager.


NS_IMETHOD GetLastInputEventTime(PRUint32& aTime) = 0;

Description:

Get the last user input event time in milliseconds. If there are any pending
native toolkit input events it returns the current time. All input events are 
included (ie. it is *not* limited to events targeted at this nsIWidget instance.

@param aTime Last user input time in milliseconds. This value can be used to
compare durations but can not be used for determining wall clock time. The value
returned is platform dependent, but is compatible with the expression 
PR_IntervalToMicroseconds(PR_IntervalNow()).
(Reporter)

Comment 1

16 years ago
*** Bug 172500 has been marked as a duplicate of this bug. ***

Updated

16 years ago
Priority: -- → P2
Target Milestone: --- → mozilla1.3alpha

Updated

16 years ago
Whiteboard: [whitebox]
over to a real owner
Assignee: dcone → sfraser
Component: GFX → GFX: Mac
Keywords: perf
Priority: P2 → --
QA Contact: petersen → ian
Target Milestone: mozilla1.3alpha → ---

Updated

16 years ago
Status: NEW → ASSIGNED

Updated

10 years ago
Assignee: sfraser_bugs → joshmoz
(Assignee)

Updated

10 years ago
Product: Core → Core Graveyard

Updated

9 years ago
Assignee: joshmoz → nobody
This is a mass change. Every comment has "assigned-to-new" in it.

I didn't look through the bugs, so I'm sorry if I change a bug which shouldn't be changed. But I guess these bugs are just bugs that were once assigned and people forgot to change the Status back when unassigning.
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.