Closed Bug 594662 Opened 14 years ago Closed 14 years ago

Idle time wont always get reseted when user is interacting with browser on Qt

Categories

(Core Graveyard :: Widget: Qt, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 590565

People

(Reporter: jon.hemming, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060309 Ubuntu/8.04 (hardy) Firefox/3.0.11
Build Identifier: 

In nsWindow only nsWindow::OnButtonPressEvent, nsWindow::OnButtonReleaseEvent, nsWindow::OnKeyPressEvent and nsWindow::OnKeyReleaseEvent are counted as user interaction. Scrolling and dragging should also be counted as interaction. This way moving your finger on the screen on mobile platforms is also covered.

Reproducible: Always

Actual Results:  
Idle observers are notified of idle even though user is interacting with the
browser.

Expected Results:  
Idle observers should not be notified of idle when user is interacting with the
browser.
Blocks: 583135
Status: UNCONFIRMED → NEW
Ever confirmed: true
This should be doable very easy, like its done here:

http://mxr.mozilla.org/mozilla-central/source/widget/src/qt/nsWindow.cpp#1169

You might want to add this to other events too. 

Like Scroll, Focus, ...
Blocks: 564118
Already fixed in bug 590565 which adds calling of UserActivity()
to function nsWindow::OnMotionNotifyEvent(QGraphicsSceneMouseEvent *aEvent)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.