Closed
Bug 194571
Opened 22 years ago
Closed 22 years ago
Need to implement nsIWidget::GetLastInputEventTime(PRUint32& aTime) on OS/2
Categories
(Core Graveyard :: GFX: OS/2, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kmcclusk, Assigned: mkaply)
Details
(Whiteboard: iwb2.0.1)
Attachments
(1 file)
2.02 KB,
patch
|
jhpedemonte
:
review+
|
Details | Diff | Splinter Review |
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()).
Assignee | ||
Comment 1•22 years ago
|
||
The patch for OS/2. We don't need to worry about window moving stuff.
Assignee | ||
Updated•22 years ago
|
Summary: Need to implement nsIWidget::GetLastInputEventTime(PRUint32& aTime) on OS/2 → Need to implement nsIWidget::GetLastInputEventTime(PRUint32& aTime) on OS/2
Whiteboard: iwb2.0.1
Assignee | ||
Updated•22 years ago
|
Attachment #116426 -
Flags: review?(pedemont)
Updated•22 years ago
|
Attachment #116426 -
Flags: review?(pedemont) → review+
Assignee | ||
Comment 2•22 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•